Wiz Agents & Workflows are here

CVE-2025-12695
Python vulnerability analysis and mitigation

Overview

The vulnerability (CVE-2025-12695) affects DSPy, specifically related to its sandbox configuration. Discovered and disclosed on November 4, 2025, this security flaw impacts DSPy versions up to and including 3.0.3. The vulnerability stems from an overly permissive sandbox configuration that affects scenarios where users build AI agents that consume user input and utilize the 'PythonInterpreter' class (JFrog Research, Miggo).

Technical details

The vulnerability has been assigned a CVSS v3.1 base score of 5.9 (Medium), with a CVSS vector of CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N. This indicates that the vulnerability is network-accessible, requires high attack complexity, needs no privileges or user interaction, has unchanged scope, and can impact confidentiality but not integrity or availability (AttackerKB, Miggo).

Impact

The primary impact of this vulnerability is the potential for unauthorized access to sensitive files. When successfully exploited, attackers can steal sensitive files from the system where the DSPy application is running (JFrog Research).

Mitigation and workarounds

No official mitigations have been provided for this vulnerability at the time of disclosure. Users are advised to upgrade to versions newer than 3.0.3 once they become available (JFrog Research).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-33992CRITICAL9.3
  • PythonPython
  • pyload-ng
NoNoMar 27, 2026
CVE-2026-33981HIGH8.3
  • PythonPython
  • changedetection.io
NoYesMar 27, 2026
CVE-2026-34172HIGH7.7
  • PythonPython
  • giskard-agents
NoYesMar 27, 2026
GHSA-7fqq-q52p-2jjgMEDIUM6.5
  • JavaScriptJavaScript
  • opencc
NoYesMar 29, 2026
CVE-2026-33936MEDIUM5.3
  • PythonPython
  • ecdsa
NoYesMar 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management