OS Command Injection in OpenClaw - CVE-2026-22177

 

OS Command Injection in OpenClaw - CVE-2026-22177

Published: April 30, 2026


Vulnerability identifier: #VU128599
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-22177
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 host exec feature when inheriting environment variables that influence interpreters, shells, or build tools. A local user can control environment variables to execute arbitrary commands.

The issue is scoped to the product's user-controlled local assistant trust model.


How to mitigate CVE-2026-22177

Install security update from vendor's website.

Sources