Inefficient regular expression complexity in Open WebUI - CVE-2026-109295
Published: November 4, 2026
Vulnerability details
The vulnerability allows a remote user to cause a denial of service by repeatedly stalling a server worker and delaying requests from other users.
The vulnerability exists due to inefficient regular expression complexity and synchronous execution in Open WebUI's built-in file search tools when processing user-supplied patterns on the server event loop. A remote user can instruct a chat model to call grep_knowledge_files or grep_chat_files with the pattern (a|a)+$ against a readable file containing 28 a characters followed by ! to block the worker for approximately two seconds per call and repeat the calls to prolong the disruption.
Deployments using the default UVICORN_WORKERS value of 1 stall the entire instance; multi-worker deployments stall one worker per call.