5.3medium
huggingface smolagents LocalPythonExecutor requests.post server-side request forgery
- Severity
- 5.3medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.42% (higher than 38% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
- Also known as
- GHSA-jxgv-6j54-wwc7PYSEC-2026-3067
Description
A weakness has been identified in huggingface smolagents 1.24.0. Impacted is the function requests.get/requests.post of the component LocalPythonExecutor. Executing a manipulation can lead to server-side request forgery. It is possible to launch the attack remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| huggingface smolagents | 1.24.0, from 1.0.0 up to 1.24.0 | CVE List, NVD |
| smolagents (PyPI) | up to 1.24.0 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| VulDB | 5.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P |
| VulDB | 6.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R |
| VulDB | 6.3medium CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R |
| VulDB | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR |
| GitHub | 6.3low CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| GitHub | low CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| PyPA Advisory Database | 6.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| PyPA Advisory Database | Not scored CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
A weakness has been identified in huggingface smolagents 1.24.0. Impacted is the function requests.get/requests.post of the component LocalPythonExecutor. Executing a manipulation can lead to server-side request forgery. It is possible to launch the attack remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
NVD (es)
Se ha identificado una debilidad en huggingface smolagents 1.24.0. Afecta a la función requests.get/requests.post del componente LocalPythonExecutor. La ejecución de una manipulación puede conducir a una falsificación de petición del lado del servidor. Es posible lanzar el ataque remotamente. El exploit se ha puesto a disposición del público y podría ser utilizado para ataques. Se contactó al proveedor con antelación sobre esta divulgación, pero no respondió de ninguna manera.
References
| https://vuldb.com/?id.346451 | technical-description, third-party-advisory, vdb-entry, web | |
| https://vuldb.com/?ctiid.346451 | permissions-required, signature, third-party-advisory, vdb-entry, web | |
| https://vuldb.com/?submit.752774 | third-party-advisory, vdb-entry, web | |
| https://github.com/CH0ico/CVE_choco_smolagent/tree/main | related, third-party-advisory, web | |
| https://github.com/CH0ico/CVE_choco_smolagent/blob/main/report.md#proof-of-concept-execution | exploit, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-2654 | advisory | |
| https://github.com/huggingface/smolagents | package | |
| https://pypi.org/project/smolagents | package | |
| https://github.com/advisories/GHSA-jxgv-6j54-wwc7 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-2654 changed 2026-02-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-jxgv-6j54-wwc7 changed 2026-07-13 | CC-BY-4.0 |
| NVD | CVE-2026-2654 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-3067 changed 2026-07-13 | CC-BY-4.0 |