6.3 MEDIUM
- CVSS version: 3.1
- Attack vector (AV):
- Attack complexity (AC):
- Privileges required (PR):
- User interaction (UI):
- Scope (S):
- Confidentiality impact (C):
- Integrity impact (I):
- Availability impact (A):
huggingface smolagents Incomplete Fix CVE-2025-9959 local_python_executor.py evaluate_with code injection
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
- Submit #777643 | HuggingFace smolagents 1.25.0.dev0 CWE-693 (Duplicate) third-party-advisory
- Submit #777644 | HuggingFace smolagents 1.25.0.dev0 CWE-693 (Duplicate) third-party-advisory
- https://gist.github.com/YLChen-007/7146f45960f79bc1e2976fed526e0a9b related
- https://gist.github.com/YLChen-007/35b7d46e892266a0ed6dbe57802858be exploit
- VDB-353840 | huggingface smolagents Incomplete Fix CVE-2025-9959 local_python_executor.py evaluate_with code injection vdb-entry technical-description
- VDB-353840 | CTI Indicators (IOB, IOC, TTP, IOA) signature permissions-required
- Submit #777623 | HuggingFace smolagents 1.25.0.dev0 CWE-693 third-party-advisory
Affected products
- ==1.25.0.dev0
Matching in nixpkgs
pkgs.python312Packages.smolagents
Barebones library for agents
pkgs.python313Packages.smolagents
Barebones library for agents
pkgs.python314Packages.smolagents
Barebones library for agents
Package maintainers
-
@fabaff Fabian Affolter <mail@fabian-affolter.ch>