Hugging Face Smolagents has a Server-Side Request Forgery issue
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | smolagents | <= 1.24.0 | no fix |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-2654
- https://github.com/CH0ico/CVE_choco_smolagent/blob/main/report.md#proof-of-concept-execution
- https://github.com/CH0ico/CVE_choco_smolagent/tree/main
- https://github.com/huggingface/smolagents
- https://vuldb.com/?ctiid.346451
- https://vuldb.com/?id.346451
- https://vuldb.com/?submit.752774
- https://pypi.org/project/smolagents
- https://github.com/advisories/GHSA-jxgv-6j54-wwc7
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L- Weakness (CWE)
CWE-918- Platform
- Python (PyPI)
- Package
smolagents- Disclosed
- 18.02.2026
- Updated
- 11.10.2026 14:17
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-3067 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-jxgv-6j54-wwc7 - CC BY 4.0
Vulnerability history: smolagents
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 5
- First → latest
- 07.2025 03.2026
- Without a fix
- 3
- Exploited in attacks
- 0
Severity breakdown
- Critical 2
- Medium 1
- Low 2
Disclosures per year
- 2025: 3
- 2026: 2
-
Hugging Face Smolagents has a Server-Side Request Forgery issue this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.