RCE in Openclaw
CVE-2026-22176
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.
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.006 (46.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L.
Affected products
- Openclaw — versions 0, 2026.2.19
Weakness classification (CWE)
References
- disclosure@vulncheck.com (vendor-advisory, Mitigation, Vendor Advisory, third-party-advisory)
- disclosure@vulncheck.com (Patch, patch)
- disclosure@vulncheck.com (Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2026-22176?
- CVE-2026-22176 is a medium-severity vulnerability in Openclaw, classified under OS Command Injection. CVSS score: 6.1/10. Published 2026-03-19.
- How severe is CVE-2026-22176?
- Medium severity. CVSS v3 base score is 6.1 out of 10.