---
id: CVE-2026-109298
title: >-
  Open WebUI 0.11.0 before 0.11.4 compiles user-chosen grep patterns for its
  knowledge and chat file search tools with a regex engine that expands nested
  counted repetition unbounded at compile time and caches the result
summary: >-
  Open WebUI 0.11.0 before 0.11.4 compiles user-chosen grep patterns for its
  knowledge and chat file search tools with a regex engine that expands nested
  counted repetition unbounded at compile time and caches the result.
  Authenticated use…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-400
published: '2026-10-12'
updated: '2026-10-12'
sourceUpdated: '2026-10-12T17:17:23.390'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-109298'
references:
  - url: >-
      https://github.com/open-webui/open-webui/commit/97e013a66169c4fcd7f26ab9e41a4ff260ffd4da
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/open-webui/open-webui/security/advisories/GHSA-gww9-mhgj-pfqh
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/open-webui-0.11.0-before-0.11.4-memory-exhaustion-via-knowledge-search-regex
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-10-12T18:00:08.193Z'
---

## Overview

Open WebUI 0.11.0 before 0.11.4 compiles user-chosen grep patterns for its knowledge and chat file search tools with a regex engine that expands nested counted repetition unbounded at compile time and caches the result. Authenticated users can have the model call grep_knowledge_files with short nested-repetition patterns, blocking the event loop and exhausting worker memory.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
