Open WebUI lacks authentication for the `api/v1/utils/pdf` endpoint
Date: 2025-03
Affected: pip/open-webui
Attack vector: dos
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2024-8053
CWE: CWE-287
CWE-306
CVSS: 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)

In version v0.3.10 of open-webui/open-webui, the `api/v1/utils/pdf` endpoint lacks authentication mechanisms, allowing unauthenticated attackers to access the PDF generation service. This vulnerability can be exploited by sending a POST request with an excessively large payload, potentially leading to server resource exhaustion and denial of service (DoS). Additionally, unauthorized users can misuse the endpoint to generate PDFs without verification, resulting in service misuse and potential operational and financial impacts.


Mitigations:

Architectural layers (MAESTRO):