CVE-2026-54008 Open WebUI: Redirect-Bypass SSRF in OAuth `_process_picture_url`

High 8.5 Published Updated

An attacker with a valid OAuth identity can exploit a redirect bypass in Open WebUI to perform Server-Side Request Forgery and read internal network responses.

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-54008?

CVE-2026-54008 is a high-severity server-side request forgery vulnerability in Openwebui Open Webui, published on 23 Jun 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.6, backend/open_webui/utils/oauth.py::_process_picture_url calls validate_url(picture_url) on the initial URL only, then invokes aiohttp.ClientSession.get(picture_url, ...) without allow_redirects=False. aiohttp's default is allow_redirects=True, max_redirects=10; the function does not pass the project's AIOHTTP_CLIENT_ALLOW_REDIRECTS env constant either. An attacker with a valid OAuth IdP identity can therefore submit a public URL that 302-redirects to an internal address and read the internal response body via the attacker's own profile_image_url field. This vulnerability is fixed in 0.9.6.

Weakness: CWE-918

Which versions are affected by CVE-2026-54008?

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

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

Products include Openwebui Open Webui.

How do I fix CVE-2026-54008?

Upgrade open-webui to 0.9.6 or later.

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

Is CVE-2026-54008 being exploited?

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

All Openwebui Open Webui vulnerabilities

Sources

Also known as GHSA-226f-f24g-524w, PYSEC-2026-2690.

Is CVE-2026-54008 in your software?

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

Check your SBOMs for free