CVE-2025-12695
published medium CVSS 3.1 · 5.9Insecure configuration in DSPy lead to arbitrary file read when running untrusted code inside the sandbox
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | dspy0 | Affected | Not stated | JFROG |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- JFROG · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| dspy | 0 (affected · python) | JFROG · cna |
Weaknesses
1- CWE-653 CWE-653 Improper Isolation or Compartmentalization
References
1Provider assertions
2JFROG · cna
Insecure configuration in DSPy lead to arbitrary file read when running untrusted code inside the sandbox
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8349cd43fb5734ad9f8728274455780cf0dcc8abb255f39053e416c6ddac6799
- Ingested
- 23 Sep 2026, 08:36:53 UTC
- Source record
- Official CVE record