Free AI Safety Workshop — in collaboration with explainx.aiSave your seat
AgentbeamBeta
AI agent vulnerability · smolagents

CVE-2026-4963: Hugging Face Smolagents has an Injection issue

lowCVSS 4.0 2.1 · 3.1 6.3GHSA-54fq-v6x8-244g

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

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 entries