CVE-2026-88002

Open WebUI: Any authenticated user can hang the server via a cyclic chat message history

Published Sep 9, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.5.0 until 0.11.1, the message-chain reconstruction helper in backend/open_webui/utils/misc.py advanced through a chat history by map key but tracked visited entries using each message body's optional id field. An authenticated user could store id-less messages in a parent cycle and trigger a non-terminating walk that blocked the async event loop, grew memory until termination, and remained persistent across process restarts. This issue is fixed in version 0.11.1.

Analysis

AI-generated

Technical impact

The vulnerability allows an authenticated user in Open WebUI to store messages without an id inside a cyclic parent chain. When the backend reconstructs the chat history by following map keys, it walks the cycle indefinitely, blocking the asynchronous event loop, consuming memory continuously, and ultimately terminating the process. This results in a denial‑of service on the API and UI. The weakness is a coding error that enables an infinite loop when a user supplies crafted inputs, corresponding to CWE‑835.

Affected Systems

The vulnerability affects the Open WebUI platform from version 0.5.0 up to and including 0.10.x; a fix was introduced in version 0.11.1. Any deployment running a vulnerable version, regardless of host operating system or infrastructure, is susceptible.

Risk and Exploitability

The CVSS score of 6.5 indicates a moderate severity. EPSS is not available, and the issue is not listed in the CISA KEV catalog. Exploitation requires a valid authenticated session and the ability to create or modify messages. The attacker can simply send id‑less messages in a cycle and trigger the event‑loop stall, which persists across restarts. Because the attack vector is limited to authenticated users, the risk is moderate but can effectively render a self‑hosted instance unusable.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Open WebUI to version 0.11.1 or later, which removes the flawed message‑chain reconstruction logic.
  • If an upgrade is not feasible, restrict or disable the creation of messages lacking an id and disallow cycles in the chat history, ensuring that future reconstructions terminate.
  • Monitor system resource usage for abnormal memory growth and restart the server proactively if signs of hang are observed.
  • Audit existing message histories for cycles and delete problematic threads.

Generated by OpenCVE AI on September 9, 2026 at 22:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-jqhh-cjmq-vmv6 Open WebUI: Any authenticated user can hang the server via a cyclic chat message history
History
Type Values Removed Values Added
First Time appeared Openwebui
Openwebui open Webui
CPEs cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:*
Vendors & Products Openwebui
Openwebui open Webui
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Open-webui
Open-webui open-webui
Vendors & Products Open-webui
Open-webui open-webui
Type Values Removed Values Added
Description Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.5.0 until 0.11.1, the message-chain reconstruction helper in backend/open_webui/utils/misc.py advanced through a chat history by map key but tracked visited entries using each message body's optional id field. An authenticated user could store id-less messages in a parent cycle and trigger a non-terminating walk that blocked the async event loop, grew memory until termination, and remained persistent across process restarts. This issue is fixed in version 0.11.1.
Title Open WebUI: Any authenticated user can hang the server via a cyclic chat message history
Weaknesses CWE-835
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 14, 2026, 6:41 PM
Reserved
Sep 9, 2026, 7:19 PM
Status
Analyzed
Published
Sep 9, 2026, 10:18 PM
Modified
Sep 14, 2026, 7:56 PM