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

High 8.5 Published Updated

Authenticated users can bypass SSRF protections via HTTP redirects to read internal network resources in Open WebUI.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-45401?

CVE-2026-45401 is a high-severity server-side request forgery vulnerability in Openwebui Open Webui, published on 15 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-918

Which versions are affected by CVE-2026-45401?

3 open source packages ship an affected version, including open-webui. It affects 1 product.

PackageAffectedFixed in
open-webui PyPIAll versions0.9.5
open-webui PyPIAll versions0.9.5
open-webui PyPIAll versions0.9.5

Products include Openwebui Open Webui.

How do I fix CVE-2026-45401?

Upgrade open-webui to 0.9.5 or later.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2026-45401 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-45401 exists.

Public exploit code: 1 proofs of concept on GitHub.

All Openwebui Open Webui vulnerabilities

Sources

Also known as GHSA-rh5x-h6pp-cjj6, PYSEC-2026-2755.

Is CVE-2026-45401 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free