CVE-2026-88000: Open WebUI: Any authenticated user can hang the server via message deletion in a cyclic chat tree
Open WebUI 0.10.0 through 0.11.0 can be frozen by any logged-in user. Deleting a message from a chat whose messages list each other as children sends the server into an infinite loop on its event loop, so every request from every user stalls. The fix is 0.11.1.
Published Sep 9, 2026 · Analysis Oct 24, 2026
What an attacker can do
Open WebUI stores chat history as unvalidated JSON. After a message is deleted through DELETE /api/v1/chats/{id}/messages/{message_id}, the helper in backend/open_webui/models/chats.py picks the chat's new current message by walking down childrenIds to the deepest child. It never records where it has been, so two messages that name each other as children loop forever.
The attacker needs one account with the default user role. They create a chat of about 300 bytes with a childrenIds cycle through POST /api/v1/chats/new, then delete one message. The loop runs synchronously on the asyncio event loop, so unauthenticated /health, admin endpoints and the UI all hang. Health checks and liveness probes fail. The request keeps running after the client disconnects, so one fire-and-forget call is enough.
The loop pins one CPU core with flat memory, so no out-of-memory kill rescues the process. Someone has to kill it. The malformed chat stays in the database, so deleting a message from it again re-arms the hang. No data is disclosed or changed.
Who is affected
Open WebUI from 0.10.0 up to and including 0.11.0 is affected. Earlier versions are not, because the message-deletion endpoint and the affected code did not exist. No non-default setting is needed. Any deployment where users can create chats is exposed.
pip show open-webuiFor Docker deployments, check the image tag you run.
open-webui
- Ecosystem
- PyPI
- Affected
- >= 0.10.0, < 0.11.1
- Fixed in
- 0.11.1
- Check
pip show open-webui
How to fix it
Upgrade to 0.11.1.
pip install --upgrade open-webuiThe fix, in commit b933292, records the ids the walk has already visited, so it stops after at most one step per stored message. Chats already stored with a cycle become harmless after the upgrade, and you do not need to delete them. The advisory lists no workaround.
How to tell if you were hit
Look for a worker pinned at 100% of one core with flat memory and a failing /health check. Then check access logs for a DELETE /api/v1/chats/{id}/messages/{message_id} request that never completed, from a non-admin account, shortly after a POST /api/v1/chats/new.
To find the cause, inspect stored chats for history objects where a message's childrenIds points back to one of its ancestors. A restart clears the hang until someone deletes a message from that chat again.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
Chat histories are stored as an unvalidated JSON object. After a message is deleted, the code that picks the chat's new current message walked down the childrenIds links without recording where it had already been. Any account with the default user role could store a chat whose messages list each other as children, then delete a message from it, and the walk would run forever. That walk runs on the server's request loop, so it blocks every other user's requests until the process is killed.
Preconditions
One account with the default user role. No administrator rights, no additional permissions, no configuration change and no non-default setting: creating and deleting chats is available to every user out of the box. The attack runs entirely against the attacker's own chat, so no knowledge of any other user's data is needed. Versions before 0.10.0 are unaffected because neither the message-deletion endpoint nor the affected code existed.
Impact
The walk is synchronous and runs on the asyncio event loop, so while it spins, every request from every user is blocked, including unauthenticated /health and administrator endpoints. External health checks and orchestrator liveness probes fail alongside the UI. This is a pure CPU pin with no list growth, so a worker consumes one full core with flat memory and has to be killed rather than being reclaimed by an out-of-memory kill. The work is not cancelled when the client disconnects, so a single fire-and-forget request is enough and the attacker can disconnect immediately. The malformed chat stays in the database, so the condition re-arms on the next deletion attempt against that chat. No data is disclosed, altered or deleted.
Fix
Fixed in 0.11.1 by https://github.com/open-webui/open-webui/commit/b933292d63d12be3fd1416fe55519ddc7aa336bc. The walk now records the ids it has already passed through, so it terminates after at most one step per stored message whatever the message contents are. Upgrading fully resolves the issue, including for chats stored while the deployment was on an affected version, which become harmless once the walk terminates.
Root cause
Affected component: the chat-history message deletion helper in backend/open_webui/models/chats.py, reached from DELETE /api/v1/chats/{id}/messages/{message_id}. Affected setup: all builds from 0.10.0 up to and including 0.11.0.
Resolving the chat's new current message after a deletion means descending to the deepest remaining child, and that descent had no notion of where it had already been, so two messages naming each other as children sent it back and forth indefinitely. The write path does not validate the structure of a chat's history, and the child-link rebuild that runs on other write paths does not apply when a chat is created, so a history whose childrenIds form a cycle was persisted exactly as submitted.
Proof of concept
As a default-role user on a running instance, store one chat of roughly 300 bytes whose messages reference each other as children:
{"chat":{"title":"poc","history":{"currentId":"C","messages":{
"A":{"id":"A","parentId":null,"role":"user","content":"a","childrenIds":["B","C"],"timestamp":1},
"B":{"id":"B","parentId":"A","role":"assistant","content":"b","childrenIds":["A"],"timestamp":2},
"C":{"id":"C","parentId":"A","role":"user","content":"c","childrenIds":[],"timestamp":3}}}}}POST /api/v1/chats/new stores it verbatim, with the child links unchanged. A single DELETE /api/v1/chats/{id}/messages/C as the same user then never returns:
unauthenticated GET /health -> HTTP 000 after 10.007s
DELETE -> HTTP 000 after 20.007sSampled during the hang, the worker had consumed 42.9 seconds of CPU on one fully occupied core with flat resident memory, and unauthenticated GET /health timed out for as long as the process lived, including after the attacker's connection closed.
On 0.11.1 the same payload returns HTTP 200 in 0.011s, /health stays available throughout, and deleting a middle message from a well-formed four-message chain still resolves the current message correctly.
Credits
@Classic298, who found the unguarded descent through the chat's child links, demonstrated the resulting server-wide outage end to end against a live instance, and supplied the fix.
Credited to Classic298.
Questions
- Does exploiting this need admin rights?
No. Any account with the default
userrole can do it, with no configuration change. The attack runs entirely against the attacker's own chat.- Is Open WebUI 0.9.x affected by this cycle-deletion bug?
No. Versions before 0.10.0 are unaffected because the message-deletion endpoint did not exist. Another advisory, CVE-2026-88002, covers a different cycle bug that reaches back to 0.5.0.
- Does a restart fix the hang?
Only temporarily. The cyclic chat stays in the database, and the next deletion against it hangs the process again. Upgrading to 0.11.1 is the fix.
- Does it leak data?
No. The advisory describes only a denial of service. No data is disclosed, altered or deleted.
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
