MediumVulnerability
CVE-2026-4963: huggingface smolagents code injection in local Python executor evaluation
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-4963
- Published
- Record updated
- Affected
- smolagents <= 1.25.0.dev0
- Fixed in
- No fixed version was stated when the source was last read.
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.6%
Summary
A weakness in huggingface smolagents 1.25.0.dev0, in the functions evaluate_augassign, evaluate_call and evaluate_with in src/smolagents/local_python_executor.py, allows code injection. It is an incomplete fix for CVE-2025-9959 and can be triggered remotely. A public exploit exists, and the vendor did not respond to early disclosure.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- smolagentsPyPILLM dependency since 2024-12-27 · 7 tracked dependents
Related items
- MediumCVE-2026-124588: huggingface finetrainers code injection via Library argumentSame vendor · NVD/CVE Database
- HighCVE-2026-119120: Crawl4AI Docker API lets clients choose the HuggingFace model it loadsSame vendor · NVD/CVE Database
- HighGHSA-wf6j-7hvr-gr93: Hydra legacy target blacklist permits unsafe PyYAML loadingSame vendor · Hugging Face Security Advisories
- MediumCVE-2026-100653: vLLM unpinned Hugging Face artifact loads for FunAudioChat and Tarsier2Same vendor · NVD/CVE Database
- HighGHSA-3hmm-rh5q-gwwr: LMDeploy vulnerable to arbitrary code execution via eval() of untrusted quant_dtype in model config loadingSame vendor · Hugging Face Security Advisories