NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · Open WebUI

CVE-2024-12534: Open WebUI Uncontrolled Resource Consumption vulnerability

highCVSS 3.0 7.5GHSA-g3mx-83mp-3rwc

Open WebUI 0.3.32 and earlier accepts sign-in requests with email and password fields of any length. An unauthenticated attacker can submit huge strings and exhaust the server's CPU, memory and disk. The advisory lists no patched version.

Published Mar 20, 2025 · Updated Mar 21, 2025 · Analysis Nov 1, 2026

What an attacker can do

The sign-in flow does not validate the length of the email and password inputs. The client call is in src/lib/apis/auths/index.ts, and the server accepts what it is sent. An attacker posts very large strings to the sign-in endpoint, and the server spends CPU, memory and disk space handling them. Repeated requests can make the service unavailable to legitimate users.

The CVSS 3.0 vector (7.5) says network, low complexity, no privileges, no interaction, availability only. The sign-in page must be reachable, which is the case for any Open WebUI instance a user can log in to. Teams that run Open WebUI as a shared front end for local models, such as Ollama, lose it for everyone during an attack. The advisory describes no data theft and no account access.

Who is affected

The open-webui package on PyPI and npm at version 0.3.32 and earlier. Check your version:

pip show open-webui

For Docker, check the image tag, or find the version in the app's About page. Any instance whose sign-in endpoint is reachable by untrusted clients is exposed.

open-webui

Ecosystem
PyPI
Affected
<= 0.3.32
Fixed in
No patched version yet
Check
pip show open-webui

open-webui

Ecosystem
npm
Affected
<= 0.3.32
Fixed in
No patched version yet
Check
npm ls open-webui

How to fix it

The advisory lists no patched version. Check Open WebUI releases newer than 0.3.32 and their notes for input length limits on sign-in, and upgrade to the latest release. The sources name no workaround. General mitigations: set a request body size limit in the reverse proxy in front of Open WebUI, rate-limit the sign-in route, and restrict the instance to a VPN or private network.

How to tell if you were hit

Look in reverse proxy and access logs for POST requests to the sign-in route with unusually large bodies, and for many such requests from one address. On the host, look for sustained high CPU or memory use, disk filling up, and out-of-memory kills of the Open WebUI process or container.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

In version v0.3.32 of open-webui/open-webui, the application allows users to submit large payloads in the email and password fields during the sign-in process due to the lack of character length validation on these inputs. This vulnerability can lead to a Denial of Service (DoS) condition when a user submits excessively large strings, exhausting server resources such as CPU, memory, and disk space, and rendering the service unavailable for legitimate users. This makes the server susceptible to resource exhaustion attacks without requiring authentication.

Questions

Is there a patched Open WebUI version for CVE-2024-12534?

The advisory lists none. It covers 0.3.32 and earlier. Check newer releases and their notes.

Does the attacker need an account?

No. The flaw is in the sign-in fields, so no authentication is needed.

Does this expose chats or API keys?

No. The advisory describes resource exhaustion only.

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 entries