PT-2026-67861 · Unknown · Open-Webui

CVE-2026-70493

·

Published

2026-08-04

·

Updated

2026-08-10

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Open WebUI versions 0.9.6 through 0.10.x
Description The built-in knowledge search tools allow a chat participant to specify a pattern used to grep knowledge files. When patterns contain regex metacharacters, they are compiled using Python's backtracking re engine and executed against every line of reachable files without a time limit. A specially crafted pattern, such as (x|x)*y, combined with a matching uploaded file line, can cause a Regular Expression Denial of Service (ReDoS). This occurs because the search runs synchronously inside the event loop, pinning a CPU core and blocking the worker from serving other users. The computational cost increases exponentially with the length of the matching text.
Technical details include:
  • Vulnerable Functions: build matcher() in backend/open webui/tools/knowledge fs.py and grep knowledge files() in backend/open webui/tools/builtin.py.
  • Vulnerable Parameters: The pattern used for searching knowledge files.
Recommendations Update Open WebUI to version 0.11.0.

Exploit

Fix

DoS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-70493
GHSA-2F54-P244-32Q6
PYSEC-2026-3637

Affected Products

Open-Webui