open-webui is vulnerable to Uncontrolled Resource Consumption
71
CVE Score
High
Uncontrolled Resource Consumption
Before the fix, grep_knowledge_files passed a chat participant's search pattern to build_matcher, which compiled it with an engine that expands nested counted repetition unbounded at compile time and caches the result; a few dozen characters made a worker allocate hundreds of megabytes, blocked its event loop for the duration, and the compiled pattern stayed cached. Any signed-in user could supply the pattern through a chat with a model willing to call the knowledge grep tool, with no elevated role; releases 0.11.1 to 0.11.3 kept only a raw-text count check that spellings like an escaped character or verbose-mode whitespace bypassed. The fix compiles search patterns with RE2 under a 1 MiB memory cap and limits pattern length.
Upgrade the open-webui package to 0.11.4 or later.
You are affected if you are using a version that falls within the vulnerable range and use the knowledge or chat file search tools as a signed-in user, where the model you chat with greps with a pattern you supply.
0.11.0 - 0.11.3
Fixed in 0.11.4open-webui is vulnerable to Uncontrolled Resource Consumption in versions 0.11.0 - 0.11.3.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.