Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. openclaw
  4. ›
  5. CVE-2026-22178

CVE-2026-22178: OpenClaw has ReDoS and regex injection via unescaped Feishu mention metadata in RegExp construction

March 2, 2026 (updated March 19, 2026)

extensions/feishu/src/bot.ts constructed new RegExp() directly from Feishu mention metadata (mention.name, mention.key) in stripBotMention() without escaping regex metacharacters.

References

  • github.com/advisories/GHSA-c6hr-w26q-c636
  • github.com/openclaw/openclaw
  • github.com/openclaw/openclaw/commit/74268489137510b6f6349919d1e197b17290d92c
  • github.com/openclaw/openclaw/commit/7e67ab75cc2f0e93569d12fecd1411c2961fcc8c
  • github.com/openclaw/openclaw/security/advisories/GHSA-c6hr-w26q-c636
  • nvd.nist.gov/vuln/detail/CVE-2026-22178
  • www.vulncheck.com/advisories/openclaw-redos-and-regex-injection-via-unescaped-feishu-mention-metadata

Code Behaviors & Features

Detect and mitigate CVE-2026-22178 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2026.2.19

Fixed versions

  • 2026.2.19

Solution

Upgrade to version 2026.2.19 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

npm/openclaw/CVE-2026-22178.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 24 Mar 2026 12:17:16 +0000.