RCE in Huggingface Smolagents
CVE-2026-4963
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.006, 49.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Huggingface Smolagents — versions 1.25.0, 1.25.0.dev0
Weakness classification (CWE)
References
- VDB-353840 | huggingface smolagents Incomplete Fix CVE-2025-9959 local_python_executor.py evaluate_with code injection (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-353840 | CTI Indicators (IOB, IOC, TTP, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #777623 | HuggingFace smolagents 1.25.0.dev0 CWE-693 (Exploit, Third Party Advisory, VDB Entry, third-party-advisory)
- Submit #777643 | HuggingFace smolagents 1.25.0.dev0 CWE-693 (Duplicate) (Exploit, Third Party Advisory, VDB Entry, third-party-advisory)
- Submit #777644 | HuggingFace smolagents 1.25.0.dev0 CWE-693 (Duplicate) (Exploit, Third Party Advisory, VDB Entry, third-party-advisory)
- gist.github.com/YLChen-007/7146f45960f79bc1e2976fed526e0a9b (related, Exploit, Third Party Advisory)
- gist.github.com/YLChen-007/35b7d46e892266a0ed6dbe57802858be (Exploit, Third Party Advisory, exploit)