Skip to content
HighVulnerabilityLLM-specific

CVE-2026-72742: DSPy file exfiltration through Image and Audio output field adapters

Identifier
CVE-2026-72742
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.5%

Summary

DSPy 3.3.0b1 has a file exfiltration flaw in its Image and Audio output field adapters. An attacker who can influence language model output can inject a filesystem path into the url field of a parsed Image or Audio typed output, and the JSONAdapter and ChatAdapter then read and base64-encode that local file through encode_image or encode_audio in image.py and audio.py. The file contents are embedded in outgoing prompt messages sent to an attacker-controlled model endpoint.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.