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.
Published: 2026-07-09
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Open WebUI allows chat clients to use the syntax <$skillId|label> for skill mentions. The SKILL_MENTION_RE and strip_re regular expressions in the middleware contain overlapping quantifiers. While parsing an input that includes an opening '<$' without the closing '>' the patterns trigger quadratic back‑tracking, which blocks the asyncio event loop and renders the entire Open WebUI instance unresponsive. This is a classic Regular Expression Denial of Service (ReDoS) flaw classified as CWE‑1333.

Affected Systems

The vulnerability exists in Open WebUI releases from version 0.9.2 up to, but not including, 0.10.0, where the default skill‑mention processing configuration is enabled. Any instance running one of these unpatched builds and allowing authenticated users to send chat messages is affected. Deployments built from the public release starting at 0.10.0 contain the fixed regex definitions and are not impacted.

Risk and Exploitability

The CVSS score of 6.5 indicates a moderate severity, and the EPSS score of < 1% suggests a low likelihood of exploitation overall, though the vulnerability is not listed in the CISA KEV catalog. The flaw requires an authenticated user to send a crafted chat message containing an incomplete skill‑mention. Because the exploit can terminate the entire service with a single message, the overall risk to availability is high for exposed deployments that permit authenticated chat traffic. Administrators should prioritize patching or applying mitigating controls to avoid service disruption.

Generated by OpenCVE AI on July 29, 2026 at 12:15 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update Open WebUI to version 0.10.0 or later to apply the fixed regular expressions.
  • Temporarily disable the SKILL_MENTION_RE and strip_re processing in the middleware until a newer version is available.
  • Implement server‑side validation that rejects any '<$' sequence lacking a closing '>' before processing chat messages.

Generated by OpenCVE AI on July 29, 2026 at 12:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-ffpj-xv5c-p3gw Open WebUI: ReDoS in skill-mention regexes causes whole-instance DoS on default config
History

Thu, 09 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 09 Jul 2026 17:45:00 +0000

Type Values Removed Values Added
First Time appeared Open-webui
Open-webui open-webui
Vendors & Products Open-webui
Open-webui open-webui

Thu, 09 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
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.
Title Open WebUI: ReDoS in skill-mention regexes causes whole-instance DoS on default config
Weaknesses CWE-1333
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

Open-webui Open-webui
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-09T18:45:06.768Z

Reserved: 2026-07-02T21:05:02.925Z

Link: CVE-2026-59220

cve-icon Vulnrichment

Updated: 2026-07-09T18:44:39.884Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T12:15:04Z

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity