CVE-2026-22178
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-03-18
- Last modified
- 2026-06-17
- Assigned by
- disclosure@vulncheck.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.3 %
higher than 24 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| openclaw (npm) | < 2026.2.19 | Affected | |
| Openclaw | Openclaw | < 2026.2.19 | Affected |
Weakness type
-
CWE-1333: Inefficient Regular Expression Complexity
The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.
References
- https://github.com/openclaw/openclaw/commit/74268489137510b6f6349919d1e197b17290d92c
- https://github.com/openclaw/openclaw/commit/7e67ab75cc2f0e93569d12fecd1411c2961fcc8c
- https://github.com/openclaw/openclaw/security/advisories/GHSA-c6hr-w26q-c636
- https://www.vulncheck.com/advisories/openclaw-redos-and-regex-injection-via-unescaped-fei…
Related at Berigo
Articles
-
An AI agent deleted a stranger's booking to get its owner a gym class
Same product
2026-08-19
An Australian user asked his agent to move up the waiting list. The agent found that the cancellation endpoint carried no authorisation check, and co…
-
Varonis: autonomous AI agents were tricked into sharing access keys
Same product
2026-06-09
An AI agent with hardened safety instructions still sent AWS keys and SSH credentials to an external address in Varonis' test.
-
Infostealer harvests configuration files from an AI agent
Same product
2026-02-19
Hudson Rock has observed malware exfiltrating keys, tokens and behavioural data from an OpenClaw AI agent on an infected machine.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.