Medium severity6.1NVD Advisory· Published Mar 18, 2026· Updated May 26, 2026
CVE-2026-22217
CVE-2026-22217
Description
OpenClaw version 2026.2.22 prior to 2026.2.23 contains 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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
openclawnpm | >= 2026.2.22, < 2026.2.23 | 2026.2.23 |
Affected products
2Patches
Vulnerability mechanics
References
5- github.com/openclaw/openclaw/commit/ff10fe8b91670044a6bb0cd85deb736a0ec8fb55nvdPatchWEB
- github.com/advisories/GHSA-p4wh-cr8m-gm6cghsaADVISORY
- github.com/openclaw/openclaw/security/advisories/GHSA-p4wh-cr8m-gm6cnvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-22217ghsaADVISORY
- www.vulncheck.com/advisories/openclaw-arbitrary-binary-execution-via-shell-environment-variable-trusted-prefix-fallbacknvdThird Party AdvisoryWEB
News mentions
0No linked articles in our index yet.