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.
Published: 2026-09-09
Score: 6.5 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

Wed, 09 Sep 2026 21:45:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-09T21:40:06.412Z

Reserved: 2026-09-09T19:19:27.406Z

Link: CVE-2026-88002

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-09T22:18:49.080

Modified: 2026-09-09T22:18:49.080

Link: CVE-2026-88002

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-09T22:30:17Z

Weaknesses
  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')