{"id":"CVE-2025-9959","url":"https://www.cyber-defence.io/tools/cve/CVE-2025-9959","generatedAt":"2026-10-28T03:24:05.973Z","title":"Incomplete validation of dunder attributes allows an attacker to escape from the Local Python execution environment sandbox, enforced by smolagents.","description":"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":"2025-09-03T17:15:36.000Z","lastModified":"2026-09-26T00:10:00.000Z","status":"Deferred","sourceIdentifier":"reefs@jfrog.com","cvss":{"version":"3.1","score":7.6,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L"},"cwe":["CWE-94"],"affected":[],"epss":{"score":0.00312,"percentile":0.23833,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.31%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://github.com/huggingface/smolagents/pull/1551","source":"reefs@jfrog.com"},{"url":"https://research.jfrog.com/vulnerabilities/smolagents-local-python-sandbox-escape-jfsa-2025-001434277/","source":"reefs@jfrog.com"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-9959","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}