CVE-2026-22217

MEDIUM

OpenClaw 2026.2.22 < 2026.2.23 - Arbitrary Binary Execution via $SHELL Environment Variable Trusted Prefix Fallback

Title source: cna
STIX 2.1

Description

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.

Scores

CVSS v3 6.1
EPSS 0.0001
EPSS Percentile 3.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-829
Status published
Products (3)
npm/openclaw 2026.2.22 - 2026.2.23npm
OpenClaw/OpenClaw 2026.2.22 - 2026.2.23
openclaw/openclaw 2026.2.22 - 2026.2.23
Published Mar 18, 2026
Tracked Since Mar 18, 2026