Skip to content
High 9.2 AI / ML

Vulnerability in DSPy

CVE-2026-72742 First seen on SecPulse

AI summary

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

DSPy 3.3.0b1 には、Image 型と Audio 型の出力フィールドの解析処理に欠陥があり、言語モデルの出力を操作できる攻撃者が任意のローカルファイルを読み取れるおそれがあります。読み取られた内容は攻撃者が管理するモデルの接続先に送信される可能性があります。修正版の情報は現時点で確認できていないため、最新の情報を確認してください。

What is the problem

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

Affected scope

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

Severity

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

How to fix

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

Workaround

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

Detection

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

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

References

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