Medium severity5.9GHSA Advisory· Published Nov 4, 2025· Updated Apr 15, 2026
CVE-2025-12695
CVE-2025-12695
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
dspyPyPI | <= 3.0.3 | — |
Affected products
1- Range: <= 3.0.3
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4- github.com/advisories/GHSA-vvw2-h478-xwr3ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-12695ghsaADVISORY
- research.jfrog.com/vulnerabilities/dspy-sandbox-escape-arbitrary-file-read-jfsa-2025-001495652ghsaWEB
- research.jfrog.com/vulnerabilities/dspy-sandbox-escape-arbitrary-file-read-jfsa-2025-001495652/nvd
News mentions
0No linked articles in our index yet.