Skip to main content

Openclaw EUVDEUVD-2026-14553

| CVE-2026-22173 HIGH
OS Command Injection (CWE-78)
2026-03-23 VulnCheck GHSA-pv5j-hvrw-38j6
7.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious environment variable with shell metacharacters
  2. Exploit
    OpenClaw writes unquoted variable to gateway.cmd
  3. Execution
    Scheduled task executes gateway.cmd script
  4. Impact
    Injected commands execute with task privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Local attacker access to OpenClaw versions prior to 2026.2.18. Requires ability to provide malicious environment variables through configuration before Windows Scheduled Task script generation and execution. No user interaction needed once config is supplied.

Impact

The real-world risk is moderate despite the 7.4 CVSS score. The CVSS vector (AV:L/AC:H/PR:N/UI:N) indicates local attack vector with high complexity, meaning the attacker needs local access or the ability to influence configuration files, and the exploitation requires specific conditions to be met during scheduled task generation. The PR:N (no privileges required) suggests attackers don't need authentication, but the local vector constrains the attack surface significantly compared to network-exploitable vulnerabilities. No EPSS score or KEV listing is mentioned, suggesting this is not being actively exploited in the wild. The availability of a patch (commit dafe52e8cf1a041d898cfb304a485fa05e5f58fb) reduces long-term risk for organizations with active patch management. The high complexity (AC:H) indicates this is not easily automatable and requires attacker knowledge of the specific environment and timing of scheduled task generation. This represents a moderate priority for organizations using OpenClaw on Windows systems, particularly where untrusted users can modify configuration files, but it is not an emergency-level threat requiring immediate action across all environments.

Exploit ScenarioDerived

An attacker with the ability to modify OpenClaw configuration files (either through compromised credentials, social engineering, or another vulnerability) injects shell metacharacters into environment variable values intended for scheduled task configuration. When OpenClaw generates the gateway.cmd batch file for a scheduled task, the malicious payload breaks out of the unquoted assignment context—for example, a value like 'innocent&calc.exe&' would result in calculator execution. When the Windows Task Scheduler subsequently executes this generated batch file at its scheduled time, the injected commands run with the privileges of the scheduled task, potentially allowing persistent access, data exfiltration, or lateral movement depending on the task's configured permissions.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 23, 2026

OpenClaw, an open-source game engine component, contains a command injection vulnerability in its Windows Scheduled Task script generation mechanism. Versions prior to 2026.2.18 write environment variables unquoted to gateway.cmd files, allowing attackers to inject shell metacharacters that break out of assignment context and execute arbitrary commands when the scheduled task runs. This vulnerability has a CVSS score of 7.4 (High) with local attack vector and high attack complexity, and a patch is currently available from the vendor.

RemediationAI

Upgrade OpenClaw to version 2026.2.18 or later, which contains the fix committed in https://github.com/openclaw/openclaw/commit/dafe52e8cf1a041d898cfb304a485fa05e5f58fb. Organizations should review the vendor security advisory at https://github.com/openclaw/openclaw/security/advisories/GHSA-pj5x-38rw-6fph for complete upgrade instructions and any additional security recommendations. Until patching is completed, organizations should implement compensating controls including restricting write access to OpenClaw configuration files to trusted administrators only, monitoring gateway.cmd file generation for suspicious content, and validating all environment variable values against a strict allowlist before they are incorporated into configuration. Additionally, consider running OpenClaw processes with minimal privileges to limit the impact of successful command injection attacks, and audit existing scheduled tasks generated by vulnerable versions for potentially malicious commands that may have been injected prior to patching.

Affected VersionsENISA

OpenClaw 0 <2026.2.19

Affected Packages

euvd openclaw fix: 2026.2.19

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability affects OpenClaw (CPE: cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:*:*:*), specifically the Windows-based scheduled task automation component that generates gateway.cmd batch scripts. The root cause is classified as CWE-78 (OS Command Injection), arising from improper neutralization of special elements when constructing shell commands. When the application generates Windows batch files for scheduled tasks, it writes environment variable assignments without proper quoting or escaping. In Windows batch file syntax, unquoted values containing shell metacharacters such as ampersands (&), pipes (|), or carets (^) can break out of the assignment context and execute as separate commands. Config-provided environment variables that flow into this script generation process become injection vectors, allowing malicious payloads to be embedded in what should be benign configuration data.

Know when Openclaw gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.4 HIGH
AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch released
Mar 23, 2026 - 22:00 nvd
Patch available
CVE Published
Mar 23, 2026 - 21:35 nvd
HIGH 7.4

DescriptionCVE.org

OpenClaw versions prior to 2026.2.18 contain a command injection vulnerability in Windows Scheduled Task script generation where environment variables are written unquoted to gateway.cmd, allowing shell metacharacters to break out of assignment context. Attackers can inject arbitrary commands through config-provided environment variables when the scheduled task script is generated and executed.

Executive ViewAI

Why It Matters

OpenClaw game engine installations on Windows systems are vulnerable to local command injection through scheduled task files, allowing attackers with local access to execute arbitrary commands with system privileges. Organizations using this component should prioritize patching to prevent potential lateral movement, data exfiltration, or system compromise.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +37
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

CVE-2026-28446 CRITICAL POC
9.4 Mar 05

Auth bypass in OpenClaw voice-call extension before 2026.2.1. EPSS 0.68%. PoC and patch available.

CVE-2026-33579 CRITICAL POC
9.4 Mar 31

Privilege escalation in OpenClaw (pre-2026.3.28) allows unauthenticated remote attackers to gain administrative access b

CVE-2026-32042 HIGH POC
8.8 Mar 21

OpenClaw versions 2026.2.22 through 2026.2.24 contain a privilege escalation vulnerability that allows authenticated att

CVE-2026-32051 HIGH POC
8.8 Mar 21

An authorization mismatch vulnerability in OpenClaw versions prior to 2026.3.1 allows authenticated users with operator.

CVE-2026-25253 HIGH POC
8.8 Feb 01

OpenClaw versions prior to 2026.1.29 automatically establish WebSocket connections to attacker-controlled gateway URLs e

CVE-2026-32846 HIGH POC
8.7 Mar 26

Path traversal in OpenClaw through version 2026.3.23 enables unauthenticated remote attackers to read arbitrary files in

CVE-2026-53857 HIGH POC
8.6 Jun 16

Authentication bypass in OpenClaw before 2026.5.3 allows remote attackers with low privileges to receive agent responses

CVE-2026-100530 HIGH POC
8.5 Sep 26

Directory-context bypass in OpenClaw before 2026.8.1 allows authenticated attackers with user interaction to reuse an 'a

CVE-2026-32064 HIGH POC
8.5 Mar 21

Unauthenticated access to the noVNC observer interface in OpenClaw's Docker sandbox browser allows anyone who can reach

CVE-2026-44118 HIGH POC
8.5 May 06

Authentication bypass in OpenClaw's MCP loopback interface allows local low-privilege attackers to escalate to owner-lev

CVE-2026-32055 HIGH POC
7.6 Mar 21

OpenClaw versions before 2026.2.26 allow authenticated attackers to write arbitrary files outside the workspace director

CVE-2026-32056 HIGH POC
7.5 Mar 21

OpenClaw versions prior to 2026.2.22 contain a shell environment variable injection vulnerability in the system.run func

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy