CVE-2026-72742
Last modified
CVE-2026-72742 is a high-severity vulnerability rated 8.6/10 on the CVSS scale. DSPy 3.3.0b1 contains a file exfiltration vulnerability in the Image and Audio output field adapters that allows attackers with influence over language model outputs to read arbitrary local files by injecting a filesystem path into the url field of a parsed Image or Audio typed output. The JSONAdapter and ChatAdapter parse untrusted language model completions through parse_value into TypeAdapter validation, which triggers encode_image or encode_audio to read and base64-encode any local file path via the os.path.isfile branch in image.py and audio.py, subsequently embedding the file contents into outgoing prompt messages sent to the attacker-controlled model endpoint..
Description
DSPy 3.3.0b1 contains a file exfiltration vulnerability in the Image and Audio output field adapters that allows attackers with influence over language model outputs to read arbitrary local files by injecting a filesystem path into the url field of a parsed Image or Audio typed output. The JSONAdapter and ChatAdapter parse untrusted language model completions through parse_value into TypeAdapter validation, which triggers encode_image or encode_audio to read and base64-encode any local file path via the os.path.isfile branch in image.py and audio.py, subsequently embedding the file contents into outgoing prompt messages sent to the attacker-controlled model endpoint.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Stanford NLP | DSPy | <= 3.3.0b1 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-72742?
How severe is CVE-2026-72742?
How do I fix CVE-2026-72742?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-72735Dokploy is a free, self-hostable Platform as a Service (PaaS…9.9
- CVE-2026-72736Dokploy is a free, self-hostable Platform as a Service (PaaS…9.9
- CVE-2026-72737Dokploy is a free, self-hostable Platform as a Service (PaaS…9.6
- CVE-2026-72738Dokploy is a free, self-hostable Platform as a Service (PaaS…9.9
- CVE-2026-72739Dokploy is a free, self-hostable Platform as a Service (PaaS…6.5
- CVE-2026-72740Dokploy is a free, self-hostable Platform as a Service (PaaS…9.9
- CVE-2026-72743SQLBot through 1.10.0, fixed in commit c3f40a5, contains a s…5.4
- CVE-2026-72744Nuxt versions >= 4.4.7 and < 4.5.1, and >= 3.21.7 and < 3.21…6.9
- CVE-2026-72745FreeRDP before 3.30.0 contains an out-of-bounds vulnerabilit…7.5
- CVE-2026-72746FreeRDP before 3.30.0 contains a server-side authentication …8.7
- CVE-2026-72747AVideo fails to sanitize the phone field during user registr…7.2
- CVE-2026-72748AVideo contains an unauthenticated arbitrary file write vuln…9.1
Are you affected by CVE-2026-72742?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
