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: 8.5 [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]
CVE-ID: CVE-2026-22177
CWE-ID: CWE-78
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

OpenClaw

How to mitigate CVE-2026-22177

Install security update from vendor's website.

OpenClaw - update to 2026.2.21

External References

Related Security Bulletins