---
cve: "CVE-2026-72742"
severity: "CRITICAL"
cvss: 9.2
epss: "0.5%"
vendor: "Stanford NLP"
kev: false
exploited: false
published: "2026-08-11 18:50:47"
tags: [cve, security, critical]
source: tsecurity.de CVE-Dossier
exported: "2026-10-05T03:13:22+02:00"
---

# CVE-2026-72742

> 9.2 CRITICAL · 🧪 PoC

## Beschreibung

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.

## CISA-Anreicherung (vulnrichment/ADP)

- CISA-SSVC (Coordinator, v2.0.3):
  - Exploitation: **none**
  - Automatable: **yes**
  - Technical Impact: **partial**

## CVSS-Vektor

```
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
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |

## Patch verfügbar (OSV)

- c69136b29aca4c00ca6da7667f7b80783188980e (Commit)

## Referenzen

- <https://github.com/stanfordnlp/dspy>
- <https://github.com/stanfordnlp/dspy/issues/10067>
- <https://github.com/stanfordnlp/dspy/commit/c69136b29aca4c00ca6da7667f7b80783188980e>
- <https://www.vulncheck.com/advisories/dspy-0b1-local-file-read-via-image-audio-output-field-parsing>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2026-72742) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI WID (CSAF)_
