openclaw
Affected
- introduced
0, fixed2026.2.2(semver)
Fixed versions
2026.2.2
Fix
- Fixed version
2026.2.2npm install [email protected]
Advisory
Also known as: CVE-2026-28391
OpenClaw's Windows cmd.exe parsing may bypass exec allowlist/approval gating
Summary
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.
Affected Packages / Versions
openclaw (npm)<= 2026.2.1>= 2026.2.22026.2.13Details
cmd.exe via src/infra/node-shell.ts.cmd.exe invocation as not allowlist-safe on Windows.cmd.exe entirely in allowlist mode by executing the parsed argv directly when possible.Fix Commit(s)
a7f4a53ce80c98ba1452eb90802d447fca9bf3d6Thanks @simecek for reporting.
High Basis: The source's own band: HIGH
0, fixed 2026.2.2 (semver)2026.2.2
2026.2.2npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0