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

GHSA-6wj5-5pgr-jwq8: Open WebUI Unauthenticated Multipart Boundary Denial of Service (DoS) Vulnerability in api/chat/file

highCVSS 3.0 7.5

Open WebUI before 0.4.7 can be made inaccessible by an unauthenticated file upload to the chat file route (`api/chat/file`) with a multipart boundary padded with extra characters. The server processes every character, and all users lose access until it recovers. Upgrade to 0.4.7.

Published Mar 20, 2025 · Updated Apr 15, 2025 · Analysis Nov 1, 2026

What an attacker can do

The report was filed against an Open WebUI build at commit 79778fa. A file upload whose multipart boundary has a large number of characters appended makes the server work through each one. The related upstream advisory for python-multipart says it skips CR, LF and trailing bytes one byte at a time and logs an event for each, which can stall the event loop in an ASGI app. That is the likely mechanism, though the Open WebUI advisory does not spell it out.

The CVSS vector has no privileges and no user interaction, and scores availability only. An attacker with network access can lock out every user of an Open WebUI instance, including those using it to reach internal models or agent tools. The sources report no data exposure and no code execution. The linked fix commit is in the Open WebUI repository.

Who is affected

The open-webui pip package before 0.4.7. The route in the title is api/chat/file. Check your version:

pip show open-webui

If you run the container image, check the image tag or the version shown in the UI's about page. Also check the python-multipart version, which the upstream advisory says must be 0.0.18 or newer.

open-webui

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

How to fix it

Upgrade to open-webui 0.4.7.

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

The sources name no workaround. Pull the container image tagged 0.4.7 or newer if you deploy that way. As a general measure, limit request size and time at a reverse proxy in front of the app.

How to tell if you were hit

Watch for Open WebUI at sustained high CPU with the UI not responding. In proxy logs look for POST requests to the chat file upload route with an unusually long Content-Type boundary, or a request body of mostly dashes or line breaks, especially from unauthenticated clients.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

A vulnerability in open-webui/open-webui version 79778fa allows an attacker to cause a Denial of Service (DoS) by uploading a file with a malformed multipart boundary. By appending a large number of characters to the end of the multipart boundary, the server continuously processes each character, rendering the application inaccessible. This issue can prevent all users from accessing the application until the server recovers.

Questions

Which Open WebUI version fixes this?

0.4.7. Versions below it are listed as vulnerable for this chat file upload route.

Is this the same as the Open WebUI 0.3.21 boundary bug?

It has the same trigger but a different advisory and route. The other entry covers model upload, transcription and RAG document endpoints.

Can this be used to run code?

No source says so. The impact is denial of service by resource exhaustion.

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