Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Lifecycle Timeline
4DescriptionCVE.org
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.
AnalysisAI
OpenClaw contains a local command injection vulnerability in Windows scheduled task script generation that allows authenticated local attackers to inject arbitrary commands through unsafe handling of cmd metacharacters and CR/LF sequences in gateway.cmd files. OpenClaw versions prior to 2026.2.19 are affected. Attackers with control over service script generation arguments can execute unintended code in the scheduled task context with high impact to integrity and availability.
Technical ContextAI
This vulnerability affects OpenClaw (cpe:2.3:a:openclaw:openclaw), an application that generates Windows scheduled task scripts with .cmd extensions. The root cause is CWE-78 (OS Command Injection), where the application fails to properly sanitize user-controlled input before incorporating it into gateway.cmd script files. Windows cmd.exe interprets special metacharacters (such as &, |, <, >, ^) and expansion-sensitive characters, as well as carriage return/line feed (CR/LF) sequences, which can break out of intended command context. When these unsanitized values are passed as arguments during service script generation, they enable command injection that executes when the scheduled task runs. This is a classic example of improper neutralization of special elements used in OS commands.
RemediationAI
Upgrade OpenClaw to version 2026.2.19 or later, which contains the fix implemented in commit 280c6b117b2f0e24f398e5219048cd4cc3b82396 available at https://github.com/openclaw/openclaw/commit/280c6b117b2f0e24f398e5219048cd4cc3b82396. Review the vendor security advisory at https://github.com/openclaw/openclaw/security/advisories/GHSA-mqr9-vqhq-3jxw for complete remediation guidance. Until patching is completed, restrict the ability for low-privileged users to control service script generation arguments, audit existing gateway.cmd scheduled tasks for suspicious command sequences, and implement strict input validation if custom script generation workflows are in use. Consider temporarily disabling automated scheduled task creation features if exploitation risk is deemed immediate in your environment.
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
OpenClaw sandbox browser functionality launches x11vnc for noVNC observer sessions without requiring authentication, all
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
OpenClaw versions prior to 2026.2.22 contain a resource exhaustion vulnerability where the application fails to consiste
OpenClaw versions prior to 2026.3.1 contain a sandbox escape vulnerability that allows authenticated attackers with low
OpenClaw versions 2026.1.30 and below fail to validate Telegram webhook secret tokens when `channels.telegram.webhookSec
Same weakness CWE-78 – OS Command Injection
View allSame technique Command Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-13027
GHSA-mqr9-vqhq-3jxw