{"id":"CVE-2025-12695","published":"2025-11-04T13:24:42Z","modified":"2025-11-04T14:19:33Z","title":"Insecure configuration in DSPy lead to arbitrary file read when running untrusted code inside the sandbox","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00441,"percentile":0.30184,"provenance":"source"},"cwes":[{"id":"CWE-653","name":"Improper Isolation or Compartmentalization"}],"references":[{"url":"https://research.jfrog.com/vulnerabilities/dspy-sandbox-escape-arbitrary-file-read-jfsa-2025-001495652/","tags":["third-party-advisory"]}],"priority":{"score":10.2,"factors":[{"name":"EPSS percentile","points":6.04},{"name":"CVSS severity","points":4.13}]},"affectedVersions":[{"vendor":null,"product":null,"versions":["0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-11-04T14:19:21.124251Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"dspy","vulnerableRanges":["<=3.0.3"],"patched":[],"from":["GHSA-vvw2-h478-xwr3","PYSEC-2026-1318"],"provenance":"source"}],"euvd":{"id":"EUVD-2025-37741","exploited":false,"provenance":"source"}}