huggingface/smolagents · Security
Hugging Face Smolagents has an Injection issue
- GHSA ID
- GHSA-54fq-v6x8-244g
- CVE ID
- CVE-2026-4963
- Severity
- low
- Published
- Updated
- CVSS
- 6.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
- CVSS v3
- 6.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
- CVSS v4
- 2.1 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Description
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.
CWEs
- CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
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 ↗