Description
Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.9.6 until 0.11.0, the built-in knowledge search path in backend/open_webui/tools/knowledge_fs.py and backend/open_webui/tools/builtin.py let a chat participant choose a pattern used to grep knowledge files. Patterns containing regex metacharacters were compiled with Python's backtracking re engine and run against every line of every reachable file with no time limit, so a crafted pattern such as (x|x)*y and one matching uploaded file line can pin one CPU core and block the event loop. This causes availability impact for every other user of the affected worker. This issue is fixed in 0.11.0.
Published: 2026-08-04
Score: 6.5 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw resides in Open WebUI’s knowledge search path, permitting any logged‑in user to submit arbitrary regex patterns. If a pattern contains backtracking constructs, it is run against every line of every reachable knowledge file with no execution limit. A crafted expression can monopolise a worker’s CPU, stall the event loop, and force the entire worker to become unavailable for all other users, resulting in a service outage.

Affected Systems

Open WebUI products from version 0.9.6 up to 0.10.x are vulnerable. The affected component is identified as open-webui:open-webui. Any instance deployed with these releases is at risk until the software is updated beyond 0.10.x.

Risk and Exploitability

The CVSS score of 6.5 indicates a moderate severity. No EPSS score is currently available, and the vulnerability is not listed in CISA’s KEV catalog. The attack requires authentication and relies on the user ability to supply a regex pattern. While no public exploits have been reported, an attacker with a valid user account could easily trigger the backtracking, causing a denial of service to all users sharing the same worker.

Generated by OpenCVE AI on August 4, 2026 at 22:57 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update Open WebUI to version 0.11.0 or newer, which removes the unbounded regex execution bug.
  • Limit or disable the knowledge search feature for non‑privileged users, or enforce stricter role‑based access controls so only trusted users can execute complex regex patterns.
  • Implement monitoring of worker CPU usage to detect sudden spikes and automatically restart stalled workers or isolate the affected instance.

Generated by OpenCVE AI on August 4, 2026 at 22:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-2f54-p244-32q6 Open WebUI: Any authenticated user can stall a worker via a knowledge-search pattern that backtracks catastrophically
History

Tue, 04 Aug 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Open-webui
Open-webui open-webui
Vendors & Products Open-webui
Open-webui open-webui

Tue, 04 Aug 2026 21:15:00 +0000

Type Values Removed Values Added
Description Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.9.6 until 0.11.0, the built-in knowledge search path in backend/open_webui/tools/knowledge_fs.py and backend/open_webui/tools/builtin.py let a chat participant choose a pattern used to grep knowledge files. Patterns containing regex metacharacters were compiled with Python's backtracking re engine and run against every line of every reachable file with no time limit, so a crafted pattern such as (x|x)*y and one matching uploaded file line can pin one CPU core and block the event loop. This causes availability impact for every other user of the affected worker. This issue is fixed in 0.11.0.
Title Open WebUI: Any authenticated user can stall a worker via a knowledge-search pattern that backtracks catastrophically
Weaknesses CWE-1333
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

Open-webui Open-webui
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-04T20:56:20.541Z

Reserved: 2026-08-04T15:24:41.340Z

Link: CVE-2026-70493

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T23:00:14Z

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity