INCIDENT MAP

Browse / AI Framework and Platform Flaws / GHSA-5ccf-884p-4jjq

Open WebUI Unauthenticated Multipart Boundary Denial of Service (DoS) Vulnerability

GHSA-5ccf-884p-4jjq ยท 2025-03-20 high

Class
AI Framework and Platform Flaws (filed by a model that read the advisory)
Technique
Denial of service
Affected
open-webui (PyPI)
CVSS
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

How it works, in short

Appending characters to a multipart boundary forces unauthenticated upload parsers to scan each byte, exhausting CPU and memory on several endpoints. (Our summary, written by a model. The source text is below.)

Details

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

Source: GitHub Advisory Database, used under CC BY 4.0.