Local file read via typed output parsing
Published Aug 11, 2026 · Updated Aug 11, 2026
Path injection in DSPy 3.3.0b1 allows remote attackers to read local files through crafted Image or Audio model output. The JSONAdapter and ChatAdapter pass untrusted model completions through parse_value into typed validation, where encode_image or encode_audio treats a supplied url value as a filesystem path and reads and base64-encodes the file. Exploitation requires an application to parse attacker-influenced Image or Audio output; disclosure to the model endpoint occurs when the parsed value is included in a later prompt.
Summary
What happened
Path injection in DSPy 3.3.0b1 allows remote attackers to read local files through crafted Image or Audio model output. The JSONAdapter and ChatAdapter pass untrusted model completions through parse_value into typed validation, where encode_image or encode_audio treats a supplied url value as a filesystem path and reads and base64-encodes the file. Exploitation requires an application to parse attacker-influenced Image or Audio output; disclosure to the model endpoint occurs when the parsed value is included in a later prompt.
The record
- CVE
- CVE-2026-72742
- Published
- Aug 11, 2026
- Updated
- Aug 11, 2026
- Vendor
- Stanford NLP Group
- Product
- DSPy
- Classifications
- CWE-73, CAPEC-76, T1005, T1041
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 11, 2026CVE publishedPublication date reported by the CVE source.
- Aug 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <=3.3.0b1
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- End-to-end JSONAdapter local-file-read proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo