openclaw
Affected
- introduced
0, fixed2026.2.19(semver)
Fixed versions
2026.2.19
Fix
- Fixed version
2026.2.19npm install [email protected]
Advisory
Also known as: CVE-2026-31994
OpenClaw Windows Scheduled Task script generation allowed local command injection via unsafe cmd argument handling
Summary
OpenClaw Windows Scheduled Task script generation allowed unsafe argument handling in generated gateway.cmd files. In vulnerable versions, cmd metacharacter-only values could be emitted without safe quoting/escaping, which could lead to unintended command execution when the scheduled task runs.
Details
The issue affected Windows daemon startup script generation in src/daemon/schtasks.ts.
Vulnerable behavior included:
The fix hardens Windows script generation by:
% / ! expansion cases.Impact
This issue is local to Windows deployments and requires control over values that feed service script generation (for example install-time/runtime arguments or environment-derived values). It can result in unintended command execution in the scheduled task context.
Affected Packages / Versions
openclaw (npm)<= 2026.2.17>= 2026.2.19 (planned next npm release)2026.2.17Fix Commit(s)
280c6b117b2f0e24f398e5219048cd4cc3b82396OpenClaw thanks @tdjackey for reporting.
High Basis: The source's own band: HIGH
0, fixed 2026.2.19 (semver)2026.2.19
2026.2.19npm 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