CVE-2024-8053: Open WebUI lacks authentication for the `api/v1/utils/pdf` endpoint
The api/v1/utils/pdf endpoint in Open WebUI v0.3.10 has no authentication. An unauthenticated attacker can send it very large POST payloads to exhaust server resources and cause denial of service, or use it to generate PDFs for free. The advisory data lists no patched version.
Published Mar 20, 2025 · Updated Mar 27, 2025 · Analysis Nov 10, 2026
What an attacker can do
The PDF generation route under api/v1/utils is reachable without a login (CWE-306 and CWE-287). It takes the posted content and builds a PDF on the server. Because nothing checks who is calling, anyone who can reach the instance can post an excessively large body and tie up CPU and memory until the service stalls. The CVSS vector rates network access, low complexity, no privileges, no user interaction, and availability impact high only.
A second effect is service misuse. Strangers can use your server as a free PDF generator, and the advisory says this may carry operational and financial costs. No data disclosure or code execution is described. The risk is largest for Open WebUI instances exposed to the internet or to a large internal network.
Who is affected
open-webui up to and including 0.3.10, installed from pip. Check:
pip show open-webuiAn instance is exposed if its API port is reachable by untrusted clients. You can test by sending a small POST to api/v1/utils/pdf without an Authorization header and seeing whether it responds with a PDF instead of 401.
open-webui
- Ecosystem
- PyPI
- Affected
- <= 0.3.10
- Fixed in
- No patched version yet
- Check
pip show open-webui
How to fix it
The data lists no patched version for this advisory, and the sources we could use do not name one. Move to a current Open WebUI release, which is far past 0.3.10, and re-test the endpoint without credentials. The sources give no workaround. Keep the instance off untrusted networks and require login at the front end until you have upgraded.
How to tell if you were hit
Search access logs for POST requests to /api/v1/utils/pdf with no Authorization header or from unfamiliar IP addresses, and for unusually large request bodies. Watch for CPU and memory spikes in the Open WebUI process and for repeated worker restarts.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
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.
Questions
- Does CVE-2024-8053 need a login?
No. The endpoint accepts unauthenticated requests, which is the flaw.
- What can an attacker do with it?
Exhaust server resources with oversized payloads for denial of service, and misuse the server to generate PDFs.
- Is there a patched version?
None is listed in the advisory data for 0.3.10. Run a current release and test the endpoint.
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 entriesCVE-2026-87011
Open WebUI: Unauthenticated requests can stall the server via uncached OIDC fetches in back-channel logout
high7.5Sep 10, 2026CVE-2026-87012
Open WebUI: Any authenticated user can suppress calendar alerts instance-wide via a non-numeric alert value
medium4.3Sep 10, 2026CVE-2026-87013
Open WebUI: Any authenticated user can start a non-terminating request via a folder parent cycle
medium4.3Sep 10, 2026CVE-2026-87014
Open WebUI: Admin demoted through SSO role sync keeps read and write access to all users' notes
medium6.5Sep 10, 2026CVE-2026-87015
Open WebUI: A user's session cookies are sent to tool servers configured for bearer authentication
medium6.8Sep 10, 2026CVE-2026-87016
Open WebUI: Sign-in as another user via wildcard characters in the OAuth subject claim on SQLite
high8.1Sep 10, 2026
