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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
dspyPyPI | <= 3.0.3 | — |
Affected products
2Patches
Vulnerability mechanics
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.