製品・ソフトウェアに関する情報
oobaboogaのTextGenにおけるパストラバーサルの脆弱性
Title oobaboogaのTextGenにおけるパストラバーサルの脆弱性
Summary

text-generation-webuiは、大規模言語モデルを実行するためのオープンソースのウェブインターフェースです。バージョン4.3以前には、load_grammar()に認証されていないパストラバーサルの脆弱性が存在し、拡張子の制限なしにサーバーのファイルシステム上の任意のファイルを読み取ることが可能でした。Gradioはドロップダウンの値をサーバー側で検証しないため、攻撃者はAPI経由でディレクトリトラバーサルのペイロード(例:../../../etc/passwd)をPOSTし、レスポンスでファイルの内容全体を受け取ることができます。この脆弱性はバージョン4.3で修正されました。

Possible impacts 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date April 7, 2026, midnight
Registration Date April 30, 2026, 11:03 a.m.
Last Update April 30, 2026, 11:03 a.m.
CVSS3.0 : 重要
Score 7.5
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected System
oobabooga
TextGen 4.3 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2026年04月30日]
  掲載
April 30, 2026, 11:03 a.m.

NVD Vulnerability Information
CVE-2026-35485
Summary

text-generation-webui is an open-source web interface for running Large Language Models. Prior to 4.3, an unauthenticated path traversal vulnerability in load_grammar() allows reading any file on the server filesystem with no extension restriction. Gradio does not server-side validate dropdown values, so an attacker can POST directory traversal payloads (e.g., ../../../etc/passwd) via the API and receive the full file contents in the response. This vulnerability is fixed in 4.3.

Publication Date April 8, 2026, 12:17 a.m.
Registration Date April 15, 2026, 11:28 a.m.
Last Update April 9, 2026, 6:27 a.m.
Related information, measures and tools
Common Vulnerabilities List