SSRF in Huggingface Smolagents
CVE-2026-2654
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.
Vulnerability class: SSRF (Server-Side Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.004, 37.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Huggingface Smolagents — versions 1.24.0
Weakness classification (CWE)
References
- VDB-346451 | huggingface smolagents LocalPythonExecutor requests.post server-side request forgery (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-346451 | CTI Indicators (IOB, IOC, IOA) (signature, permissions-required, Third Party Advisory, VDB Entry)
- Submit #752774 | Hugging Face smolagents 1.24.0 Server-Side Request Forgery (Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/CH0ico/CVE_choco_smolagent/tree/main (related, Third Party Advisory)
- github.com/CH0ico/CVE_choco_smolagent/blob/main/report.md (Exploit, Third Party Advisory, exploit)