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.
{
"cwe_ids": [
"CWE-653"
],
"github_reviewed": true,
"nvd_published_at": "2025-11-04T14:15:34Z",
"severity": "MODERATE",
"github_reviewed_at": "2025-11-04T17:05:45Z"
}