PYSEC-2026-3066

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/smolagents/PYSEC-2026-3066.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2026-3066
Aliases
Published
2026-07-13T14:36:45Z
Modified
2026-07-13T16:32:49Z
Severity
  • 6.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L CVSS Calculator
  • 2.1 (Low) CVSS_V4 - 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 CVSS Calculator
Summary
Hugging Face Smolagents has an Injection issue
Details

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

Affected packages

PyPI / smolagents

Package

Name
smolagents
View open source insights on deps.dev
Purl
pkg:pypi/smolagents

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
1.25.0.dev0

Affected versions

0.*
0.1.0
0.1.2
0.1.3
1.*
1.0.0
1.1.0
1.2.0
1.2.1
1.2.2
1.3.0
1.4.0
1.4.1
1.5.0
1.5.1
1.6.0
1.7.0
1.8.0
1.8.1
1.9.0
1.9.1
1.9.2
1.10.0
1.11.0
1.12.0
1.13.0
1.14.0
1.15.0
1.16.0
1.16.1
1.17.0
1.18.0
1.19.0
1.20.0
1.21.0
1.21.1
1.21.2
1.21.3
1.22.0
1.23.0
1.24.0

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/smolagents/PYSEC-2026-3066.yaml"