CVE-2025-9959
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.
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.
EPSS exploit prediction
EPSS: 0.003 (21.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 22nd percentile — 21.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Weakness classification (CWE)
References
- research.jfrog.com/vulnerabilities/smolagents-local-python-sandbox-escape-jfsa-… (third-party-advisory)
- github.com/huggingface/smolagents/pull/1551 (patch)
Frequently asked questions
- What is CVE-2025-9959?
- CVE-2025-9959 is a high-severity vulnerability, classified under Code Injection. CVSS score: 7.6/10. Published 2025-09-03.
- How severe is CVE-2025-9959?
- High severity. CVSS v3 base score is 7.6 out of 10.