{"id":"CVE-2026-32056","published":"2026-03-21T00:42:27Z","modified":"2026-06-23T16:15:04Z","title":"OpenClaw < 2026.2.22 - Remote Code Execution via Shell Startup Environment Variable Injection in system.run","vendor":"OpenClaw","product":"OpenClaw","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00649,"percentile":0.52057,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-xgf2-vxv2-rrmg","tags":["vendor-advisory"]},{"url":"https://github.com/openclaw/openclaw/commit/c2c7114ed39a547ab6276e1e933029b9530ee906","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/openclaw-remote-code-execution-via-shell-startup-environment-variable-injection-in-system-run","tags":["third-party-advisory"]}],"priority":{"score":15.7,"factors":[{"name":"EPSS percentile","points":10.41},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"openclaw","affectedVersions":[{"vendor":"OpenClaw","product":"OpenClaw","versions":["< 2026.2.22"]}],"fixedVersions":[{"vendor":"OpenClaw","product":"OpenClaw","versions":["2026.2.22"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-03-23T18:47:57.179481Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"openclaw","vulnerableRanges":["<2026.2.22"],"patched":["2026.2.22"],"from":["GHSA-xgf2-vxv2-rrmg"],"provenance":"source"}],"summary":{"text":"OpenClaw versions prior to 2026.2.22 fail to sanitize the shell startup environment variables HOME and ZDOTDIR in the system.run function, allowing command allowlist protections to be bypassed. An remote attacker with low privileges and no user interaction can inject malicious startup files such as .bash_profile or .zshenv, achieving arbitrary code execution before allowlist-evaluated commands run.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:31:43Z"},"euvd":{"id":"EUVD-2026-13958","exploited":false,"provenance":"source"}}