Skip to main content

OpenClaw CVE-2026-43584

| EUVDEUVD-2026-28180 HIGH
Incomplete List of Disallowed Inputs (CWE-184)
2026-05-06 disclosure@vulncheck.com GHSA-vfp4-8x56-j7c5
8.7
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to OpenClaw API
  2. Delivery
    Submit operator request with VIMINIT/LUA_INIT in environment
  3. Exploit
    OpenClaw spawns child process inheriting malicious environment
  4. Execution
    Interpreter reads startup variable
  5. Persist
    Execute injected commands as OpenClaw process
  6. Impact
    Achieve code execution or network redirection

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation completeness
Exploitation Conditions

Exploitation requires authenticated access (PR:L in CVSS vector) to OpenClaw's operator-facing interfaces that permit environment variable overrides in exec contexts. The vulnerability specifically affects deployments where operators can supply environment variables that are inherited by child processes spawned via OpenClaw's execution policy. Successful exploitation depends on: (1) the application invoking interpreters (Vim, ex, Lua) or hostname resolution mechanisms that honor the vulnerable environment variables, (2) operator-supplied environment variables not being sanitized by OpenClaw's original insufficient denylist, and (3) the spawned processes inheriting the manipulated environment. The network attack vector (AV:N) and low complexity (AC:L) indicate remote exploitation is feasible without specialized conditions beyond authentication. No user interaction required (UI:N). The fix commit shows the vulnerability existed in the HostEnvSanitizer's isBlocked() logic which failed to filter these interpreter-specific variables, meaning default configurations of OpenClaw < 2026.4.10 are vulnerable when operator-supplied environments are processed.

Impact

CVSS 8.7 (AV:N/AC:L/PR:L) indicates network-exploitable with low complexity requiring only low-privilege authentication. However, real-world risk depends heavily on OpenClaw's deployment context and whether operators can inject arbitrary environment variables into exec contexts. The attack requires authenticated access (PR:L), limiting exposure compared to unauthenticated vulnerabilities. EPSS data not provided in input, preventing probability quantification. No CISA KEV listing confirms this is not yet observed in widespread exploitation. The vulnerability is particularly dangerous in multi-tenant or operator-accessible environments where users can influence execution context. High technical impact (VC:H/VI:H/VA:H) reflects full confidentiality, integrity, and availability compromise within the vulnerable component's scope. Scope unchanged (SC:N/SI:N/SA:N) means impact is confined to the vulnerable component. Patch availability in 2026.4.10 (released and confirmed via GitHub advisory GHSA-vfp4-8x56-j7c5) significantly reduces risk for organizations with active patch management. Priority should align with whether OpenClaw is exposed to untrusted operators and whether the exec policy is used in security-critical contexts.

Exploit ScenarioDerived

An authenticated attacker with low-privilege access to OpenClaw submits a request that triggers execution of a child process (e.g., invoking a Lua script or editor). The attacker crafts environment variables LUA_INIT='os.execute("/bin/sh -c malicious_payload")' or VIMINIT=':!rm -rf /tmp/sensitive_data' which are passed through to the spawned interpreter. When Lua or Vim initializes, these variables execute the injected commands with the privileges of the OpenClaw process, achieving arbitrary code execution or data manipulation. Alternatively, setting HOSTALIASES='/tmp/attacker_hosts' redirects hostname resolution to attacker-controlled mappings, enabling man-in-the-middle attacks on downstream network connections.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 06, 2026

Environment variable injection in OpenClaw before 2026.4.10 allows authenticated remote attackers to hijack interpreter execution behavior through insufficient filtering of high-risk startup variables (VIMINIT, EXINIT, LUA_INIT, HOSTALIASES). The vulnerability enables code execution by manipulating how downstream interpreters (Vim, ex, Lua) initialize and resolve hostnames. Patched in version 2026.4.10 following coordinated disclosure by Tencent zhuque Lab. No public exploit identified at time of analysis, though CVSS 8.7 reflects network-exploitable attack surface with low complexity requiring only low-privilege authentication.

RemediationAI

