AI / ML
CVE-2026-72742 high CVSS 8.6

Vulnerability in DSPy (CVE-2026-72742)

Summary

Vulnerability in DSPy (CVE-2026-72742). Confidential information can be exposed externally.

Original description

The description as published by the source.

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: NIST National Vulnerability Database NVD GitHub Advisory

AI summary

Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.

DSPy 3.3.0b1には、攻撃者が任意のローカルファイルを読み取ることができるファイル抽出の脆弱性があります。この脆弱性は、画像および音声出力フィールドアダプタに存在し、攻撃者は言語モデルの出力に影響を与えることでファイルシステムパスを注入することができます。この結果、攻撃者はローカルファイル内容をベース64でエンコードし、攻撃者が制御するモデルエンドポイントに送信することができます。

❓ What is the problem

ファイル抽出の脆弱性は、任意のローカルファイルを読み取ることができるものです。

📍 Affected scope

ImageおよびAudio出力フィールドアダプタ

🔥 Severity

攻撃者がシステムのローカルファイルにアクセスできるため、セキュリティリスクは非常に高いです。

🔧 How to fix

DSPyアダプタのコードを見直し、ファイルパスの注入を防ぐための検証を追加します。

🛡️ Workaround

一時的な回避策は特にありませんが、言語モデル出力の信頼性を高めるための入力検証を強化することが考えられます。

🔍 Detection

ImageおよびAudio出力が外部に送信される際の中身を解析し、不審なファイルパスの存在を確認します。

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details