GHSA-vvw2-h478-xwr3MediumCVSS 5.9

DSPy does not properly restrict file reads

Published
November 4, 2025
Last Modified
November 4, 2025

🔗 CVE IDs covered (1)

📋 Description

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.

🎯 Affected products1

  • pip/dspy:<= 3.0.3

🔗 References (3)