Insecure configuration in DSPy lead to arbitrary file read when running untrusted code inside the sandbox
Priority HIGH 66CWE-653Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00338 27th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | dspy | all versions | — | No fix listed | CNA |
| — | dspy (PyPI) | up to 3.0.3 | — | No fix listed | GHSA-vvw2-h478-xwr3 |
- dspy Vendor— Affected all versions Fixed in — No fix listed CNA
- dspy (PyPI) Vendor— Affected up to 3.0.3 Fixed in — No fix listed GHSA-vvw2-h478-xwr3
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2025-12695
- 2026-10-03 Alias added: GHSA-vvw2-h478-xwr3
References
Advisory 2
Sources
- CVE-2025-12695 · CVE Program
- CVE-2025-12695 · NVD
- FIRST EPSS
- GHSA-vvw2-h478-xwr3 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences