GHSA-5ccf-884p-4jjq Open WebUI Unauthenticated Multipart Boundary Denial of Service (DoS) Vulnerability

Not scored Published

Unauthenticated attackers can cause denial of service in Open WebUI by sending crafted multipart requests that exhaust server resources.

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

What is GHSA-5ccf-884p-4jjq?

GHSA-5ccf-884p-4jjq 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

A Denial of Service (DoS) vulnerability exists in open-webui/open-webui version 0.3.21. This vulnerability affects multiple endpoints, including /ollama/models/upload, /audio/api/v1/transcriptions, and /rag/api/v1/doc. The application processes multipart boundaries without authentication, leading to resource exhaustion. By appending additional characters to the multipart boundary, an attacker can cause the server to parse each byte of the boundary, ultimately leading to service unavailability. This vulnerability can be exploited remotely, resulting in high CPU and memory usage, and rendering the service inaccessible to legitimate users.

Which versions are affected by GHSA-5ccf-884p-4jjq?

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

PackageAffectedFixed in
open-webui PyPIAll versions to 0.3.21None
open-webui PyPIAll versions to 0.3.21None
open-webui npmAll versions to 0.3.21None
open-webui npmAll versions to 0.3.21None

How do I fix GHSA-5ccf-884p-4jjq?

No fix has been published for GHSA-5ccf-884p-4jjq yet. Limit exposure of the affected software until one is available.

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-5ccf-884p-4jjq being exploited?

There is no known exploitation of GHSA-5ccf-884p-4jjq in the wild and no public exploit code.

Sources

Is GHSA-5ccf-884p-4jjq in your software?

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

Check your SBOMs for free