What’s Vulnerable › Vulnerabilities
CVE-2026-2654: huggingface smolagents LocalPythonExecutor requests.post server-side request forgery
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-02-18 · updated 2026-06-17
- Weakness: CWE-918
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 products
- huggingface smolagents: from 1.0.0 through 1.24.0
References
- 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
Get alerted when CVE-2026-2654 or the next vulnerability affects your stack