Infinite loop in Open WebUI - #VU146340
Published: August 31, 2026
Vulnerability details
The vulnerability allows a remote user to cause a denial of service.
The vulnerability exists due to an infinite loop in the chat-history message deletion helper in backend/open_webui/models/chats.py when deleting a message from a chat history whose childrenIds links form a cycle. A remote user can store a crafted cyclic chat tree and delete a message to cause a denial of service.
The issue is triggered through DELETE /api/v1/chats/{id}/messages/{message_id}, and the blocking work continues even if the client disconnects.