Severity by source
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
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Lifecycle Timeline
4DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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.
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.
Windows MSHTML component contains a remote code execution vulnerability that allows attackers to craft malicious ActiveX
Windows Win32k contains an out-of-bounds write vulnerability enabling local privilege escalation to SYSTEM, exploited by
The Windows VBScript engine contains a remote code execution vulnerability in object handling that allows full system co
Windows Win32k fails to properly handle objects in memory, allowing local privilege escalation exploited in the wild in
A privilege escalation vulnerability (CVSS 5.5). Risk factors: actively exploited (KEV-listed), EPSS 94% exploitation pr
Windows Kernel contains a TOCTOU race condition vulnerability allowing local privilege escalation, exploited by the OilR
Windows Internet Shortcut Files (.url) contain an external control vulnerability (CVE-2025-33053, CVSS 8.8) that enables
Windows SMB contains an improper access control vulnerability (CVE-2025-33073, CVSS 8.8) enabling authenticated attacker
Twonky Server 8.5.2 on Linux and Windows allows unauthenticated access to the admin log file through a web service API b
An unrestricted file upload vulnerability exists in MiniWeb HTTP Server <= Build 300 that allows unauthenticated remote
FreeFloat FTP Server contains multiple critical design flaws that allow unauthenticated remote attackers to upload arbit
Serviio Media Server versions 1.4 through 1.8 on Windows contain an unauthenticated command injection in the /rest/actio
Same weakness CWE-78 – OS Command Injection
View allSame technique Command Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-14553
GHSA-pv5j-hvrw-38j6