Skip to main content

OpenClaw CVE-2026-41915

| EUVDEUVD-2026-26121 MEDIUM
Incomplete List of Disallowed Inputs (CWE-184)
2026-04-28 VulnCheck
5.8
CVSS 4.0 · NVD
Share

Severity by source

NVD 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
5.3 MEDIUM

Local-only vector with low privilege and high complexity required to pre-seed GIT_DIR; integrity impact is high but no availability or scope change.

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 NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

6
Source Code Evidence Fetched
Jul 24, 2026 - 04:19 vuln.today
Analysis Generated
Jul 24, 2026 - 04:19 vuln.today
CVSS changed
Apr 28, 2026 - 19:52 NVD
5.3 (MEDIUM) 5.8 (MEDIUM)
EUVD ID Assigned
Apr 28, 2026 - 19:30 euvd
EUVD-2026-26121
Patch released
Apr 28, 2026 - 19:30 nvd
Patch available
CVE Published
Apr 28, 2026 - 18:10 nvd
MEDIUM 5.8

DescriptionCVE.org

OpenClaw before 2026.4.8 fails to remove git plumbing environment variables from the execution environment before host exec operations. Attackers can exploit this by setting GIT_DIR and related variables to redirect git operations and compromise repository integrity.

AnalysisAI

Git environment variable injection in OpenClaw (npm) before 2026.4.8 allows a local low-privileged attacker to redirect git operations by setting GIT_DIR and related plumbing variables in the process environment prior to host exec calls. The root cause is an incomplete denylist (CWE-184) that strips some but not all dangerous environment variables before shelling out. No public exploit or active exploitation has been identified at time of analysis; EPSS of 0.01% (3rd percentile) and SSVC exploitation status of 'none' corroborate low near-term exploitation likelihood.

Technical ContextAI

OpenClaw is a user-controlled local AI assistant distributed as an npm package (cpe:2.3:a:openclaw:openclaw). When the assistant performs host exec operations - spawning subprocesses that invoke git - it sanitizes the inherited environment via a denylist. CWE-184 (Incomplete List of Disallowed Inputs) captures the flaw: the denylist omitted GIT_DIR and related git plumbing variables such as GIT_WORK_TREE and GIT_INDEX_FILE. Because these variables are inherited verbatim by child processes, an attacker who can influence the parent environment can redirect any git operation to an arbitrary directory they control, overriding the repository the tool intends to operate on. The GHSA advisory notes this is a variant of the known GHSA-m866-6qv5-p2fg pattern, indicating a recurring class of env-sanitization failures in AI coding assistant tooling.

RemediationAI

Upgrade the openclaw npm package to version 2026.4.8 or later using 'npm install openclaw@2026.4.8' or 'npm update openclaw'. The fix is pinned to commit d7c3210cd6f5fdfdc1beff4c9541673e814354d5 on the main branch, as confirmed by the GHSA advisory at https://github.com/openclaw/openclaw/security/advisories/GHSA-cm8v-2vh9-cxf3. If immediate upgrade is not feasible, a compensating control is to run OpenClaw in a process with a minimal, explicitly constructed environment (e.g., via env -i in a wrapper script) that excludes GIT_DIR, GIT_WORK_TREE, GIT_INDEX_FILE, GIT_OBJECT_DIRECTORY, and GIT_ALTERNATE_OBJECT_DIRECTORIES before launching the tool; this prevents variable inheritance but may break legitimate proxy or toolchain configuration if other environment variables are also stripped.

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-32064 HIGH POC
7.7 Mar 21

OpenClaw sandbox browser functionality launches x11vnc for noVNC observer sessions without requiring authentication, all

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

CVE-2026-32049 HIGH POC
7.5 Mar 21

OpenClaw versions prior to 2026.2.22 contain a resource exhaustion vulnerability where the application fails to consiste

CVE-2026-32048 HIGH POC
7.5 Mar 21

OpenClaw versions prior to 2026.3.1 contain a sandbox escape vulnerability that allows authenticated attackers with low

CVE-2026-25474 HIGH POC
7.5 Feb 19

OpenClaw versions 2026.1.30 and below fail to validate Telegram webhook secret tokens when `channels.telegram.webhookSec

Share

CVE-2026-41915 vulnerability details – vuln.today

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