CVE-2025-12695: DSPy - Information Disclosure
- Cve: CVE-2025-12695
- Name: DSPy - Information Disclosure
- 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.
- Impact: Attackers can steal sensitive files, leading to information disclosure and potential data breaches.
- Remediation: Update to the latest version with corrected sandbox configuration.
- Vulnerability type: misconfiguration
- Vulnerability impact: information_disclosure, file_system_read
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.9
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.00338
- Epss percentile: 0.27503
- Assignee: [email protected]
- Published at: 2025-11-04T14:15:34Z
- Age in days: 385
- Modified at: 2026-11-05T14:10:00Z
- References total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-12695
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-653 | Improper Isolation or Compartmentalization |
References
| Url | Source | Tags |
|---|---|---|
| https://research.jfrog.com/vulnerabilities/dspy-sandbox-escape-arbitrary-file-read-jfsa-2025-001495652/ | nvd |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| stanfordnlp/dspy | package | yes | /v1/repositories/stanfordnlp/dspy |
Index
- Repositories: 32
- Repositories high signal: 22
- Packages: 1
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts