CVE-2025-12695
Medium 5.9 No auth needed
Follow: this CVE We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 3.1
- 5.9
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 30
- Auth required
- No
- Published
- Nov 4, 2025
- Updated
- Nov 5, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-653
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Check whether you run any of the affected products and follow the vendor advisory.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | dspy |
≤ 3.0.3 |
no fixed version | — |
| PyPI | dspy |
≤ 3.0.3 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-vvw2-h478-xwr3, PYSEC-2026-1318). Check the version in your lockfile before upgrading.
Official sources
References
Links published by the sources. Open them with care.