CVE-2026-72742: DSPy 3.3.0b1 Local File Read via Image/Audio Output Field Parsing

Published Aug 11, 2026
·
Updated

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 parsevalue into TypeAdapter validation, which triggers encodeimage or encodeaudio 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.

Affected Software

1 affected component
DSy DSPy=3.3.0b1

Event History

Aug 11, 2026
CVE Published
via MITRE·06:50 PM
Data Sourced
via MITRE·06:50 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-72742?

The severity of CVE-2026-72742 is rated high with a score of 8.6.

2

How do I fix CVE-2026-72742?

To fix CVE-2026-72742, update to the latest secure version of DSPy that addresses the file exfiltration vulnerability.

3

What type of vulnerability is CVE-2026-72742?

CVE-2026-72742 is a local file read vulnerability that allows attackers to exfiltrate local files.

4

Which software is affected by CVE-2026-72742?

The affected software for CVE-2026-72742 is DSPy version 3.3.0b1.

5

Can exploiting CVE-2026-72742 lead to data breaches?

Yes, exploiting CVE-2026-72742 can allow attackers to access arbitrary local files, potentially leading to data breaches.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203