Openclaw
CVE-2026-32009
MEDIUM
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V13 - Configuration Search path verification
|
| Impact | The CVSS 3.1 score of 5.7 (Medium) with vector CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:H indicates a local attack vector with high complexity and high privilege requirements, resulting in high integrity and availability impact but no confidentiality loss. However, this scoring understates real-world risk because it assumes an attacker already has local access and high privileges; the meaningful attack surface is when a lower-privileged user can write to /opt/homebrew/bin or /usr/local/bin (which is common in development environments and CI/CD pipelines). The absence of EPSS and KEV status data in the provided intelligence suggests this vulnerability may be recently disclosed or have limited known exploitation. The existence of a GitHub security advisory (GHSA-5gj7-jf77-q2q2) and a commit-based patch (b67e600bff696ff2ed9b470826590c0ce6b3bb0a) indicates vendor acknowledgment and remediation availability. The vulnerability is not marked as actively exploited in the wild, but the attack complexity is low once an attacker achieves the prerequisite (write access to a trusted directory), making it an attractive post-exploitation technique in supply-chain or insider threat scenarios. Organizations should prioritize patching if OpenClaw is used in multi-tenant or untrusted execution environments. |
| Exploit ScenarioDerived | An attacker with write access to /opt/homebrew/bin (common in development environments or when Homebrew is installed without strict permission controls) can create a malicious executable with the same name as an allowed binary in OpenClaw's safeBins allowlist—for example, a fake 'curl' binary. When OpenClaw invokes curl through its safeBins mechanism, the attacker's malicious version is executed instead due to PATH-based lookup or the hardcoded trust in the default directory. The attacker achieves arbitrary command execution within OpenClaw's runtime context, potentially compromising data, lateral-moving to other systems, or exfiltrating secrets. This scenario is particularly dangerous in CI/CD pipelines where developers or automation tools have broad write permissions to system directories. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 19, 2026
Arbitrary command execution in OpenClaw prior to version 2026.2.24 results from improper validation of binaries in package manager directories that are included in the safeBins allowlist. An attacker with write access to trusted paths such as /opt/homebrew/bin or /usr/local/bin can plant a malicious binary to achieve code execution within the OpenClaw runtime. No patch is currently available.
Earlier versions of this analysis (1)
OpenClaw versions prior to 2026.2.24 contain a policy bypass vulnerability in the safeBins allowlist evaluation mechanism that blindly trusts static default directories including writable package-manager paths like /opt/homebrew/bin and /usr/local/bin. An attacker with write access to these trusted directories can place a malicious binary with the same name as an allowed executable to achieve arbitrary command execution within the OpenClaw runtime context. The vulnerability is classified as a binary hijacking attack exploiting improper trust in default system paths, and a patch is available via the vendor security advisory.
RemediationAI
Upgrade OpenClaw to version 2026.2.24 or later immediately. The patch addresses the safeBins allowlist evaluation logic to remove trust in static default writable directories and implement path canonicalization and ownership verification. Until patching is possible, restrict write permissions on trusted binary directories (/opt/homebrew/bin, /usr/local/bin) to root or the OpenClaw service account only, and run OpenClaw with minimal privileges in a sandboxed or containerized environment to limit the impact of potential binary hijacking. Additionally, monitor these directories for unexpected binary modifications using file integrity monitoring (FIM) tools such as Auditd, Aide, or Osquery. Review and audit any CI/CD pipelines or automation that may grant users write access to system binary paths. See the vendor advisory at https://github.com/openclaw/openclaw/security/advisories/GHSA-5gj7-jf77-q2q2 for detailed remediation guidance.
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 CWE-426 (Untrusted Search Path) and represents a fundamental flaw in OpenClaw's safeBins allowlist evaluation logic. The application maintains a list of allowed executables that can be invoked within its runtime context, but the implementation incorrectly trusts static default directories without validating the integrity or origin of binaries within those paths. Package-manager directories like /opt/homebrew/bin (macOS Homebrew) and /usr/local/bin are commonly writable by non-root users or package managers themselves, creating an exploitable trust boundary. The safeBins mechanism is intended to prevent arbitrary command execution, but by failing to perform path canonicalization, ownership verification, or runtime integrity checks, it becomes a false security boundary. This is a classic privilege escalation vector in Unix-like systems where the PATH environment variable or hardcoded search paths can be poisoned by a user with directory write permissions.
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
AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
OpenClaw versions prior to 2026.2.24 contain a policy bypass vulnerability in the safeBins allowlist evaluation that trusts static default directories including writable package-manager paths like /opt/homebrew/bin and /usr/local/bin. An attacker with write access to these trusted directories can place a malicious binary with the same name as an allowed executable to achieve arbitrary command execution within the OpenClaw runtime context.
Blast Radius
ecosystem impact- 1 npm packages depend on openclaw (1 direct, 0 indirect)
Ecosystem-wide dependent count for version 2026.2.24.
Executive ViewAI
CVE-2026-32009 presents moderate security risk rated CVSS 5.7. Exploitation could compromise the security of affected deployments. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: restrict network access and enable monitoring.
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-5gj7-jf77-q2q2
NVD
CVE.org
EPSS
VulDB
Exploit-DB