PT-2026-67861 · Unknown · Open-Webui
CVE-2026-70493
·
Published
2026-08-04
·
Updated
2026-08-10
CVSS v3.1
6.5
Medium
| Vector | AV: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()inbackend/open webui/tools/knowledge fs.pyandgrep knowledge files()inbackend/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
Affected Products
Open-Webui