← back
CVE-2025-12695

Insecure configuration in DSPy lead to arbitrary file read when running untrusted code inside the sandbox

CVSS 5.9 MEDIUMEPSS 0.3%CWE-653
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.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected products
dspy

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →