Home

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.

PUBLISHED Reserved 2026-01-06 | Published 2026-03-18 | Updated 2026-03-18 | Assigner VulnCheck




MEDIUM: 6.9CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

MEDIUM: 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Problem types

CWE-1333

Product status

Default status
unaffected

Any version before 2026.2.19
affected

2026.2.19 (semver)
unaffected

Credits

Sean Nejad (@allsmog) finder

References

github.com/...enclaw/security/advisories/GHSA-c6hr-w26q-c636 (GitHub Security Advisory (GHSA-c6hr-w26q-c636)) third-party-advisory

github.com/...ommit/7e67ab75cc2f0e93569d12fecd1411c2961fcc8c (Patch Commit #1) patch

github.com/...ommit/74268489137510b6f6349919d1e197b17290d92c (Patch Commit #2) patch

www.vulncheck.com/...n-via-unescaped-feishu-mention-metadata (VulnCheck Advisory: OpenClaw < 2026.2.19 - ReDoS and Regex Injection via Unescaped Feishu Mention Metadata) third-party-advisory

cve.org (CVE-2026-22178)

nvd.nist.gov (CVE-2026-22178)

Download JSON