GitHub Advisoryadvisory · npm, PyPI
GHSA-5ccf-884p-4jjq Open WebUI Unauthenticated Multipart Boundary Denial of Service (DoS) Vulnerability
HIGH
Official page ↗
- Ecosystem
- npm, PyPI
- Packages
- open-webui
- Severity
- High
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-400
- Reviewed
- 2025-03-21
Affected packages
• npm open-webui: <= 0.3.21 (no fix yet)
• PyPI open-webui: <= 0.3.21 (no fix yet)
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.
Related
Weakness · CWE (1)
- CWE-400 Uncontrolled Resource Consumption weakness