Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local access to system
-
ExploitInject cmd metacharacters into gateway.cmd arguments
-
ExecutionBypass input validation in script generation
-
ImpactExecute arbitrary commands in scheduled task context
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 | OpenClaw before 2026.2.19 on Windows. Attacker requires low-privilege local access to control service script generation values (gateway.cmd arguments). No user interaction needed. Exploitation occurs when scheduled tasks execute the injected metacharacters in cmd context. |
| Impact | The CVSS 3.1 score of 7.8 (High) reflects significant impact with AV:L (local attack vector), AC:L (low complexity), PR:L (low privileges required), and UI:N (no user interaction). While the high CVSS suggests priority attention, the real-world risk is moderated by the local attack vector requirement—attackers must already have local system access and the ability to control service script generation values. The lack of EPSS data in the provided intelligence prevents probabilistic exploitation assessment, and absence from CISA KEV indicates no observed active exploitation. However, the availability of a public patch commit (280c6b117b2f0e24f398e5219048cd4cc3b82396) provides a roadmap for exploit development. This is a genuine risk for environments where attackers may have initial foothold access and seek privilege escalation or persistence through scheduled tasks, but not an internet-facing remote exploitation threat. Priority should be moderate-to-high for Windows deployments of OpenClaw, especially in multi-user or shared hosting environments. |
| Exploit ScenarioDerived | An attacker who has gained low-privilege local access to a Windows system running vulnerable OpenClaw versions could manipulate service configuration values that feed into scheduled task script generation. By injecting cmd metacharacters such as '& calc.exe' or '| powershell -enc [base64]' into fields used to construct gateway.cmd arguments, the attacker achieves arbitrary command execution when the scheduled task runs, potentially escalating privileges or establishing persistence mechanisms with the security context of the scheduled task. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 23, 2026
OpenClaw versions prior to 2026.2.19 contain a local command injection vulnerability in the Windows scheduled task script generation component. Attackers with low-level local privileges and control over service script generation values can inject cmd metacharacters into the gateway.cmd arguments to execute arbitrary commands with high impact to confidentiality, integrity, and availability. There is no indication of active exploitation (not in CISA KEV), but a patch commit is publicly available which may facilitate proof-of-concept development.
RemediationAI
Upgrade OpenClaw to version 2026.2.19 or later, which contains the fix for this command injection vulnerability. The patch is available from the vendor and can be reviewed in commit 280c6b117b2f0e24f398e5219048cd4cc3b82396 at https://github.com/openclaw/openclaw/commit/280c6b117b2f0e24f398e5219048cd4cc3b82396. Consult the official security advisory at https://github.com/openclaw/openclaw/security/advisories/GHSA-mqr9-vqhq-3jxw for complete remediation guidance. As an interim mitigation until patching is completed, restrict local user access to systems running OpenClaw, implement strict controls over who can modify service script generation configurations, monitor scheduled task creation for suspicious command patterns, and apply principle of least privilege to limit the execution context of scheduled tasks.
Affected VersionsENISA
Affected Packages
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:2.3:a:openclaw:openclaw:*:*:*:*:*:*:*:*), specifically the Windows scheduled task script generation mechanism that creates gateway.cmd files. The root cause is CWE-78 (Improper Neutralization of Special Elements used in an OS Command). When generating scheduled task scripts on Windows, the application fails to properly sanitize or escape user-controlled input before incorporating it into command-line arguments. This allows injection of cmd.exe metacharacters (such as &, |, ^, %, and others) and expansion-sensitive characters that can break out of the intended command context and execute arbitrary system commands when the scheduled task runs.
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
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
OpenClaw before 2026.2.19 contains a local command injection vulnerability in Windows scheduled task script generation that allows attackers to execute arbitrary commands by injecting cmd metacharacters into unsafe gateway.cmd arguments. Attackers with control over service script generation values can inject unescaped metacharacters or expansion-sensitive characters to achieve unintended command execution in the scheduled task context.
Executive ViewAI
OpenClaw versions before 2026.2.19 contain a local privilege escalation vulnerability allowing attackers with system access to execute arbitrary commands. Organizations running affected versions face risk of data breach, system compromise, and operational disruption, particularly if OpenClaw manages critical infrastructure or sensitive processes.
Apply vendor patch. If immediate patching is not feasible: restrict local user account creation and privilege escalation paths; disable Windows scheduled task script generation features if not operationally critical; implement application-level access controls to limit who can modify service script generation parameters; monitor scheduled task creation and cmd.exe execution for anomalous behavior.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Auth bypass in OpenClaw voice-call extension before 2026.2.1. EPSS 0.68%. PoC and patch available.
Privilege escalation in OpenClaw (pre-2026.3.28) allows unauthenticated remote attackers to gain administrative access b
OpenClaw versions 2026.2.22 through 2026.2.24 contain a privilege escalation vulnerability that allows authenticated att
An authorization mismatch vulnerability in OpenClaw versions prior to 2026.3.1 allows authenticated users with operator.
OpenClaw versions prior to 2026.1.29 automatically establish WebSocket connections to attacker-controlled gateway URLs e
Path traversal in OpenClaw through version 2026.3.23 enables unauthenticated remote attackers to read arbitrary files in
Authentication bypass in OpenClaw before 2026.5.3 allows remote attackers with low privileges to receive agent responses
Directory-context bypass in OpenClaw before 2026.8.1 allows authenticated attackers with user interaction to reuse an 'a
Unauthenticated access to the noVNC observer interface in OpenClaw's Docker sandbox browser allows anyone who can reach
Authentication bypass in OpenClaw's MCP loopback interface allows local low-privilege attackers to escalate to owner-lev
OpenClaw versions before 2026.2.26 allow authenticated attackers to write arbitrary files outside the workspace director
OpenClaw versions prior to 2026.2.22 contain a shell environment variable injection vulnerability in the system.run func
EUVD-2026-14588
GHSA-ch47-q2q6-jch2
NVD
CVE.org
Exploit-DB