CVE-2025-9959
Incomplete validation of dunder attributes allows an attacker to escape from the Local Python execution environment sandbox, enforced by smolagents. The attack requires a Prompt Injection in order to trick the agent to create malicious code.
Published:Sep 3, 2025
Last Modified:Apr 15, 2026
EPS:Sep 3, 2025
EPSS Score:0.00053
CVSS Score:7.6
Affected Products
Vendor
Product
Action
Vendor
Huggingface
Product
Smolagents
Huggingface
Smolagents
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
