Vulnerability
CVE-2025-12695
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.
2 advisories report this vulnerability, across 1 ecosystem.
Advisories
-
GHSA-vvw2-h478-xwr3
DSPy does not properly restrict file reads
-
PYSEC-2026-1318
DSPy does not properly restrict file reads