{"cve":"CVE-2025-12695","nvd":{"published":"2025-11-04T14:15:34.087","modified":"2026-06-17T08:32:48.930","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9},"cwes":["CWE-653"],"references":["https://research.jfrog.com/vulnerabilities/dspy-sandbox-escape-arbitrary-file-read-jfsa-2025-001495652/"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:14:53.307938015+00:00"},"epss":{"cve":"CVE-2025-12695","score":0.00338,"percentile":0.2726,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-vvw2-h478-xwr3","url":"https://osv.dev/vulnerability/GHSA-vvw2-h478-xwr3","summary":"DSPy does not properly restrict file reads","modified":"2026-07-07T17:57:24.503135806Z","packages":[{"ecosystem":"PyPI","name":"dspy","purl":"pkg:pypi/dspy","ranges":["<=3.0.3"],"fixed":[]}]},{"id":"PYSEC-2026-1318","url":"https://osv.dev/vulnerability/PYSEC-2026-1318","summary":"DSPy does not properly restrict file reads","modified":"2026-07-07T17:46:39.452854250Z","packages":[{"ecosystem":"PyPI","name":"dspy","purl":"pkg:pypi/dspy","ranges":["<=3.0.3"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}