CVE-2025-9959
HIGHsmolagents - Local Python Sandbox Escape via Dunder Attribute Validation Bypass
Title source: llmDescription
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.
References (2)
Core 2
Core References
Various Sources third-party-advisory
https://research.jfrog.com/vulnerabilities/smolagents-local-python-sandbox-escape-jfsa-2025-001434277/
Issue Tracking patch
https://github.com/huggingface/smolagents/pull/1551
Scores
CVSS v3
7.6
EPSS
0.0029
EPSS Percentile
20.6%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-94
Status
published
Published
Sep 03, 2025
Tracked Since
Feb 18, 2026