OS Command Injection in OpenClaw - CVE-2026-31995

 

OS Command Injection in OpenClaw - CVE-2026-31995

Published: May 1, 2026


Vulnerability identifier: #VU128851
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-31995
CWE-ID: CWE-78
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: OpenClaw
Affected software:
OpenClaw

Detailed vulnerability description

The vulnerability allows a local user to execute arbitrary commands.

The vulnerability exists due to command injection in the Windows Lobster shell fallback path when retrying certain spawn failures with shell execution enabled. A local user can supply crafted tool-provided arguments to execute arbitrary commands.

Exploitation requires Windows, fallback-triggering conditions for ENOENT or EINVAL spawn failures, and control over arguments through a local operator-defined workflow.


How to mitigate CVE-2026-31995

Install security update from vendor's website.

Sources