Upgrade OpenClaw to version 2026.4.10 or later. The fix is included in npm package openclaw@2026.4.14 (latest at time of advisory). The patch (commit 2d126fc62343a7b6895351f96e4e1474bc358140, PR #63277) expands HostEnvSecurityPolicy.blockedInheritedKeys to include VIMINIT, EXINIT, LUA_INIT variants, HOSTALIASES, and over 200 additional high-risk variables covering AWS credentials, compiler flags, and interpreter control paths. Review GitHub advisory at https://github.com/openclaw/openclaw/security/advisories/GHSA-vfp4-8x56-j7c5 and commit diff at https://github.com/openclaw/openclaw/commit/2d126fc62343a7b6895351f96e4e1474bc358140 for full technical details. If upgrade is delayed, implement compensating controls: restrict operator access to OpenClaw execution environments, audit all environment variable sources passed to exec contexts, and deploy runtime monitoring for suspicious interpreter startup variable usage (detect VIMINIT, EXINIT, LUA_INIT in process environments). Note that compensating controls are complex to implement correctly given the breadth of blocked variables in the patch (200+ entries), making upgrade the strongly preferred remediation path.

Affected VersionsENISA

OpenClaw 0 <2026.4.10

Affected Packages

npm openclaw fix: 2026.4.10

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability exists in OpenClaw's HostEnvSecurityPolicy module (specifically HostEnvSanitizer.swift), which sanitizes environment variables passed to exec() calls in operator-controlled environments. The original denylist failed to block interpreter startup variables that control initialization behavior: VIMINIT and EXINIT (Vim/ex editor commands), LUA_INIT variants (Lua pre-execution code), and HOSTALIASES (DNS hostname aliasing file path). These variables are classified under CWE-184 (Incomplete List of Disallowed Inputs), a filter bypass weakness. When OpenClaw spawns child processes inheriting operator-supplied environment variables, attackers can inject malicious values for these variables to achieve arbitrary code execution in the context of those interpreters or redirect network connections through hostile hostname mappings. The fix (commit 2d126fc) expands the denylist from a small set to over 200 blocked keys including AWS credentials, Git control paths, compiler flags, and interpreter startup vectors. The npm package ecosystem is affected, with the macOS Swift codebase containing the vulnerable logic.

Know when Openclaw gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck) · only source for this CVE.

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
May 06, 2026 - 21:03 EUVD
CVE Published
May 06, 2026 - 20:16 nvd
HIGH 8.7

DescriptionCVE.org

OpenClaw before 2026.4.10 contains an insufficient environment variable denylist vulnerability in its exec environment policy that allows operator-supplied overrides of high-risk interpreter startup variables including VIMINIT, EXINIT, LUA_INIT, and HOSTALIASES. Attackers can exploit this by manipulating these environment variables to influence downstream execution behavior or network connectivity.

Executive ViewAI

Why It Matters

OpenClaw versions before 2026.4.10 contain an environment variable injection flaw that allows authenticated users to execute arbitrary code by manipulating interpreter initialization variables (VIMINIT, EXINIT, LUA_INIT, HOSTALIASES). This could enable lateral movement or privilege escalation for any user with system access, directly compromising application integrity and data confidentiality across dependent systems.

Business Impact: High
Compensating Controls

Vendor-released patch: version 2026.4.10. If patching is delayed: (1) Restrict OpenClaw access to trusted users only; (2) Monitor and block modification of VIMINIT, EXINIT, LUA_INIT, and HOSTALIASES environment variables via endpoint controls; (3) Disable or isolate Vim, ex, and Lua interpreter integrations if not operationally critical; (4) Implement application-level input validation to reject suspicious environment variable patterns.

Threat Intelligence Overview

EPSS Score
0.1%
Top 74% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2026-28446 CRITICAL POC
9.4 Mar 05

Auth bypass in OpenClaw voice-call extension before 2026.2.1. EPSS 0.68%. PoC and patch available.

CVE-2026-33579 CRITICAL POC
9.4 Mar 31

Privilege escalation in OpenClaw (pre-2026.3.28) allows unauthenticated remote attackers to gain administrative access b

CVE-2026-32042 HIGH POC
8.8 Mar 21

OpenClaw versions 2026.2.22 through 2026.2.24 contain a privilege escalation vulnerability that allows authenticated att

CVE-2026-32051 HIGH POC
8.8 Mar 21

An authorization mismatch vulnerability in OpenClaw versions prior to 2026.3.1 allows authenticated users with operator.

CVE-2026-25253 HIGH POC
8.8 Feb 01

OpenClaw versions prior to 2026.1.29 automatically establish WebSocket connections to attacker-controlled gateway URLs e

CVE-2026-32846 HIGH POC
8.7 Mar 26

Path traversal in OpenClaw through version 2026.3.23 enables unauthenticated remote attackers to read arbitrary files in

CVE-2026-53857 HIGH POC
8.6 Jun 16

Authentication bypass in OpenClaw before 2026.5.3 allows remote attackers with low privileges to receive agent responses

CVE-2026-100530 HIGH POC
8.5 Sep 26

Directory-context bypass in OpenClaw before 2026.8.1 allows authenticated attackers with user interaction to reuse an 'a

CVE-2026-32064 HIGH POC
8.5 Mar 21

Unauthenticated access to the noVNC observer interface in OpenClaw's Docker sandbox browser allows anyone who can reach

CVE-2026-44118 HIGH POC
8.5 May 06

Authentication bypass in OpenClaw's MCP loopback interface allows local low-privilege attackers to escalate to owner-lev

CVE-2026-32055 HIGH POC
7.6 Mar 21

OpenClaw versions before 2026.2.26 allow authenticated attackers to write arbitrary files outside the workspace director

CVE-2026-32056 HIGH POC
7.5 Mar 21

OpenClaw versions prior to 2026.2.22 contain a shell environment variable injection vulnerability in the system.run func

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy