Inefficient regular expression complexity in Open WebUI - #VU140748
Published: August 3, 2026
Vulnerability details
The vulnerability allows a remote user to cause a denial of service.
The vulnerability exists due to inefficient regular expression complexity in grep_knowledge_files when processing a user-supplied knowledge-search pattern. A remote user can supply a crafted pattern that triggers catastrophic backtracking to cause a denial of service.
User interaction by the model is required to invoke the affected tool with the supplied literal pattern, and single-worker deployments can lose the whole instance while multi-worker deployments lose one worker per request.