Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-70493 EUVD-2026-52925GHSA-2f54-p244-32q6PYSEC-2026-3637

Open WebUI: Any authenticated user can stall a worker via a knowledge-search pattern that backtracks catastrophically

Published Aug 4, 2026 · Updated Aug 5, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
open-webui open-webui >= 0.9.6, < 0.11.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI open-webui >= 0.9.6, < 0.11.0 0.11.0 GHSA-2f54-p244-32q6

References