| Package | Affected versions | Patched versions |
|---|---|---|
| openclaw | < 2026.2.22 | 2026.2.22 |
| openclaw | < 2026.2.22 | 2026.2.22 |
system.run environment sanitization allowed shell-startup env overrides (HOME, ZDOTDIR) that can execute attacker-controlled startup files before allowlist-evaluated command bodies.
openclaw (npm)<= 2026.2.21-2 (latest published vulnerable version)>= 2026.2.22In affected versions:
HOME, ZDOTDIR) in host exec env paths.Observed exploit vectors:
HOME + bash -lc + malicious .bash_profileZDOTDIR + zsh -c + malicious .zshenvc2c7114ed39a547ab6276e1e933029b9530ee906patched_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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free