GitHub Advisoryadvisory · PyPI
GHSA-jxgv-6j54-wwc7 Hugging Face Smolagents has a Server-Side Request Forgery issue
LOW
Official page ↗
- Aliases
- CVE-2026-2654
- Ecosystem
- PyPI
- Packages
- smolagents
- Severity
- Low
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- Weaknesses
- CWE-918
- Reviewed
- 2026-05-07
Affected packages
• PyPI smolagents: <= 1.24.0 (no fix yet)
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.
Related
Alias · CVE (1)
- CVE-2026-2654 A weakness has been identified in huggingface smolagents 1.24.0. vulnerability
Weakness · CWE (1)
- CWE-918 Server-Side Request Forgery weakness
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