CVE-2025-9959
CVE-2025-9959
- CVSS v3
- 7.6 High
- Public exploits
- None known
- EPSS
- 0.003 · 24.5th percentile
- Published
- 2025-09-03
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.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.6 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Unchanged
S:U - Confidentiality
- Low
C:L - Integrity
- High
I:H - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.003, 24.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Weakness classification (CWE)
References
- research.jfrog.com/vulnerabilities/smolagents-local-python-sandbox-escape-jfsa-… (third-party-advisory)
- github.com/huggingface/smolagents/pull/1551 (patch)