MEDIUM6.3
PYSEC-2026-3067
Hugging Face Smolagents has a Server-Side Request Forgery issue
Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/smolagents
Introduced in:
0No fixed version published yet for smolagents (pip). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-2654[ADVISORY]
- https://github.com/CH0ico/CVE_choco_smolagent/blob/main/report.md#proof-of-concept-execution[WEB]
- https://github.com/CH0ico/CVE_choco_smolagent/tree/main[WEB]
- https://github.com/huggingface/smolagents[PACKAGE]
- https://vuldb.com/?ctiid.346451[WEB]
- https://vuldb.com/?id.346451[WEB]
- https://vuldb.com/?submit.752774[WEB]
- https://pypi.org/project/smolagents[PACKAGE]
- https://github.com/advisories/GHSA-jxgv-6j54-wwc7[ADVISORY]