openclaw
Affected
- introduced
0, fixed2026.2.22(semver)
Fixed versions
2026.2.22
Fix
- Fixed version
2026.2.22npm install [email protected]
Advisory
Also known as: CVE-2026-32056
OpenClaw's shell startup env injection bypasses system.run allowlist intent (RCE class)
Summarysystem.run environment sanitization allowed shell-startup env overrides (HOME, ZDOTDIR) that can execute attacker-controlled startup files before allowlist-evaluated command bodies.
Affected Packages / Versions
openclaw (npm)<= 2026.2.21-2 (latest published vulnerable version)>= 2026.2.22Technical Details
In affected versions:
HOME, ZDOTDIR) in host exec env paths.Observed exploit vectors:
HOME + bash -lc + malicious .bash_profileZDOTDIR + zsh -c + malicious .zshenvFix Commit(s)
c2c7114ed39a547ab6276e1e933029b9530ee906Release Process Notepatched_versions is pre-set to the planned next release (>= 2026.2.22). After the npm release is published, this advisory can be published directly.
OpenClaw thanks @tdjackey for reporting.
High Basis: The source's own band: HIGH
0, fixed 2026.2.22 (semver)2026.2.22
2026.2.22npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0