HarborGuard / CVE
Back to search
HIGHCVE-2026-32056Published Modified CNA VulnCheck

CVE-2026-32056: OpenClaw < 2026.2.22 - Remote Code Execution via Shell Startup Environment Variable Injection in system.run

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.

Metrics

CVSS v4.0
7.7
Severity
HIGH
Fixed in
2026.2.22
Affected Products
1

Fix available

2026.2.22
Patch commits
Affected packages
  • OpenClaw / OpenClaw
    < 2026.2.22 (from 0)
    Fixed in 2026.2.22
CVSS Vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVE-2026-32056: OpenClaw < 2026.2.22 - Remote Code Execution via Shell Startup Environment Variable Injection in system.run | HarborGuard CVE