PYSEC-2026-1728
Open WebUI Uncontrolled Resource Consumption vulnerability
Details
In version 0.3.32 of open-webui/open-webui, the absence of authentication mechanisms allows any unauthenticated attacker to access the `api/v1/utils/code/format` endpoint. If a malicious actor sends a POST request with an excessively high volume of content, the server could become completely unresponsive. This could lead to severe performance issues, causing the server to become unresponsive or experience significant degradation, ultimately resulting in service interruptions for legitimate users.
Are you affected?
Enter the version of the package you're using.
Affected packages
0No fixed version published yet for open-webui (pip). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-12537[ADVISORY]
- https://github.com/open-webui/open-webui[PACKAGE]
- https://github.com/open-webui/open-webui/blob/e8babe62bc8e466be0367703fd062a981f5c2394/src/lib/apis/utils/index.ts#L25-L56[WEB]
- https://huntr.com/bounties/edabd06c-acc0-428c-a481-271f333755bc[WEB]
- https://pypi.org/project/open-webui[PACKAGE]
- https://github.com/advisories/GHSA-chf7-q7m5-fq92[ADVISORY]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:pypi/open-webui"]}'