CVE-2026-31994

published 19 Mar 2026 · updated 23 Jun 2026

OpenClaw < 2026.2.19 - Local Command Injection via Unsafe cmd Argument Handling in Windows Scheduled Task Script Generation

7.1HighCVSS 7.1EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 2026.2.19.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
OpenClaw<2026.2.192026.2.19

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-31994 severity on Zeptric[![CVE-2026-31994](https://zeptric.io/badge/cve/CVE-2026-31994.svg)](https://zeptric.io/cve/CVE-2026-31994)