{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/50487?format=json","vulnerability_id":"VCID-m1qu-4h8f-6udw","summary":"OpenClaw has ReDoS and regex injection via unescaped Feishu mention metadata in RegExp construction\n`extensions/feishu/src/bot.ts` constructed `new RegExp()` directly from Feishu mention metadata (`mention.name`, `mention.key`) in `stripBotMention()` without escaping regex metacharacters.","aliases":[{"alias":"CVE-2026-22178"},{"alias":"GHSA-c6hr-w26q-c636"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/74146?format=json","purl":"pkg:npm/openclaw@2026.2.19","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/openclaw@2026.2.19"}],"affected_packages":[],"references":[{"reference_url":"https://github.com/openclaw/openclaw","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/openclaw/openclaw"},{"reference_url":"https://github.com/openclaw/openclaw/commit/74268489137510b6f6349919d1e197b17290d92c","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/openclaw/openclaw/commit/74268489137510b6f6349919d1e197b17290d92c"},{"reference_url":"https://github.com/openclaw/openclaw/commit/7e67ab75cc2f0e93569d12fecd1411c2961fcc8c","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/openclaw/openclaw/commit/7e67ab75cc2f0e93569d12fecd1411c2961fcc8c"},{"reference_url":"https://www.vulncheck.com/advisories/openclaw-redos-and-regex-injection-via-unescaped-feishu-mention-metadata","reference_id":"","reference_type":"","scores":[],"url":"https://www.vulncheck.com/advisories/openclaw-redos-and-regex-injection-via-unescaped-feishu-mention-metadata"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22178","reference_id":"CVE-2026-22178","reference_type":"","scores":[],"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22178"},{"reference_url":"https://github.com/advisories/GHSA-c6hr-w26q-c636","reference_id":"GHSA-c6hr-w26q-c636","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-c6hr-w26q-c636"},{"reference_url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-c6hr-w26q-c636","reference_id":"GHSA-c6hr-w26q-c636","reference_type":"","scores":[],"url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-c6hr-w26q-c636"}],"weaknesses":[{"cwe_id":1333,"name":"Inefficient Regular Expression Complexity","description":"The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."},{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."}],"exploits":[],"severity_range_score":null,"exploitability":null,"weighted_severity":null,"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-m1qu-4h8f-6udw"}