CVE-2026-45401

Open WebUI: SSRF Bypass via HTTP Redirect Following in Web-Fetch and Image-Load Endpoints

Published May 15, 2026 CVSS 3.1 · 8.5 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A server‑side request forgery flaw allows an authenticated user to submit a publicly reachable URL that redirects to a private or metadata address. The backend follows the redirect without re‑checking the target against the blocked IP list, returning the internal response body to the attacker and exposing sensitive information or enabling further exploitation. The weakness is identified as CWE‑918.

Affected Systems

All installations of Open WebUI older than version 0.9.5 are affected. The vulnerability manifests in backend functions that retrieve external content, including the web‑fetch and image‑load endpoints, and any route that uses these helpers. Users should ensure their Open WebUI instance is upgraded to 0.9.5 or later to receive the fix.

Risk and Exploitability

The CVSS score is 8.5, indicating high severity. While the EPSS score is not publicly available, the vulnerability is not listed in CISA's KEV catalog, suggesting that, as of the last advisory, exploitation is not confirmed. The attack requires authentication, but once authenticated the attacker can direct internal traffic through the server with ordinary HTTP requests, making the flaw powerful for data exfiltration or lateral movement within the private network.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Open WebUI to version 0.9.5 or later
  • Restrict the web‑fetch and image‑load endpoints to accept only whitelisted domains or disable them if not required
  • Configure network segmentation or firewall rules to block outbound redirects to private IP ranges and monitor for suspicious redirect activity

Generated by OpenCVE AI on May 15, 2026 at 23:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-rh5x-h6pp-cjj6 Open WebUI has a SSRF Bypass via HTTP Redirect Following in Web-Fetch and Image-Load Endpoints (not addressed by CVE-2025-65958)
History
Type Values Removed Values Added
First Time appeared Openwebui
Openwebui open Webui
CPEs cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:*
Vendors & Products Openwebui
Openwebui open Webui
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Open-webui
Open-webui open-webui
Vendors & Products Open-webui
Open-webui open-webui
Type Values Removed Values Added
Description 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.
Title Open WebUI: SSRF Bypass via HTTP Redirect Following in Web-Fetch and Image-Load Endpoints
Weaknesses CWE-918
References
Metrics cvssV3_1

{'score': 8.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N'}

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 18, 2026, 12:48 PM
Reserved
May 12, 2026, 1:48 AM
Status
Analyzed
Published
May 15, 2026, 9:16 PM
Modified
Nov 11, 2026, 8:10 PM