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...
Date: 2025-11
Attack vector: other
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2025-12695
CWE: CWE-653
CVSS: 5.9 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N)

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.


Mitigations:

Architectural layers (MAESTRO):