Skip to content
MediumVulnerability

CVE-2026-22176: OpenClaw command injection in Windows Scheduled Task script generation

Identifier
CVE-2026-22176
Published
Record updated
View JSON
Affected
  • openclaw <= 2026.2.17
Fixed in
2026.2.19
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.7%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

OpenClaw versions prior to 2026.2.19 contain a command injection flaw in Windows Scheduled Task script generation. Environment variables are written to gateway.cmd using unquoted set KEY=VALUE assignments, so shell metacharacters such as &, |, ^, %, or ! can break out of the assignment context. An attacker who controls an environment variable value can achieve arbitrary command execution when the scheduled task script is generated and run.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.