NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · Open WebUI

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

highCVSS 3.0 7.5

Open WebUI before 0.5.8 shipped a vulnerable Starlette, pulled in through FastAPI. Starlette's multipart parser buffers large form fields in memory with no limit, so an attacker can exhaust memory and make Open WebUI unavailable. Upgrade to Open WebUI 0.5.8.

Published Mar 20, 2025 · Updated Oct 26, 2026 · Analysis Nov 1, 2026

What an attacker can do

The flaw is in Starlette, not in Open WebUI's own code. The upstream advisory (CVE-2024-47874) says Starlette's multipart/form-data parser treats parts without a filename as text fields and keeps them in memory with no size limit. An attacker uploads very large fields and the server's memory use and copying climb. The advisory notes that parallel requests can make a service practically unusable, even behind a reverse proxy with request size limits.

Open WebUI depends on FastAPI, which depends on Starlette. The Open WebUI advisory ties the fix to FastAPI 0.115.3. The CVSS vector requires no privileges and no user interaction, and scores availability only. An attacker with network access to an Open WebUI instance, signed in or not, depending on which form routes accept the request, can take down the chat UI for everyone using it. No data theft or code execution is described.

Who is affected

The open-webui pip package before 0.5.8. The report was made against 0.3.32. The Starlette advisory marks Starlette before 0.40.0 as vulnerable and says FastAPI apps that accept form requests are exposed. Check what you run:

pip show open-webui starlette fastapi

On a container install, run the same inside the container.

open-webui

Ecosystem
PyPI
Affected
< 0.5.8
Fixed in
0.5.8
Check
pip show open-webui

How to fix it

Upgrade to open-webui 0.5.8.

pip install -U "open-webui>=0.5.8"

The upstream Starlette fix is version 0.40.0. The Starlette advisory lists no workaround. After upgrading, confirm pip show starlette reports 0.40.0 or later. Memory limits on the container and size limits at a proxy reduce the blast radius but, per the advisory, do not stop parallel requests.

How to tell if you were hit

Watch for the Open WebUI process growing in memory during multipart form requests and then being killed for running out of memory. In proxy logs, look for large POST bodies, or many parallel POSTs, to form routes from a single client. Kernel or container logs showing out-of-memory kills of the Open WebUI process fit the pattern.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to Classic298.

Questions

Is the bug in Open WebUI or in Starlette?

In Starlette, reached through FastAPI. Open WebUI fixed it in 0.5.8 by updating its dependencies. Starlette 0.40.0 carries the upstream fix.

Does a reverse proxy size limit protect me?

Not fully. The Starlette advisory says parallel requests can still make a service practically unusable even with request size limits.

Which Open WebUI version fixes it?

0.5.8. Earlier versions are listed as vulnerable, and the report was against 0.3.32.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More Open WebUI vulnerabilities

All Open WebUI entries