Skip to content
HighVulnerability

CVE-2026-32056: OpenClaw environment variable injection in system.run bypasses command allowlist

Identifier
CVE-2026-32056
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.

Summary

OpenClaw versions prior to 2026.2.22 fail to sanitize the 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 run.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.