Vulnerability Description
OpenClaw versions prior to 2026.2.19 construct RegExp objects directly from unescaped Feishu mention metadata in the stripBotMention function, allowing regex injection and denial of service. Attackers can craft nested-quantifier patterns or metacharacters in mention metadata to trigger catastrophic backtracking, block message processing, or remove unintended content before model processing.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Openclaw | Openclaw | < 2026.2.19 |
Related Weaknesses (CWE)
References
- https://github.com/openclaw/openclaw/commit/74268489137510b6f6349919d1e197b17290Patch
- https://github.com/openclaw/openclaw/commit/7e67ab75cc2f0e93569d12fecd1411c2961fPatch
- https://github.com/openclaw/openclaw/security/advisories/GHSA-c6hr-w26q-c636Vendor Advisory
- https://www.vulncheck.com/advisories/openclaw-redos-and-regex-injection-via-unesThird Party Advisory
FAQ
What is CVE-2026-22178?
CVE-2026-22178 is a vulnerability with a CVSS score of 6.5 (MEDIUM). OpenClaw versions prior to 2026.2.19 construct RegExp objects directly from unescaped Feishu mention metadata in the stripBotMention function, allowing regex injection and denial of service. Attackers...
How severe is CVE-2026-22178?
CVE-2026-22178 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-22178?
Check the references section above for vendor advisories and patch information. Affected products include: Openclaw Openclaw.