CVE-2025-12695Published Nov 4, 2025 · Nov 4Updated Nov 5
Insecure configuration in DSPy lead to arbitrary file read when running untrusted code inside the sandbox
dspy
Medium5.9
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| dspy |
| No fix yet |
Original 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.
From the CVE record · JFROG