{"id":"CVE-2026-72742","aliases":["CVE-2026-72742"],"related":[],"kind":"vulnerability","state":"published","title":"DSPy 3.3.0b1 Local File Read via Image/Audio Output Field Parsing","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"DSPy 3.3.0b1 contiene una vulnerabilidad de exfiltración de archivos en los adaptadores de campo de salida de Imagen y Audio que permite a los atacantes con influencia sobre las salidas del modelo de lenguaje leer archivos locales arbitrarios inyectando una ruta del sistema de archivos en el campo url de una salida tipada de Imagen o Audio analizada. El JSONAdapter y el ChatAdapter analizan las finalizaciones no confiables del modelo de lenguaje a través de parse_value en la validación de TypeAdapter, lo que activa encode_image o encode_audio para leer y codificar en base64 cualquier ruta de archivo local a través de la rama os.path.isfile en image.py y audio.py, incrustando posteriormente el contenido del archivo en los mensajes de prompt salientes enviados al endpoint del modelo controlado por el atacante.","source":"nvd"}],"published":"2026-08-11T18:50:47.811Z","modified":"2026-10-24T15:10:00.190Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":9.2,"rating":"CRITICAL"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":9.2,"rating":"CRITICAL"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":8.6,"rating":"HIGH"}],"cwes":["CWE-73"],"affected":[{"ranges":[{"type":"custom","introduced":"0","lastAffected":"3.3.0b1","status":"affected"}],"vendor":"Stanford NLP","product":"DSPy","source":"cvelist"}],"references":[{"url":"https://github.com/stanfordnlp/dspy","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/stanfordnlp/dspy/issues/10067","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/stanfordnlp/dspy/commit/c69136b29aca4c00ca6da7667f7b80783188980e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/dspy-0b1-local-file-read-via-image-audio-output-field-parsing","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["George Chen"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-08-12T16:05:20.594Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72742","url":"https://www.cve.org/CVERecord?id=CVE-2026-72742","licence":"CVE Terms of Use","modified":"2026-08-12T16:58:19.991Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72742","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72742","licence":"Public domain","modified":"2026-10-24T15:10:00.190Z"}],"updatedAt":"2026-11-25T22:59:32.501Z","epss":{"score":0.00373,"percentile":0.33239,"date":"2026-12-01T12:00:22.000Z"}}