Severity by source
AV:L/AC:H/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:H/PR:L/UI:N/S:U/C:N/I:H/A:H
Lifecycle Timeline
4Blast Radius
ecosystem impact- 2 npm packages depend on openclaw (2 direct, 0 indirect)
Ecosystem-wide dependent count for version 2026.2.26.
DescriptionCVE.org
OpenClaw versions 2026.2.26 prior to 2026.3.1 on Windows contain a current working directory injection vulnerability in wrapper resolution for .cmd/.bat files that allows attackers to influence execution behavior through cwd manipulation. Remote attackers can exploit improper shell execution fallback mechanisms to achieve command execution integrity loss by controlling the current working directory during wrapper resolution.
AnalysisAI
OpenClaw versions prior to 2026.3.1 contain a current working directory (cwd) injection vulnerability in Windows wrapper resolution for .cmd/.bat files that allows local attackers to manipulate command execution through directory control during shell fallback mechanisms. An authenticated local attacker with low privileges can exploit this vulnerability to achieve command execution integrity loss by controlling the working directory, potentially leading to unauthorized code execution or privilege escalation. While no active in-the-wild exploitation has been reported in KEV databases, the vulnerability is documented with a proof-of-concept available through the vendor's security advisory on GitHub.
Technical ContextAI
The vulnerability stems from improper handling of shell execution fallback mechanisms when OpenClaw resolves .cmd and .bat file wrappers on Windows systems. The root cause is classified under CWE-78 (Improper Neutralization of Special Elements used in an OS Command), which describes inadequate sanitization of user-controlled input before passing it to OS command execution functions. The affected technology involves OpenClaw's wrapper resolution system, which falls back to shell execution (.cmd/.bat handling) without properly validating or isolating the current working directory. When an attacker controls the cwd during this resolution phase, they can influence which files are loaded or executed, bypassing intended execution paths. This is specific to Windows environments where shell wrapper resolution differs from Unix-like systems, and the vulnerability is confirmed to affect OpenClaw (CPE: cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:*:*:*) versions 2026.2.26 through versions prior to 2026.3.1.
RemediationAI
Upgrade OpenClaw to version 2026.3.1 or later immediately to patch the current working directory injection vulnerability. The vendor has released patched versions that properly sanitize cwd handling in wrapper resolution for .cmd/.bat files; consult the GitHub security advisory at https://github.com/openclaw/openclaw/security/advisories/GHSA-6f6j-wx9w-ff4j for detailed upgrade instructions specific to your deployment environment. Until patching is feasible, implement compensating controls by restricting local system access to trusted users only, isolating OpenClaw execution to dedicated non-shared directories with restricted permissions, and monitoring process execution logs for suspicious wrapper resolution behavior. On Windows systems, leverage AppLocker or similar mechanisms to restrict which processes can execute .cmd and .bat files, and enforce principle of least privilege for all accounts running OpenClaw services.
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-13037
GHSA-6f6j-wx9w-ff4j