CVE-2026-31994
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.
How to fix
- openclaw openclaw2026.2.19 or later
- openclaw2026.2.19 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openclaw openclaw | v < 2026.2.19 | 2026.2.19 |
| openclawnpm | v < 2026.2.19 | 2026.2.19 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.