Excessive Permissions in DSPy Sandbox Impacting User Data Exposure
CVE-2025-12695

5.9MEDIUM

Key Information:

Status
Vendor
CVE Published:
4 November 2025

What is CVE-2025-12695?

A security flaw in the DSPy framework arises from a problematic sandbox configuration that permits excessive permissions. This vulnerability enables attackers to access and potentially exfiltrate sensitive files when users create AI agents that interact with user inputs utilizing the 'PythonInterpreter' class. The issue emphasizes the need for stringent sandboxing measures to protect user data from unauthorized access.

References

CVSS V3.1

Score:
5.9
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-12695 : Excessive Permissions in DSPy Sandbox Impacting User Data Exposure