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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-829"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22217.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "2026.2.22"
},
{
"fixed": "2026.2.23"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "ff10fe8b91670044a6bb0cd85deb736a0ec8fb55"
}
],
"source": "REFERENCES_COMMIT"
}
]
}