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

CVE-2026-28391: OpenClaw's Windows cmd.exe parsing may bypass exec allowlist/approval gating

February 17, 2026 (updated March 10, 2026)

On Windows nodes, exec requests were executed via cmd.exe /d /s /c <rawCommand>. In allowlist/approval-gated mode, the allowlist analysis did not model Windows cmd.exe parsing and metacharacter behavior. A crafted command string could cause cmd.exe to interpret additional operations (for example command chaining via &, or expansion via %...% / !...!) beyond what was allowlisted/approved.

References

  • github.com/advisories/GHSA-qj77-c3c8-9c3q
  • github.com/openclaw/openclaw
  • github.com/openclaw/openclaw/commit/a7f4a53ce80c98ba1452eb90802d447fca9bf3d6
  • github.com/openclaw/openclaw/releases/tag/v2026.2.2
  • github.com/openclaw/openclaw/security/advisories/GHSA-qj77-c3c8-9c3q
  • nvd.nist.gov/vuln/detail/CVE-2026-28391
  • www.vulncheck.com/advisories/openclaw-command-injection-via-cmdexe-parsing-bypass-in-allowlist-enforcement

Code Behaviors & Features

Detect and mitigate CVE-2026-28391 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.2

Fixed versions

  • 2026.2.2

Solution

Upgrade to version 2026.2.2 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

npm/openclaw/CVE-2026-28391.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 24 Mar 2026 12:19:02 +0000.