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.. EPSS estimates a 0.51% chance of exploitation in the next 30 days.
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
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
- Awaiting Analysis
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-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-72741Rainbond through 6.9.7 contains a broken access control vuln…8.1
- 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.2
- CVE-2026-72745Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-72746Rejected reason: This CVE ID has been rejected or withdrawn …
- 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
