CVE-2026-4963: Hugging Face Smolagents has an Injection issue
A weakness has been identified in huggingface smolagents 1.25.0.dev0. This affects the function evaluateaugassign/evaluatecall/evaluatewith of the file src/smolagents/localpythonexecutor.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.
Published Mar 27, 2026 · Updated May 6, 2026
Affected packages
smolagents
- Ecosystem
- PyPI
- Affected
- <= 1.25.0.dev0
- Fixed in
- No patched version yet
- Check
pip show smolagents
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-4963
- https://gist.github.com/YLChen-007/35b7d46e892266a0ed6dbe57802858be
- https://gist.github.com/YLChen-007/7146f45960f79bc1e2976fed526e0a9b
- https://vuldb.com/?ctiid.353840
- https://vuldb.com/?id.353840
- https://vuldb.com/?submit.777623
- https://vuldb.com/?submit.777643
- https://vuldb.com/?submit.777644
- https://github.com/advisories/GHSA-54fq-v6x8-244g
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More smolagents vulnerabilities
All smolagents entriesCVE-2026-2654
Hugging Face Smolagents has a Server-Side Request Forgery issue
low6.3No fixFeb 18, 2026CVE-2025-14931
Hugging Face smolagents: Unsafe deserialization in Remote Python Executor leads to RCE
critical10.0No fixDec 23, 2025CVE-2025-11844
Hugging Face Smolagents XPath injection vulnerability in the search_item_ctrl_f function
medium5.4Oct 22, 2025CVE-2025-5120
smolagents has Sandbox Escape Vulnerability in the local_python_executor.py Module
critical9.9Jul 27, 2025
