CVE-2025-12695CWE-653

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

Medium · published November 4, 2025

CVSS v3.1
5.9
EPSS
0%
Percentile
26.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.9 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00338 · 26.0th percentile
Weakness
CWE-653 · Improper Isolation or Compartmentalization
Published
2025-11-04T13:24Z
EPSS history
Timeline
  • 04 NOV 13:24Z
    Insecure configuration in DSPy lead to arbitrary file read when running untrusted code inside the sandbox
    cvelistv5