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.
References
Configurations
History
No history.
Information
Published : 2026-03-21 01:17
Updated : 2026-03-23 18:59
NVD link : CVE-2026-32056
Mitre link : CVE-2026-32056
CVE.ORG link : CVE-2026-32056
JSON object : View
Products Affected
openclaw
- openclaw
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
