RCE in Openclaw
CVE-2026-31999
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H.
EPSS exploit prediction
EPSS 0.003, 20.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Openclaw — versions 2026.2.26, 2026.3.1
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-6f6j-wx9w-ff4j) (vendor-advisory, Mitigation, third-party-advisory, Vendor Advisory)
- VulnCheck Advisory: OpenClaw 2026.2.26 < 2026.3.1 - Current Working Directory Injection via Windows Wrapper Resolution Fallback (Third Party Advisory, third-party-advisory)