CVE-2026-31994 OpenClaw < 2026.2.19 - Local Command Injection via Unsafe cmd Argument Handling in Windows Scheduled Task Script Generation
MediumCVSS 6.9
EPSS 1.0%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
OpenClaw versions prior to 2026.2.19 contain a local command injection vulnerability in Windows scheduled task script generation due to unsafe handling of cmd metacharacters and expansion-sensitive characters in gateway.cmd files. Local attackers with control over service script generation arguments can inject arbitrary commands by providing metacharacter-only values or CR/LF sequences that execute unintended code in the scheduled task context.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm openclaw | < 2026.2.19 | 2026.2.19 | Fixed |
| npm openclaw(npm) | < 2026.2.19 | 2026.2.19 | Fixed |
| openclaw | < 2026.2.19 | 2026.2.19 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm openclaw | < 2026.2.19 | 2026.2.19 |
| npm openclaw(npm) | < 2026.2.19 | 2026.2.19 |
| openclaw | < 2026.2.19 | 2026.2.19 |
References
- GitHub Security Advisory (GHSA-mqr9-vqhq-3jxw) vendor-advisory
- Patch Commit patch
- VulnCheck Advisory: OpenClaw < 2026.2.19 - Local Command Injection via Unsafe cmd Argument Handling in Windows Scheduled Task Script Generation third-party-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product