Headline
GHSA-5ccf-884p-4jjq: Open WebUI Unauthenticated Multipart Boundary Denial of Service (DoS) Vulnerability
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.
- GitHub Advisory Database
- GitHub Reviewed
- CVE-2024-9840
Open WebUI Unauthenticated Multipart Boundary Denial of Service (DoS) Vulnerability
High severity GitHub Reviewed Published Mar 20, 2025 to the GitHub Advisory Database • Updated Mar 21, 2025
Package
npm open-webui (npm)
Affected versions
<= 0.3.21
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-9840
- https://huntr.com/bounties/9178f09e-4d4f-4a5b-bc32-cada7445b03c
Published to the GitHub Advisory Database
Mar 20, 2025
Last updated
Mar 21, 2025