All vulnerabilities

Servers and applications

CVE-2026-109298

Any authenticated user can exhaust worker memory via a nested-repetition knowledge-search pattern

Severity
High 7.1
Published
27 Sept 2026
Last changed
28 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
0.11.4
Exploit chance
0.5% in the next 30 daysHigher than 41% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Uncontrolled resource consumption (CWE-400)Allocation without limits (CWE-770)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Also known as
GHSA-gww9-mhgj-pfqh
Sources
CVE Program, Project advisories (GitHub)

Description

The built-in knowledge search tools let a chat participant choose the pattern used to grep knowledge files. That pattern is compiled before any of the limits on the search apply, and the regular expression engine expands counted repetition as it compiles, so a pattern that nests repetition counts forces it to build a structure vastly larger than the pattern itself. A pattern of a couple of dozen characters makes one worker allocate hundreds of megabytes, and because compiled patterns are cached for the life of the process, that memory is never returned. Neither the size of that work nor the number of times it can be repeated is bounded.

  • Default configuration. The knowledge builtin tool group is enabled by default, and with ENABLE_KB_EXEC at its default of False the model is handed the knowledge grep tool, which is the affected path. The chat file grep tool and the kb_exec grep command share the same pattern compiler and are affected the same way.
From open-webui/open-webui's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Open WebUIServers and applications · cna:open-webui|open-webui
  • From 0.11.0 before 0.11.4
Open WebUIServers and applications · github:open-webui/open-webui
  • From 0.11.0 before 0.11.4

About Open WebUI

self-hosted user interface for artificial intelligence models

From Wikidata, CC0 1.0.
Weekly downloads (PyPI)
355,496PyPI Stats, 15 Nov 2026
Docker Hub pulls
990,663Docker Hub, 15 Nov 2026
GitHub stars
158,684GitHub, 15 Nov 2026
Forks
23,075GitHub, 15 Nov 2026
Latest release
v0.13.3GitHub, 15 Nov 2026
Released
8 Nov 2026GitHub
License
multi-licensingWikidata
First published on GitHub
6 Oct 2023GitHub

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-109298
  • GitHub Advisory Database https://github.com/advisories/GHSA-gww9-mhgj-pfqh
  • github.com https://github.com/open-webui/open-webui/security/advisories/GHSA-gww9-mhgj-pfqh