Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege local system access
-
DeliveryTrigger OpenClaw SSH sandbox backend execution
-
ExploitSSH child process spawned with unsanitized process.env
-
ExecutionSSH env forwarding delivers parent variables to child session
-
ImpactAttacker reads sensitive credentials from forwarded environment
Vulnerability Assessment
| Weakness |
CWE
|
| Exploitation Conditions | Three concurrent conditions are required for exploitation: (1) the attacker must hold at least low-privilege local access on the target system (CVSS PR:L, AV:L); (2) the OpenClaw deployment must be using its SSH-based sandbox backend rather than a non-SSH alternative; and (3) SSH environment variable forwarding must be enabled via a non-default configuration - specifically, the SSH daemon must have |
| Impact | All available risk signals converge on low real-world priority. The CVSS 4.0 vector (AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N) yields a score of 2.0, reflecting local-only attack surface, a specific attack requirement (AT:P - non-default SSH env forwarding), low privilege requirement, and confidentiality-only impact limited to the vulnerable system. EPSS of 0.01% at the 1st percentile places this at the very bottom of the exploitation probability distribution. SSVC independently rates exploitation as none, automatable as no, and technical impact as partial. The vulnerability is absent from CISA KEV and no POC has been identified. The maintainer triage in GHSA-j9pv-rrcj-6pfx explicitly assessed it as 'narrow' scope and normalized severity as 'low,' noting that remote leakage depends on a non-default SSH configuration. This is not a prioritization item for most environments; the primary residual risk is to deployments where secrets are injected into the OpenClaw process environment AND SSH env forwarding is broadly enabled. |
| Exploit ScenarioDerived | A low-privilege local user on a host running OpenClaw with its SSH-based sandbox backend active, where the SSH daemon is configured with broad |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 24, 2026
Environment variable leakage in OpenClaw (npm package, versions ≤2026.3.28) occurs because SSH-based sandbox backends pass the full unsanitized Node.js process.env object to SSH child processes, potentially exposing secrets such as API keys or credentials stored in the parent process environment. Exploitation is gated behind two non-default prerequisites: the SSH-based sandbox backend must be in use, and SSH environment variable forwarding must be enabled in the host's SSH daemon configuration. No active exploitation or public exploit code has been identified; EPSS sits at 0.01% (1st percentile) and SSVC rates exploitation as none, consistent with the vendor's own triage of this as a narrow, low-severity issue.
RemediationAI
Upgrade the openclaw npm package to version 2026.3.31 or later, which is the first stable release containing the fix introduced in commit cfe14459531e002a1c61c27d97ec7dc8aecddc1f (merged 2026-03-30). The vendor advisory is at https://github.com/openclaw/openclaw/security/advisories/GHSA-j9pv-rrcj-6pfx and the patch commit is at https://github.com/openclaw/openclaw/commit/cfe14459531e002a1c61c27d97ec7dc8aecddc1f. Where an immediate upgrade is not feasible, the most targeted compensating control is to restrict or disable SSH environment variable forwarding on the host's SSH daemon by setting AcceptEnv to an empty or tightly scoped list in sshd_config and reloading sshd; this eliminates the non-default forwarding configuration that enables the cross-process leakage. Note that restricting AcceptEnv may break any legitimate applications on the same host that depend on SSH-forwarded environment variables (e.g., locale or custom toolchain variables), so operators should audit existing AcceptEnv usage before applying this change.
Affected VersionsENISA
Affected Packages
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 (CPE: cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:*:*:*) is a Node.js-based tool distributed via npm that provides SSH-based sandbox backends for executing isolated workloads. The root cause is CWE-214 (Invocation of Process Using Visible Sensitive Information): when spawning SSH child processes, the application passes Node.js's process.env - the runtime's full inherited environment variable map - without first filtering or sanitizing it. In Node.js, process.env can contain deployment secrets injected at runtime (e.g., via CI/CD pipelines or container orchestrators), including API tokens, database credentials, and private keys. The SSH protocol supports environment variable forwarding through SendEnv (client) and AcceptEnv (server) directives; when these are configured to forward broadly, the SSH child process receives and can expose variables from the parent's environment that should never have crossed the process boundary.
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
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Local attack vector with low privileges required; AC:H because exploitation depends on non-default SSH environment forwarding configuration being active; confidentiality-only limited impact, no integrity or availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
3DescriptionCVE.org
OpenClaw before 2026.3.31 contains an environment variable leakage vulnerability in SSH-based sandbox backends that pass unsanitized process.env to child processes. Attackers can exploit this by leveraging non-default SSH environment forwarding configurations to leak sensitive environment variables from parent processes to SSH child processes.
Blast Radius
ecosystem impact- 1 npm packages depend on openclaw (1 direct, 0 indirect)
Ecosystem-wide dependent count for version 2026.3.31.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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
Authentication bypass in OpenClaw before 2026.5.3 allows remote attackers with low privileges to receive agent responses
Directory-context bypass in OpenClaw before 2026.8.1 allows authenticated attackers with user interaction to reuse an 'a
Unauthenticated access to the noVNC observer interface in OpenClaw's Docker sandbox browser allows anyone who can reach
Authentication bypass in OpenClaw's MCP loopback interface allows local low-privilege attackers to escalate to owner-lev
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
EUVD-2026-25341
GHSA-w5qr-q983-45ww
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB