CVE-2026-32056
High
Description
OpenClaw versions prior to 2026.2.22 fail to sanitize shell startup environment variables HOME and ZDOTDIR in the system.run function, allowing attackers to bypass command allowlist protections. Remote attackers can inject malicious startup files such as .bash_profile or .zshenv to achieve arbitrary code execution before allowlist-evaluated commands are executed.
SeverityHigh
CVSS7.5
Exploit probability—
ProductOpenclaw
PublishedMar 21, 2026
First seenMar 21, 2026
Weakness typeCWE-78OS command injection
How to fix
Update
- openclaw openclaw2026.2.22 or later
- openclaw2026.2.22 or later
Vendor advisories
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openclaw openclaw | v < 2026.2.22 | 2026.2.22 |
| openclawnpm | v < 2026.2.22 | 2026.2.22 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.