Allocation of Resources Without Limits or Throttling in Open WebUI - CVE-2026-109298
Published: November 4, 2026
Vulnerability details
The vulnerability allows a remote user to exhaust worker memory and cause a denial of service.
The vulnerability exists due to allocation of resources without limits in the build_matcher function in backend/open_webui/tools/knowledge_fs.py when compiling user-supplied regular expressions for knowledge and chat file searches. A remote user can induce a model to call a search tool with a nested-repetition pattern such as ((((a{40}){40}){40}){40})|x to trigger excessive memory allocation before search limits apply. Repeated compilation of distinct patterns retains allocations in the pattern cache and can exhaust worker memory.
At least one readable file must be in scope for exploitation; the user can supply their own uploaded file.