LiveActive security incident?Get immediate response
CVE Record

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

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.

MediumCVSS 6.1Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

OpenClaw 2026.2.22 can trust the SHELL environment variable in a way that may run the wrong binary. A local, low-privileged attacker who can influence that environment and place files in a trusted-prefix directory could execute code inside the OpenClaw process.

Executive priority

Treat this as a targeted local integrity risk, not a confirmed mass-exploitation emergency. Prioritize upgrading any 2026.2.22 deployments, especially shared developer workstations, build hosts, or systems where local users can modify trusted-prefix paths.

Technical view

The issue is arbitrary binary execution in OpenClaw shell-env trusted-prefix fallback handling for SHELL. The cited CVSS vector is local, low complexity, low privilege, no user interaction, with high integrity impact and low availability impact. Sources identify 2026.2.22 as affected and 2026.2.23 as patched.

Likely exposure

Exposure appears limited to OpenClaw 2026.2.22 systems where an attacker can influence SHELL and write into trusted-prefix directories such as /opt/homebrew/bin. The source bundle lists other versions as unaffected by default.

Exploitation context

The CVE is not listed as KEV, and the provided sources do not state active exploitation. The attack requires local access with low privileges and a writable trusted-prefix path, so internet-wide remote exploitation is not supported by the evidence.

Researcher notes

This maps to CWE-829 and depends on unsafe trust in externally controlled functionality. Focus validation on version presence, environment inheritance boundaries, and writable trusted-prefix directories. Do not assume broader OpenClaw versions or active exploitation without additional vendor or KEV evidence.

Mitigation direction

  • Upgrade OpenClaw deployments running 2026.2.22 to 2026.2.23 or later.
  • Review the vendor advisory and patch notes before broad rollout.
  • Restrict write access to trusted-prefix directories used by OpenClaw hosts.
  • Harden service launch environments so untrusted users cannot control SHELL.
  • Monitor vendor guidance for any revised affected-version or mitigation details.

Validation and detection

  • Inventory OpenClaw installations and confirm whether version 2026.2.22 is present.
  • Verify upgraded systems report OpenClaw 2026.2.23 or later.
  • Review host permissions on trusted-prefix directories such as /opt/homebrew/bin.
  • Confirm OpenClaw services do not inherit untrusted SHELL values.
  • Check security monitoring for unexpected OpenClaw child-process activity.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-829: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-22217 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.1 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

2CVSS vectors
3Timeline events
1ADP providers
4Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

2 official scores

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.1CVSS 3.1MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L1.84.2VulnCheck
5.8CVSS 4.0MediumCVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N——VulnCheck

Vulnerability scoring details

Base CVSS 4.0 score

5.8Medium
CVSS 4.0 vector shape for CVE-2026-22217Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

Vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
OpenClawOpenClaw2026.2.22unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-829 · source CWE mapping

Inclusion of Functionality from Untrusted Control Sphere

Inclusion of Functionality from Untrusted Control Sphere represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.