CVE-2025-12695 — Insecure configuration in DSPy lead to arbitrary file read when running untrusted code inside the sandbox
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 “Pytho…
Published: 2025-11-04 · CVSS: 5.9 · CVSS 3.1
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.
Source: CVE Program · Revision 8b16575c39f1e1810c5e863010da073d2d3285e7