CVE-2026-2654: 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.
Published Feb 18, 2026 · Updated May 7, 2026
Affected packages
smolagents
- Ecosystem
- PyPI
- Affected
- <= 1.24.0
- Fixed in
- No patched version yet
- Check
pip show smolagents
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
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://vuldb.com/?ctiid.346451
- https://vuldb.com/?id.346451
- https://vuldb.com/?submit.752774
- https://github.com/advisories/GHSA-jxgv-6j54-wwc7
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More smolagents vulnerabilities
All smolagents entriesCVE-2026-4963
Hugging Face Smolagents has an Injection issue
low6.3No fixMar 27, 2026CVE-2025-14931
Hugging Face smolagents: Unsafe deserialization in Remote Python Executor leads to RCE
critical10.0No fixDec 23, 2025CVE-2025-11844
Hugging Face Smolagents XPath injection vulnerability in the search_item_ctrl_f function
medium5.4Oct 22, 2025CVE-2025-5120
smolagents has Sandbox Escape Vulnerability in the local_python_executor.py Module
critical9.9Jul 27, 2025
