GHSA-w466-2wfc-8g58 Open WebUI has vulnerable dependency on starlette via fastapi

Not scored Published

An attacker can cause denial of service via memory exhaustion in Open WebUI due to a vulnerable Starlette dependency.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is GHSA-w466-2wfc-8g58?

GHSA-w466-2wfc-8g58 is a denial of service vulnerability in open-webui, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In version 0.3.32 of open-webui, the application uses a vulnerable version of the starlette package through its dependency on fastapi. The starlette package versions <=0.49 are susceptible to uncontrolled resource consumption, which can be exploited to cause a denial of service through memory exhaustion. This issue is addressed in fastapi version 0.115.3.

Which versions are affected by GHSA-w466-2wfc-8g58?

2 open source packages ship an affected version, including open-webui.

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

How do I fix GHSA-w466-2wfc-8g58?

Upgrade open-webui to 0.5.8 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is GHSA-w466-2wfc-8g58 being exploited?

There is no known exploitation of GHSA-w466-2wfc-8g58 in the wild and no public exploit code.

Sources

Is GHSA-w466-2wfc-8g58 in your software?

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

Check your SBOMs for free