CVE-2026-4963: Hugging Face Smolagents has an Injection issue
(updated )
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
- gist.github.com/YLChen-007/35b7d46e892266a0ed6dbe57802858be
- gist.github.com/YLChen-007/7146f45960f79bc1e2976fed526e0a9b
- github.com/advisories/GHSA-54fq-v6x8-244g
- github.com/huggingface/smolagents
- nvd.nist.gov/vuln/detail/CVE-2026-4963
- vuldb.com/?ctiid.353840
- vuldb.com/?id.353840
- vuldb.com/?submit.777623
- vuldb.com/?submit.777643
- vuldb.com/?submit.777644
Code Behaviors & Features
Detect and mitigate CVE-2026-4963 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →