CVE-2026-32056
HIGH 7.7CVSS 4.0OpenClaw's shell startup env injection bypasses system.run allowlist intent (RCE class)
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.
- Published
- 21 Mar 2026
- Last modified
- 17 Jun 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-15CWE-78
- Also known as
- GHSA-xgf2-vxv2-rrmg
- Sources
- NVDJSONOSV GHSA-xgf2-vxv2-rrmgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 7.7 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openclaw | openclawcpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:* |
< 2026.2.22 | 2026.2.22 |
| OSV | npm | openclaw | < 2026.2.22 | 2026.2.22 |
References
- https://github.com/openclaw/openclaw/commit/c2c7114ed39a547ab6276e1e933029b9530ee906 · Patch, WEB
- https://github.com/openclaw/openclaw/security/advisories/GHSA-xgf2-vxv2-rrmg · Vendor Advisory, WEB
- https://www.vulncheck.com/advisories/openclaw-remote-code-execution-via-shell-startup-environment-variable-injection-in-system-run · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-32056 · ADVISORY
- https://github.com/openclaw/openclaw · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 21 Mar 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Mar 2026)