CVE-2026-22178
MEDIUM 6.9CVSS 4.0OpenClaw has ReDoS and regex injection via unescaped Feishu mention metadata in RegExp construction
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.
- Published
- 18 Mar 2026
- Last modified
- 17 Jun 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-1333
- Also known as
- GHSA-c6hr-w26q-c636
- Sources
- NVDJSONOSV GHSA-c6hr-w26q-c636JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | MEDIUM 6.9 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openclaw | openclawcpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:* |
< 2026.2.19 | 2026.2.19 |
| OSV | npm | openclaw | < 2026.2.19 | 2026.2.19 |
References
- https://github.com/openclaw/openclaw/commit/74268489137510b6f6349919d1e197b17290d92c · Patch, WEB
- https://github.com/openclaw/openclaw/commit/7e67ab75cc2f0e93569d12fecd1411c2961fcc8c · Patch, WEB
- https://github.com/openclaw/openclaw/security/advisories/GHSA-c6hr-w26q-c636 · Vendor Advisory, WEB
- https://www.vulncheck.com/advisories/openclaw-redos-and-regex-injection-via-unescaped-feishu-mention-metadata · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-22178 · ADVISORY
- https://github.com/openclaw/openclaw · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 18 Mar 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 2 Mar 2026)