Skip to main content
← All vulnerabilities
CVE-2026-22176GHSA-PJ5X-38RW-6FPH

OpenClaw < 2026.2.19 - Command Injection via Unescaped Environment Variables in Windows Scheduled Task Script Generation

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2026.2.19
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

OpenClaw versions prior to 2026.2.19 contain a command injection vulnerability in Windows Scheduled Task script generation where environment variables are written to gateway.cmd using unquoted set KEY=VALUE assignments, allowing shell metacharacters to break out of assignment context. Attackers can inject arbitrary commands through environment variable values containing metacharacters like &, |, ^, %, or ! to achieve command execution when the scheduled task script is generated and executed.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • OpenClaw OpenClaw

    fixed in 2026.2.19

  • openclawnpm

    fixed in 2026.2.19

References 3

GitHub · openclaw/openclaw

vulncheck.com