Skip to main content

OpenClaw EUVDEUVD-2026-25315

| CVE-2026-41332 MEDIUM
Incomplete List of Disallowed Inputs (CWE-184)
2026-04-23 VulnCheck GHSA-wcm7-94wg-h74h
5.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Gain local low-privilege access to OpenClaw host
  2. Delivery
    Plant malicious git hook directory or fake AWS config file
  3. Exploit
    Craft exec request injecting GIT_TEMPLATE_DIR or AWS_CONFIG_FILE
  4. Execution
    Submit request through OpenClaw's approved exec pathway
  5. Persist
    Unsanitized env var passes to git or AWS CLI subprocess
  6. Impact
    Execute attacker-controlled hook code or load malicious credentials

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: (1) local, low-privilege access to the host running OpenClaw - remote unauthenticated exploitation is not possible given AV:L/PR:L in the CVSS 4.0 vector; (2) the ability to submit an 'approved exec request' to OpenClaw - the attacker's request must pass OpenClaw's own exec authorization gate, meaning arbitrary users who cannot issue exec requests are not exposed; (3) control over the value of GIT_TEMPLATE_DIR or AWS_CONFIG_FILE within the environment of the exec request, and the ability to place attacker-controlled content at the path specified by GIT_TEMPLATE_DIR (e.g., a git hooks directory) or a fake AWS config file at the AWS_CONFIG_FILE path. High attack complexity (AC:H) reflects that all three conditions must align. Non-default configuration is not strictly required, but OpenClaw must be performing git or AWS CLI operations through its exec mechanism for the vulnerable code path to be reachable. SSVC confirms this is not automatable.

Impact

The CVSS 4.0 vector (AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N) scores 5.8, reflecting the meaningful integrity impact alongside several limiting factors. Real-world risk is further dampened by an EPSS of 0.01% (3rd percentile), SSVC exploitation rated 'none', and SSVC automatable rated 'no' - all consistent signals that this is not currently being exploited at scale. The local attack vector (AV:L) is key: this is not a remotely triggerable flaw against default deployments. An attacker must already have low-privilege local access and must specifically have the ability to influence environment variables in the context of an approved exec request. The high attack complexity (AC:H) reflects these prerequisites. The integrity impact is rated high (VI:H) because git template hooks can yield code execution, while confidentiality is only low (VC:L), limited to credential redirection via AWS_CONFIG_FILE. No conflicting signals exist between sources - CVSS, EPSS, and SSVC all converge on a real but contextually limited risk profile.

Exploit ScenarioDerived

An attacker with local, low-privilege access to a host running a vulnerable OpenClaw instance sets GIT_TEMPLATE_DIR to a directory containing a malicious git hook (e.g., a post-checkout hook with a reverse shell payload), then submits an approved exec request that triggers a git operation such as clone or init. Because OpenClaw's host-env blocklist does not filter GIT_TEMPLATE_DIR, the variable passes through to the git subprocess, which loads and executes the attacker-controlled hook with the privileges of the OpenClaw process. No public exploit code has been identified at time of analysis, but the technique is well-documented in the git security ecosystem.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 24, 2026

Environment variable injection in OpenClaw (npm) versions through 2026.3.24 allows a local, low-privileged attacker who can submit approved exec requests to redirect git or AWS CLI behavior through attacker-controlled configuration files, enabling untrusted code execution via git template hooks or malicious AWS credential loading. The root cause is an incomplete host-env blocklist - specifically, GIT_TEMPLATE_DIR and AWS_CONFIG_FILE were absent from the sanitization policy in src/infra/host-env-security-policy.json and src/infra/host-env-security.ts. No public exploit has been identified at time of analysis; EPSS sits at the 3rd percentile and SSVC rates exploitation as none, indicating no known active threat activity.

RemediationAI

The primary fix is to upgrade the OpenClaw npm package to version 2026.3.28 or later, which is confirmed as the patched release per the vendor's GitHub Security Advisory (GHSA-m866-6qv5-p2fg) and commit 6eb82fba3cbfd0e50b179c1fada92e1e22dce7fa (commit message: 'Infra: block additional host exec env keys'). If an immediate upgrade is not possible, a targeted compensating control is to audit and strip GIT_TEMPLATE_DIR and AWS_CONFIG_FILE from any environment passed to OpenClaw exec request handlers at the process or container level using a wrapper script or process supervisor environment filter - this prevents the untrusted values from reaching git or AWS CLI invocations but may break legitimate use of custom AWS configuration files and should be tested for side effects. Additionally, restricting which principals can submit approved exec requests to only trusted, audited callers reduces the attacker's ability to reach the vulnerable code path. No patch version other than 2026.3.28 should be assumed safe; the fix version is independently confirmed by both the GHSA advisory and the EUVD entry.

Affected VersionsENISA

OpenClaw 0 <2026.3.28

Affected Packages

npm openclaw fix: 2026.3.28

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

OpenClaw is an npm-distributed platform that executes host commands ('exec requests') on behalf of authorized callers. To prevent environment variable hijacking, it maintains a host-env blocklist (CWE-184: Incomplete List of Disallowed Inputs) implemented in src/infra/host-env-security-policy.json and src/infra/host-env-security.ts. The blocklist failed to include GIT_TEMPLATE_DIR, which git uses to load template files (including hooks that execute arbitrary scripts on operations like clone or init), and AWS_CONFIG_FILE, which the AWS CLI uses to locate its configuration, potentially redirecting credential sources or endpoint overrides. Both variables are well-known environment-based injection vectors that allow trusted, signed binaries to execute untrusted content - a supply-chain-adjacent technique. The affected CPE is cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:*:*:* covering all versions up to and including 2026.3.24.

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 5.8 MEDIUM
CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.3 MEDIUM

Local vector and low privileges required for approved exec access; high complexity due to multi-condition prerequisites; integrity high from git hook code execution, confidentiality low from AWS credential redirection only.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N
4.0 AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

Lifecycle Timeline

4
Patch released
Apr 29, 2026 - 17:10 nvd
Patch available
Patch available
Apr 24, 2026 - 02:31 EUVD
CVSS changed
Apr 23, 2026 - 22:28 NVD
5.3 (MEDIUM) 5.8 (MEDIUM)
CVE Published
Apr 23, 2026 - 21:57 nvd
MEDIUM 5.8

DescriptionCVE.org

OpenClaw before 2026.3.28 contains an environment variable sanitization vulnerability where GIT_TEMPLATE_DIR and AWS_CONFIG_FILE are not blocked in the host-env blocklist. Attackers can exploit approved exec requests to redirect git or AWS CLI behavior through attacker-controlled configuration files to execute untrusted code or load malicious credentials.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 3 npm packages depend on openclaw (3 direct, 0 indirect)

Ecosystem-wide dependent count for version 2026.3.28.

Threat Intelligence Overview

EPSS Score
0.0%
Top 97% exploitable
Prevalence
Low
niche npm package, limited enterprise deployment footprint
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

29
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +29
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