CVE-2026-4963
huggingface smolagents Incomplete Fix CVE-2025-9959 local_python_executor.py evaluate_with code injection
- State
- Published
- Severity
- 5.3 Medium
- Published
- Mar 27, 2026
- Updated
- Mar 31, 2026
- Reserved
- Mar 27, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P | VulDB |
| 3.1 | 6.3 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R | VulDB |
| 3.0 | 6.3 Medium | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R | VulDB |
| 2.0 | 7.5 High | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
smolagentshuggingface |
|
References
- VDB-353840 | huggingface smolagents Incomplete Fix CVE-2025-9959 local_python_executor.py evaluate_with code injectionvdb-entrytechnical-description
- VDB-353840 | CTI Indicators (IOB, IOC, TTP, IOA)signaturepermissions-required
- Submit #777623 | HuggingFace smolagents 1.25.0.dev0 CWE-693third-party-advisory
- Submit #777643 | HuggingFace smolagents 1.25.0.dev0 CWE-693 (Duplicate)third-party-advisory
- Submit #777644 | HuggingFace smolagents 1.25.0.dev0 CWE-693 (Duplicate)third-party-advisory
- https://gist.github.com/YLChen-007/7146f45960f79bc1e2976fed526e0a9brelated
- https://gist.github.com/YLChen-007/35b7d46e892266a0ed6dbe57802858beexploit
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.