{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-9959","id":"CVE-2025-9959","title":"Sandbox escape in smolagents Local Python execution environment via dunder attributes","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.","descriptionLong":"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-03T16:53:46.304Z","updated":"2026-10-28T02:30:25.668357979Z","reserved":"2025-09-03T16:09:37.985Z","status":"Deferred","rejected":false,"assigner":"JFROG","metric":{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L","rating":"high","source":"JFROG"},"metrics":[{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L","rating":"high","source":"JFROG"},{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L","rating":"high","source":"jfrog.com"},{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L","rating":"high","source":"OSV"}],"rating":"high","products":["smolagents"],"affectedProducts":[{"vendor":"","product":"smolagents","defaultStatus":null,"versions":[{"lessThan":"1.21.0","status":"affected","version":"0","versionType":"python"}],"platforms":[]}],"packages":[],"cwes":["CWE-94"],"aliases":[],"references":[{"url":"https://research.jfrog.com/vulnerabilities/smolagents-local-python-sandbox-escape-jfsa-2025-001434277/","tags":["third-party-advisory","advisory"]},{"url":"https://github.com/huggingface/smolagents/pull/1551","tags":["patch","fix"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/9xxx/CVE-2025-9959.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-9959","tags":["advisory"]},{"url":"https://pypi.org/project/pip","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00312,"epssPercentile":0.24537,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-9959","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-9959","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-9959","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-9959","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}