LiveActive security incident?Get immediate response
CVE Record

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

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.

HighCVSS 7.1Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2026-31994 is a local command injection issue in OpenClaw on Windows. A logged-in attacker who can influence scheduled task script generation arguments may cause unintended commands to run in the scheduled task context. This is not described as remote exploitation, but it can seriously affect integrity and availability on exposed Windows deployments.

Executive priority

Prioritize remediation for Windows OpenClaw deployments on shared or sensitive systems. The vulnerability is high severity but local, so urgency depends on who has local access and whether scheduled task generation is enabled or exposed to less-trusted users.

Technical view

OpenClaw versions prior to 2026.2.19 mishandle Windows cmd metacharacters, expansion-sensitive characters, and CR/LF sequences when generating gateway.cmd scheduled task scripts. The issue is classified as CWE-78 and scored CVSS 7.1: local attack vector, low complexity, low privileges, no user interaction, high integrity and availability impact.

Likely exposure

Exposure is most relevant to Windows systems running OpenClaw before 2026.2.19 where local users or processes can control service script generation arguments. The provided affected metadata is limited and somewhat inconsistent, so teams should verify against vendor advisory details and installed versions.

Exploitation context

The source bundle does not show CISA KEV listing or confirmed active exploitation. Exploitation requires local access and control over relevant script generation inputs, limiting internet-scale risk but increasing concern on shared systems, developer workstations, and compromised hosts.

Researcher notes

Evidence supports local command injection in Windows scheduled task script generation fixed by a referenced patch commit. Public source details identify unsafe cmd argument handling but do not establish active exploitation. Affected-version metadata in the bundle should be cross-checked against the GitHub advisory and CVE record.

Mitigation direction

  • Upgrade OpenClaw to 2026.2.19 or later if vendor guidance confirms applicability.
  • Review the GitHub advisory and patch commit for exact affected configurations.
  • Restrict who can generate or modify OpenClaw service scripts on Windows hosts.
  • Limit local user access on systems running OpenClaw scheduled tasks.
  • Monitor vendor channels for updated remediation guidance.

Validation and detection

  • Inventory Windows systems running OpenClaw and record installed versions.
  • Confirm whether gateway.cmd scheduled task generation is used.
  • Check whether installed versions are earlier than 2026.2.19.
  • Review scheduled task scripts for unexpected content or recent unauthorized changes.
  • Validate access controls around service script generation inputs.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-78: Command execution behavior lookup

Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-31994 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.1 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

2CVSS vectors
3Timeline events
1ADP providers
4Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

2 official scores

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.1CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H1.85.2VulnCheck
6.9CVSS 4.0MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N——VulnCheck

Vulnerability scoring details

Base CVSS 4.0 score

6.9Medium
CVSS 4.0 vector shape for CVE-2026-31994Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
OpenClawOpenClaw0unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-78 · source CWE mapping

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.