Inefficient Regular Expression Complexity
CVE-2026-22178
Summary
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 (DoS). 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.
- LOW
- NETWORK
- LOW
- UNCHANGED
- NONE
- NONE
- NONE
- HIGH
CWE-1333 - Inefficient Regular Expression Complexity
The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.
References
Advisory Timeline
- Published