GHSA-ffpj-xv5c-p3gw: Open WebUI: ReDoS in skill-mention regexes causes whole-instance DoS on default config
- Identifiers
- CVE-2026-59220GHSA-ffpj-xv5c-p3gw
- Published
- Record updated
- Affected
- open-webui >= 0.9.2, < 0.10.0
- Fixed in
- 0.10.0
- released June 29, 2026, 25 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.4%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
Two regexes in backend/open_webui/utils/middleware.py that parse <$skillId|label> skill-mention tags backtrack in O(n²) on input containing <$ followed by a long run without a closing >. Both run synchronously on the asyncio event loop for every chat completion with no feature gate, so with the default single uvicorn worker any authenticated user can freeze the whole instance with one chat message. Affected versions are >= 0.9.2 and < 0.10.0, with v0.9.6 especially vulnerable to a small input.
Mitigation
Fixed in v0.10.0. The patch rewrites the optional |label as a non-capturing optional group: SKILL_MENTION_RE = re.compile(r'<\$([^|>]+)(?:\|[^>]*)?>') and strip_re = re.compile(r'<\$[^|>]+(?:\|([^>]*))?>').
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- open-webuiPyPILLM dependency since 2024-05-20
Related items
- MediumCVE-2026-143823: MLflow denial of service via regex backtracking in skill registration errorsSimilar attack, NVD/CVE Database
- MediumAutonomous AI attack targeted Perplexity to steal cloud credentialsSimilar attack, BleepingComputer
- HighCVE-2026-76813: CKAN MCP Server denial of service through unbounded response decompressionSimilar attack, NVD/CVE Database
- MediumCVE-2026-142225: Bytebase DBHub regular expression denial of service via search_objectsSimilar attack, NVD/CVE Database
- HighCVE-2026-59345: ExtractedTextFormatter denial of service when processing untrusted document textSimilar attack, NVD/CVE Database