Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/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
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/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
Lifecycle Timeline
8Blast Radius
ecosystem impact- 5 npm packages depend on openclaw (5 direct, 0 indirect)
Ecosystem-wide dependent count for version 2026.3.22.
DescriptionCVE.org
OpenClaw before 2026.3.22 contains an incomplete host environment variable sanitization vulnerability in host-env-security-policy.json and host-env-security.ts that allows package-manager environment overrides. Attackers can exploit approved exec requests to redirect package resolution or runtime bootstrap to attacker-controlled infrastructure and execute trojanized content.
AnalysisAI
OpenClaw package manager allows supply chain attacks through incomplete environment variable sanitization before version 2026.3.22. Attackers can hijack approved package installation or execution requests by injecting environment variables that redirect package resolution to malicious infrastructure, enabling trojanized code execution with high impact to confidentiality, integrity, and availability. This requires local access and user interaction to trigger package manager operations, limiting remote exploitation but creating significant insider threat and social engineering risk vectors.
Technical ContextAI
This vulnerability affects OpenClaw's host environment security implementation, specifically in host-env-security-policy.json and host-env-security.ts modules. CWE-183 (Permissive List of Allowed Inputs) indicates the allowlist for environment variables fails to block package-manager-specific overrides like NPM_CONFIG_REGISTRY, BUNDLE_PATH, PIP_INDEX_URL, or similar variables used by package ecosystems. When OpenClaw executes approved package operations, these unsanitized variables persist in the spawned process environment, allowing attackers to manipulate dependency resolution paths. This is a classic supply chain attack primitive where the package manager's trust in environment configuration becomes an exploitation vector. The vulnerability sits at the intersection of process isolation, environment inheritance, and package manager security models.
RemediationAI
Upgrade to OpenClaw version 2026.3.22 or later, which implements comprehensive environment variable sanitization per the vendor advisory at https://github.com/openclaw/openclaw/security/advisories/GHSA-j7p2-qcwm-94v4. Until patching, implement compensating controls: restrict write access to workspace directories and configuration files to prevent .env file injection; audit and block environment variables matching package manager patterns (NPM_CONFIG_*, BUNDLE_*, PIP_*, MAVEN_OPTS, etc.) in process execution policies; monitor outbound connections from package manager processes for unexpected destinations using network egress controls; require code review for all project configuration changes including .npmrc, .yarnrc, Gemfile, requirements.txt and similar files. These mitigations reduce attack surface but may break legitimate workflows requiring custom package sources - test thoroughly and maintain allowlists for approved internal registries.
Auth bypass in OpenClaw voice-call extension before 2026.2.1. EPSS 0.68%. PoC and patch available.
Privilege escalation in OpenClaw (pre-2026.3.28) allows unauthenticated remote attackers to gain administrative access b
OpenClaw versions 2026.2.22 through 2026.2.24 contain a privilege escalation vulnerability that allows authenticated att
An authorization mismatch vulnerability in OpenClaw versions prior to 2026.3.1 allows authenticated users with operator.
OpenClaw versions prior to 2026.1.29 automatically establish WebSocket connections to attacker-controlled gateway URLs e
Path traversal in OpenClaw through version 2026.3.23 enables unauthenticated remote attackers to read arbitrary files in
OpenClaw sandbox browser functionality launches x11vnc for noVNC observer sessions without requiring authentication, all
OpenClaw versions before 2026.2.26 allow authenticated attackers to write arbitrary files outside the workspace director
OpenClaw versions prior to 2026.2.22 contain a shell environment variable injection vulnerability in the system.run func
OpenClaw versions prior to 2026.2.22 contain a resource exhaustion vulnerability where the application fails to consiste
OpenClaw versions prior to 2026.3.1 contain a sandbox escape vulnerability that allows authenticated attackers with low
OpenClaw versions 2026.1.30 and below fail to validate Telegram webhook secret tokens when `channels.telegram.webhookSec
Same weakness CWE-183 – Permissive List of Allowed Inputs
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-26096
GHSA-j7p2-qcwm-94v4