Skip to content
OpenAdvisories
Medium · 5.9 CVE-2025-12695 EUVD-2025-37741GHSA-vvw2-h478-xwr3PYSEC-2026-1318

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

Published Nov 4, 2025 · Updated Nov 4, 2025 · Assigned by JFROG

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 products

VendorProductAffectedFixed
— dspy — —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI dspy <= 3.0.3 — GHSA-vvw2-h478-xwr3

References