CVE-2026-31994

Severity CVSS v4.0:
MEDIUM
Type:
CWE-78 OS Command Injections
Publication date:
19/03/2026
Last modified:
19/03/2026

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:* 2026.2.19 (excluding)
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*