CVE-2026-32056
OpenClaw versions prior to 2026.2.22 fail to sanitize shell startup …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/openclaw/openclaw/commit/c2c7114ed39a547ab6276e1e933029b9530ee906
- github.com/openclaw/openclaw/security/advisories/GHSA-xgf2-vxv2-rrmg
- www.vulncheck.com/advisories/openclaw-remote-code-execution-via-shell-startup-environment-
- nvd.nist.gov/vuln/detail/CVE-2026-32056
- github.com/advisories/GHSA-xgf2-vxv2-rrmg
- nvd.nist.gov/vuln/detail/CVE-2026-32056
- cve.org/CVERecord?id=CVE-2026-32056
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.