Infinite loop in Open WebUI - #VU146338
Published: August 31, 2026
Vulnerability details
The vulnerability allows a remote user to cause a denial of service.
The vulnerability exists due to a loop with an unreachable exit condition in the message-chain reconstruction helper in backend/open_webui/utils/misc.py when processing a crafted cyclic chat message history. A remote user can store a specially crafted chat history and trigger chat history reconstruction to cause a denial of service.
The issue is triggered by messages that reference each other through parent links while omitting the id field, and the blocking work continues even if the client disconnects.