Open WebUI: ReDoS in skill-mention regexes causes whole-instance DoS on default config
open-webui
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| open-webui PyPI |
|
|
Original description
Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.9.2 before 0.10.0, the SKILL_MENTION_RE and strip_re regular expressions in backend/open_webui/utils/middleware.py parsed <$skillId|label> skill mentions with overlapping quantifiers, allowing an authenticated chat message containing <$ without a closing > to trigger quadratic backtracking and block the asyncio event loop. This issue is fixed in version 0.10.0.
From the CVE record · GitHub_M