| 概要 | Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.6, a path traversal vulnerability exists in open-webui's cache file serving endpoint that allows any authenticated user to read files from sibling directories outside the intended cache directory, by exploiting an incomplete startswith containment check that lacks a trailing path separator. The root cause is that serve_cache_file() in open_webui/main.py validates the resolved path with file_path.startswith(os.path.abspath(CACHE_DIR)) — without appending os.sep. This allows any path resolving to a sibling directory whose name begins with cache (e.g. cache_sibling, cache_backup, cached_models) to pass validation. This vulnerability is fixed in 0.9.6. |
|---|---|
| 公表日 | 2026年6月24日3:18 |
| 登録日 | 2026年6月27日4:15 |
| 最終更新日 | 2026年6月25日23:36 |
| CVSS3.1 : MEDIUM | |
| スコア | 4.3 |
|---|---|
| ベクター | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| 攻撃元区分(AV) | ネットワーク |
| 攻撃条件の複雑さ(AC) | 低 |
| 攻撃に必要な特権レベル(PR) | 低 |
| 利用者の関与(UI) | 不要 |
| 影響の想定範囲(S) | 変更なし |
| 機密性への影響(C) | 低 |
| 完全性への影響(I) | なし |
| 可用性への影響(A) | なし |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:* | 0.9.6 | ||||
| タイトル | openwebuiのopen webuiにおけるパストラバーサルの脆弱性 |
|---|---|
| 概要 | Open WebUIは完全にオフラインで動作する自己ホスト型の人工知能プラットフォームです。バージョン0.9.6以前のopen-webuiには、キャッシュファイル提供エンドポイントにパストラバーサルの脆弱性が存在し、認証済みユーザーが意図されたキャッシュディレクトリ外の兄弟ディレクトリからファイルを読み取ることが可能でした。これはstartswithによる包含チェックが不完全で、後続のパスセパレータが欠如していたために発生しました。根本原因は、open_webui/main.pyのserve_cache_file()関数がfile_path.startswith(os.path.abspath(CACHE_DIR))で解決済みパスを検証する際に、os.sepを付加していなかったことにあります。このため、名前がcacheで始まる兄弟ディレクトリ(例:cache_sibling、cache_backup、cached_models)へ解決される任意のパスが検証を通過してしまっていました。この脆弱性はバージョン0.9.6で修正されました。 |
| 想定される影響 | ・当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアは停止しません。 |
| 対策 | ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年6月23日0:00 |
| 登録日 | 2026年6月26日11:55 |
| 最終更新日 | 2026年6月26日11:55 |
| openwebui |
| open webui 0.9.6 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年06月26日] 掲載 |
2026年6月26日11:55 |