LiveActive security incident?Get immediate response
CVE Record

CVE-2026-32056: OpenClaw < 2026.2.22 - Remote Code Execution via Shell Startup Environment Variable Injection in system.run

OpenClaw versions prior to 2026.2.22 fail to sanitize shell startup environment variables HOME and ZDOTDIR in the system.run function, allowing attackers to bypass command allowlist protections. Remote attackers can inject malicious startup files such as .bash_profile or .zshenv to achieve arbitrary code execution before allowlist-evaluated commands are executed.

HighCVSS 7.7Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

OpenClaw can be tricked into running attacker-controlled code when it starts a shell for system.run. The flaw can bypass command allowlists through HOME and ZDOTDIR startup-file behavior. An attacker needs low privileges and exploitation is high complexity, but success can mean code execution in affected OpenClaw versions before 2026.2.22.

Executive priority

Treat this as a high-priority patching item for any OpenClaw deployment used in automation, operations, or security workflows. The issue can bypass command allowlists and lead to code execution, but current provided evidence does not show active exploitation.

Technical view

CVE-2026-32056 is a CWE-78 command injection issue in OpenClaw system.run. Unsanitized shell startup environment variables HOME and ZDOTDIR can cause attacker-controlled startup files to execute before allowlist-evaluated commands run. The bundled CVSS v4.0 score is 7.7 high, with network attack vector, low privileges required, no user interaction, and high confidentiality, integrity, and availability impact.

Likely exposure

Exposure is most likely where OpenClaw before 2026.2.22 is deployed and untrusted or lower-privileged users can influence system.run inputs or its shell environment. The bundle does not identify specific downstream products, managed services, or default-exposed configurations.

Exploitation context

The source bundle does not cite active exploitation, and KEV is false. Exploitation appears to require control over relevant environment variables or startup-file locations, then abuse of shell initialization behavior before command allowlist checks occur. Do not assume internet-wide exploitation from the provided evidence.

Researcher notes

Focus review on system.run call paths, environment construction, privilege boundaries, and shell invocation behavior. Validate whether HOME and ZDOTDIR are sanitized or controlled after applying the patch. Evidence is limited to the provided advisory metadata, patch reference, CVE data, and VulnCheck entry.

Mitigation direction

  • Upgrade OpenClaw to 2026.2.22 or later.
  • Review the GitHub advisory and patch commit for vendor-confirmed remediation details.
  • Restrict who can influence system.run inputs and execution environments until patched.
  • Harden service execution contexts to reduce writable startup-file paths.
  • Monitor vendor guidance for any follow-up fixes or configuration advice.

Validation and detection

  • Inventory OpenClaw installations and record exact versions.
  • Confirm affected deployments are running 2026.2.22 or later.
  • Review use of system.run in application workflows and integrations.
  • Check whether lower-privileged users can control shell environment variables.
  • Review logs for unusual system.run failures or unexpected child-process behavior.
Prepared
Confidence
medium
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 · medium confidence lookup

CWE-78: Command execution behavior lookup

Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. 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-32056 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
High
CVSS
7.7 (4.0)
Known Exploited
No
Published

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

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: total

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
7.7CVSS 4.0HighCVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N——VulnCheck
7.5CVSS 3.1HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H1.65.9VulnCheck

Vulnerability scoring details

Base CVSS 4.0 score

7.7High
CVSS 4.0 vector shape for CVE-2026-32056Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/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
OpenClawOpenClaw0, 2026.2.22unaffected
Weakness

CWE details

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

CWE-78 · source CWE mapping

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.