Open WebUI: Any authenticated user can stall a worker via a knowledge-search pattern that backtracks catastrophically
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
open-webuiPyPI | >= 0.9.6, < 0.11.0 | 0.11.0 |
Affected products
1- Range: 0.9.6 - 0.11.0
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-2f54-p244-32q6ghsaADVISORY
- github.com/open-webui/open-webui/commit/3ab2026262ef6f09810e4d235c5f9a9cb903e595ghsax_refsource_MISCWEB
- github.com/open-webui/open-webui/pull/27471ghsax_refsource_MISCWEB
- github.com/open-webui/open-webui/releases/tag/v0.11.0ghsax_refsource_MISCWEB
- github.com/open-webui/open-webui/security/advisories/GHSA-2f54-p244-32q6ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.