Skip to content

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

HighCVSS 7.7 EPSS 1.2%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
npm openclaw < 2026.2.22 2026.2.22 Fixed
npm openclaw(npm) < 2026.2.22 2026.2.22 Fixed
openclaw < 2026.2.22 2026.2.22 Fixed

Affected products

ProductAffected versionsFixed in
npm openclaw < 2026.2.22 2026.2.22
npm openclaw(npm) < 2026.2.22 2026.2.22
openclaw < 2026.2.22 2026.2.22

References