製品・ソフトウェアに関する情報
openwebuiのopen webuiにおけるサーバサイドのリクエストフォージェリの脆弱性
Title openwebuiのopen webuiにおけるサーバサイドのリクエストフォージェリの脆弱性
Summary

Open WebUIは完全にオフラインで動作する自己ホスト型の人工知能プラットフォームです。バージョン0.9.5以前では、backend/open_webui/retrieval/web/utils.py内のvalidate_url()関数が呼び出し元から提出された初期のURLのみを検証していました。下流で使用されるHTTPクライアント(同期リクエスト、非同期aiohttp、langchainのWebBaseLoader)はデフォルトでHTTPの3xxリダイレクトを追跡しますが、プライベートIPやメタデータIPのブロックリストに対してリダイレクト先を再検証しません。そのため、認証済みのユーザーは302リダイレクトで内部アドレス(例:127.0.0.1、169.254.169.254、RFC1918)へ転送されるパブリックURLを提出し、/api/v1/retrieval/process/webエンドポイント、/api/v1/images/...エンドポイント、image_urlコンテンツ部分を含む/api/chat/completionsエンドポイント、及びこれらのヘルパーを呼び出すすべてのルートを通じて内部のレスポンスボディを読み取ることが可能でした。この脆弱性はバージョン0.9.5で修正されています。

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

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

Publication Date May 15, 2026, midnight
Registration Date May 21, 2026, 10:50 a.m.
Last Update May 21, 2026, 10:50 a.m.
CVSS3.0 : 重要
Score 8.5
Vector CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
Affected System
openwebui
open webui 0.9.5 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2026年05月21日]
  掲載
May 21, 2026, 10:50 a.m.

NVD Vulnerability Information
CVE-2026-45401
Summary

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.5, the validate_url() function in backend/open_webui/retrieval/web/utils.py only validates the initial URL submitted by the caller. The HTTP clients used downstream (sync requests, async aiohttp, langchain's WebBaseLoader) follow HTTP 3xx redirects by default and do not re-validate the redirect target against the private-IP / metadata-IP block list. Any authenticated user can therefore submit a public URL that 302-redirects to an internal address (e.g. 127.0.0.1, 169.254.169.254, RFC1918) and read the internal response body via the /api/v1/retrieval/process/web endpoint, the /api/v1/images/... endpoints, the /api/chat/completions endpoint with an image_url content part, and any other route that calls these helpers. This vulnerability is fixed in 0.9.5.

Publication Date May 16, 2026, 6:16 a.m.
Registration Date May 17, 2026, 4:13 a.m.
Last Update May 19, 2026, 9:07 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:* 0.9.5
Related information, measures and tools
Common Vulnerabilities List