Openclaw
CVE-2026-32015
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInfluence gateway process PATH environment
-
ExploitPlace trojan binary with allowlisted name
-
ExecutionBypass executable allowlist validation
-
ImpactExecute arbitrary code as gateway process
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V13 - Configuration Search path verification
|
| Exploitation Conditions | OpenClaw versions 2026.1.21 prior to 2026.2.19. Attacker requires low-privilege local access to the gateway process environment and ability to influence PATH resolution. No victim interaction needed. Exploit allows executing trojan binaries with allowlisted names (e.g., jq) by manipulating process PATH. |
| Impact | The CVSS 3.1 score of 7.0 (High) reflects significant potential impact but with important mitigating factors: local access requirement (AV:L), high attack complexity (AC:H), and low privileges needed (PR:L). The attack vector and complexity suggest this is not trivially exploitable - an attacker must already have local access and the ability to manipulate the process environment. With no EPSS data available and absence from CISA KEV, there's no evidence of active exploitation in the wild. The authentication bypass tag suggests this could be part of a privilege escalation chain, but the local access requirement and environmental prerequisites make this a lower priority than remotely exploitable vulnerabilities of similar severity. This represents a defense-in-depth failure rather than a front-line security breach. |
| Exploit ScenarioDerived | An attacker with limited local access to a system running OpenClaw could place a malicious executable named 'jq' in a directory like /tmp and modify the PATH environment variable to search /tmp before standard system directories. When OpenClaw's safeBins module attempts to execute the legitimate 'jq' binary, it would instead run the attacker's trojan, bypassing the allowlist validation and potentially escalating privileges or exfiltrating data. The high attack complexity stems from needing both local access and the ability to manipulate the gateway process environment. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 19, 2026
OpenClaw versions before 2026.2.19 contain a path hijacking vulnerability in tools.exec.safeBins that allows local attackers with process environment control to execute arbitrary binaries by spoofing allowlisted tool names like jq. An attacker who can manipulate the gateway process PATH can bypass executable validation controls and achieve code execution with the privileges of the affected process. No patch is currently available.
Earlier versions of this analysis (1)
A path hijacking vulnerability in OpenClaw's tools.exec.safeBins module allows attackers to bypass executable allowlist validation by manipulating the PATH environment variable, enabling execution of malicious binaries disguised with trusted names like 'jq'. OpenClaw versions 2026.1.21 through 2026.2.18 are affected, with a patch available in version 2026.2.19. While no active exploitation has been reported (not in KEV), the vulnerability poses a significant risk for local privilege escalation or code execution in environments where attackers can influence the gateway process environment.
RemediationAI
Upgrade OpenClaw to version 2026.2.19 or later, which contains the fix implemented in commit 28bac46c92069dc728524fbf383024c1b64e5c23 (https://github.com/openclaw/openclaw/commit/28bac46c92069dc728524fbf383024c1b64e5c23). As a temporary mitigation, restrict access to the gateway process environment, ensure PATH variables are properly sanitized and controlled, and consider implementing additional access controls around the OpenClaw gateway service. Monitor for unexpected process executions or PATH modifications in OpenClaw environments until patching is complete.
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
The vulnerability stems from improper path resolution (CWE-426: Untrusted Search Path) in OpenClaw's executable validation mechanism. The tools.exec.safeBins component maintains an allowlist of trusted executables but fails to use absolute paths when invoking them, instead relying on PATH resolution. This allows an attacker who can modify the PATH environment variable or place malicious executables in directories searched before legitimate binaries to execute arbitrary code while appearing to run allowlisted programs. The affected product is identified as OpenClaw, an open-source platform, with versions 2026.1.21 through 2026.2.18 vulnerable to this attack.
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:H/VI:H/VA:H/SC:N/SI:N/SA:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
OpenClaw versions 2026.1.21 prior to 2026.2.19 contain a path hijacking vulnerability in tools.exec.safeBins that allows attackers to bypass allowlist checks by controlling process PATH resolution. Attackers who can influence the gateway process PATH or launch environment can execute trojan binaries with allowlisted names, such as jq, circumventing executable validation controls.
Executive ViewAI
OpenClaw gateway systems running versions 2026.1.21 through 2026.2.18 are vulnerable to privilege escalation attacks where threat actors can execute malicious code by manipulating process PATH variables to masquerade as trusted system utilities. This vulnerability could allow unauthorized command execution on affected gateways, potentially compromising data integrity and system availability across dependent services.
- Implement strict filesystem permissions preventing modification of system PATH directories; 2) Deploy container-based gateway deployments with immutable root filesystems; 3) Enable enhanced process execution monitoring and alerting on suspicious PATH manipulation; 4) Restrict gateway process privileges using OS-level capabilities/SELinux to prevent arbitrary binary execution; 5) Implement network segmentation isolating gateways from systems containing sensitive data; 6) Disable or restrict access to safeBins functionality if not operationally required; 7) Apply WAF/IDS rules to detect suspicious process environment variable manipulation attempts.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Affected Products (CPE)CVE.org
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
GHSA-g75x-8qqm-2vxp
NVD
CVE.org
EPSS
VulDB
Exploit-DB