Hugging Face Smolagents has an Injection issue
CVE-2026-4963 · GHSA-54fq-v6x8-244g · published 2026-03-27 · updated 2026-05-06
- Severity
- Low
- CVSS score
- 6.3
- Chance of exploitation (EPSS)
- 0.60%
- Fixed in
- No fix yet
- Exploitation Public proof of concept
- Automatable No
- Technical impact Partial
- CISA SSVC
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.
No fixed release is listed yet for smolagents. Limit what it can reach, or stop using it until a fix ships, and follow the source advisory for updates.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| smolagents | PyPI | <= 1.25.0.dev0 | No fix yet |
- CriticalUnauthenticated Remote Code Execution in Langflow via Public Flow Build EndpointlangflowExploited
- CriticalRay is vulnerable to Critical RCE via Safari & Firefox Browsers through DNS Rebinding AttackrayExploited
- CriticalLangflow Unauth RCElangflow, langflow-baseExploited
- HighLiteLLM: Authenticated command execution via MCP stdio test endpointslitellmExploited
- CriticalMLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifacmlflow
- CriticalAgno: Arbitrary code execution via `eval()` on `field_type` in `FunctionCall`agno
- CriticalHugging Face smolagents: Unsafe deserialization in Remote Python Executor leads to RCEsmolagents
- Criticalsmolagents has Sandbox Escape Vulnerability in the local_python_executor.py Modulesmolagents
- MediumHugging Face Smolagents XPath injection vulnerability in the search_item_ctrl_f functionsmolagents
- LowHugging Face Smolagents has a Server-Side Request Forgery issuesmolagents
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.