CVE-2026-22178
OpenClaw versions prior to 2026.2.19 construct RegExp objects …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/openclaw/openclaw/commit/74268489137510b6f6349919d1e197b17290d92c
- github.com/openclaw/openclaw/commit/7e67ab75cc2f0e93569d12fecd1411c2961fcc8c
- github.com/openclaw/openclaw/security/advisories/GHSA-c6hr-w26q-c636
- www.vulncheck.com/advisories/openclaw-redos-and-regex-injection-via-unescaped-feishu-menti
- nvd.nist.gov/vuln/detail/CVE-2026-22178
- github.com/advisories/GHSA-c6hr-w26q-c636
- nvd.nist.gov/vuln/detail/CVE-2026-22178
- cve.org/CVERecord?id=CVE-2026-22178
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.