p PatchFirst

CVE-2026-31994

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.9 · Medium · EPSS 0.6% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • openclaw

    Versions
    • ≥ 0, < 2026.2.19: Affected (semver)

    Update to 2026.2.19

  • openclaw npm

    Affected ranges
    • SEMVER: < 2026.2.19

    Update to 2026.2.19

Original sources

Check your server →