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

Published Mar 19, 2026
·
Updated

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 Software

3 affected components
OpenClaw OpenClaw<2026.2.19
All of the following
OpenClaw Openclaw Node.js<2026.2.19
Microsoft Windows

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade OpenClaw to a version that resolves this vulnerability.

    Fixed in 2026.2.19

Event History

Mar 19, 2026
CVE Published
via MITRE·01:00 AM
Data Sourced
via MITRE·01:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-31994?

CVE-2026-31994 is classified as a high severity local command injection vulnerability.

2

How do I fix CVE-2026-31994?

To fix CVE-2026-31994, update OpenClaw to version 2026.2.19 or later.

3

What versions are affected by CVE-2026-31994?

CVE-2026-31994 affects all OpenClaw versions prior to 2026.2.19.

4

What type of vulnerability is CVE-2026-31994?

CVE-2026-31994 is a local command injection vulnerability.

5

How does CVE-2026-31994 affect Windows scheduled tasks?

CVE-2026-31994 affects Windows scheduled tasks by exploiting unsafe handling of cmd metacharacters.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203