huggingface smolagents Incomplete Fix CVE-2025-9959 local_python_executor.py evaluate_with code injection
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.
Summary
A weakness has been identified in huggingface smolagents 1.25.0.dev0. This affects the function evaluate_augassign/evaluate_call/evaluate_with of the file src/smolagents/local_python_executor.py of the component Incomplete Fix CVE-2025-9959. This manipulation causes code injection. It is possible to initiate 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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| huggingface | smolagents | 1.25.0.dev0 | — | No fix listed | CNA |
| — | smolagents (PyPI) | up to 1.25.0.dev0 | — | No fix listed | GHSA-54fq-v6x8-244g |
- smolagents Vendorhuggingface Affected 1.25.0.dev0 Fixed in — No fix listed CNA
- smolagents (PyPI) Vendor— Affected up to 1.25.0.dev0 Fixed in — No fix listed GHSA-54fq-v6x8-244g
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:huggingface:smolagents:1.25.0:dev0:*:*:*:*:*:* | 1.25.0 dev0 | Vulnerable | huggingface |
- cpe:2.3:a:huggingface:smolagents:1.25.0:dev0:*:*:*:*:*:* Versions 1.25.0 dev0 Vulnerable ·huggingface
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-4963
- 2026-10-03 Alias added: GHSA-54fq-v6x8-244g
- 2026-10-25 EPSS moved to the below the 50th percentile
References
More huggingface Smolagents vulnerabilities
- TI-2025-04589 Sandbox Escape Vulnerability in huggingface/smolagents CVSS 3.1CRITICAL 10.0
- TI-2025-10859 XPath Injection in Hugging Face Smolagents search_item_ctrl_f Function CVSS 3.0MEDIUM 5.4
- TI-2026-02266 huggingface smolagents LocalPythonExecutor requests.post server-side request forgery CVSS 4.0MEDIUM 5.3
Sources
- CVE-2026-4963 · CVE Program
- CVE-2026-4963 · NVD
- FIRST EPSS
- GHSA-54fq-v6x8-244g · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences