{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-12695","id":"CVE-2025-12695","title":"Insecure configuration in DSPy lead to arbitrary file read when running untrusted code inside the sandbox","description":"The overly permissive sandbox configuration in DSPy allows attackers to steal sensitive files in cases when users build an AI agent which consumes user input and uses the “PythonInterpreter” class.","descriptionLong":"The overly permissive sandbox configuration in DSPy allows attackers to steal sensitive files in cases when users build an AI agent which consumes user input and uses the “PythonInterpreter” class.","published":"2025-11-04T13:24:42.358Z","updated":"2026-11-05T14:10:00.273Z","reserved":"2025-11-04T13:05:46.639Z","status":"Deferred","rejected":false,"assigner":"JFROG","metric":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"JFROG"},"metrics":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"JFROG"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"jfrog.com"}],"rating":"medium","products":["dspy"],"affectedProducts":[{"vendor":"","product":"dspy","defaultStatus":null,"versions":[{"status":"affected","version":"0","versionType":"python"}],"platforms":[]}],"packages":[],"cwes":["CWE-653"],"aliases":[],"references":[{"url":"https://research.jfrog.com/vulnerabilities/dspy-sandbox-escape-arbitrary-file-read-jfsa-2025-001495652/","tags":["third-party-advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.00338,"epssPercentile":0.27928,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-12695","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12695","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-12695","ok":false,"note":"no open-source package data"},{"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-12695","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}