CVE-2026-22217
OpenClaw version 2026.2.22 prior to 2026.2.23 contain an arbitrary …
OpenClaw version 2026.2.22 prior to 2026.2.23 contain an arbitrary code execution vulnerability in shell-env that allows attackers to execute attacker-controlled binaries by exploiting trusted-prefix fallback logic for the $SHELL variable. An attacker can influence the $SHELL environment variable on systems with writable trusted-prefix directories such as /opt/homebrew/bin to execute arbitrary binaries in the OpenClaw process context.
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/ff10fe8b91670044a6bb0cd85deb736a0ec8fb55
- github.com/openclaw/openclaw/security/advisories/GHSA-p4wh-cr8m-gm6c
- www.vulncheck.com/advisories/openclaw-arbitrary-binary-execution-via-shell-environment-var
- nvd.nist.gov/vuln/detail/CVE-2026-22217
- github.com/advisories/GHSA-p4wh-cr8m-gm6c
- nvd.nist.gov/vuln/detail/CVE-2026-22217
- cve.org/CVERecord?id=CVE-2026-22217
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.