Read the docs
TI-2026-17827 Aliases CVE-2026-22217GHSA-p4wh-cr8m-gm6c

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

Priority LOW 25CWE-829Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
Code execution
Confidentiality · integrity · availability
None · High · Low
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-829.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00133 2nd percentileScored 2026-11-07
Fix Fixed OpenClaw (OpenClaw): 2026.2.23openclaw (npm): 2026.2.23

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
OpenClawOpenClaw2026.2.22 to before 2026.2.232026.2.23Patch availableCNA
—openclaw (npm)2026.2.22 to before 2026.2.232026.2.23Patch availableGHSA-p4wh-cr8m-gm6c
  • OpenClaw VendorOpenClaw Affected 2026.2.22 to before 2026.2.23 Fixed in 2026.2.23 Patch available CNA
  • openclaw (npm) Vendor— Affected 2026.2.22 to before 2026.2.23 Fixed in 2026.2.23 Patch available GHSA-p4wh-cr8m-gm6c

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*2026.2.22 to before 2026.2.23VulnerableOpenClaw
  • cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:* Versions 2026.2.22 to before 2026.2.23 Vulnerable ·OpenClaw

Remediation

  • Fix · CNA OpenClaw (OpenClaw) Fixed in 2026.2.23
  • Fix · GHSA-p4wh-cr8m-gm6c openclaw (npm) Fixed in 2026.2.23 Advisory →

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    OpenClaw 2026.2.23

    2 records Highest priority Priority LOW 2 LOW

    Other records, highest priority first

    • TI-2026-17785 OpenClaw < 2026.2.23 - Exec Approval Bypass via Unrecognized Multiplexer Shell WrappersPriority LOW 31

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-22217
  2. 2026-10-03 Alias added: GHSA-p4wh-cr8m-gm6c

References

  • TI-2026-25309 OpenClaw < 2026.3.28 Media Parsing Path Traversal to Arbitrary File Read CVSS 4.0HIGH 8.7
  • TI-2026-20394 Exposure of resource to wrong sphere in OpenClaw CVSS 3.1HIGH 8.8
  • TI-2026-27742 OpenClaw < 2026.3.24 - Arbitrary Code Execution via .npmrc in Local Plugin/Hook Installation CVSS 4.0HIGH 8.4
  • TI-2026-27766 OpenClaw < 2026.3.24 - Denial of Service via Feishu Webhook Pre-Auth Body Parsing CVSS 4.0MEDIUM 6.9
  • TI-2026-07315 OpenClaw bluebubbles Webhook monitor.ts handleBlueBubblesWebhookRequest improper authentication CVSS 4.0MEDIUM 6.9
  • TI-2026-17789 OpenClaw < 2026.2.22 - Allowlist Bypass via Command Substitution in system.run CVSS 4.0HIGH 7.5
See all 574 →

Sources