Severity by source
AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
Lifecycle Timeline
4DescriptionCVE.org
OpenClaw versions prior to 2026.3.1 fail to pin executable identity for non-path-like argv[0] tokens in system.run approvals, allowing post-approval executable rebind attacks. Attackers can modify PATH resolution after approval to execute a different binary than the operator approved, enabling arbitrary command execution.
AnalysisAI
OpenClaw versions prior to 2026.3.1 contain a post-approval executable rebind vulnerability in the system.run approval mechanism that fails to pin executable identity when argv[0] is not a full path. An attacker with local access and low privileges can modify PATH environment variables after an operator approves a command execution to redirect the approval to execute a different binary, achieving arbitrary command execution with the privileges of the OpenClaw process. The vulnerability has a moderate CVSS score of 6.0 reflecting local attack vector and high privilege requirements, but poses significant risk in environments where approval workflows are relied upon for security boundaries.
Technical ContextAI
The vulnerability stems from CWE-367 (Time-of-check Time-of-use Race Condition) in OpenClaw's system.run approval workflow. When an operator approves command execution with a non-fully-qualified executable name (e.g., 'mycommand' instead of '/usr/bin/mycommand'), OpenClaw fails to resolve and pin the absolute executable identity at approval time. Instead, the actual binary resolution occurs at execution time via standard PATH lookup. This creates a race window where an attacker can modify PATH environment variables between approval and execution, causing the system to execute a malicious binary placed in an attacker-controlled directory that appears earlier in the modified PATH. The affected product OpenClaw (cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:*:*:*) implements an approval-based security model that is fundamentally bypassed by this design flaw.
RemediationAI
Immediately upgrade OpenClaw to version 2026.3.1 or later, which implements executable identity pinning at approval time for all argv[0] tokens regardless of path qualification. Follow the patching guidance in the official GitHub security advisory at https://github.com/openclaw/openclaw/security/advisories/GHSA-q399-23r3-hfx4. As an interim mitigation for organizations unable to patch immediately, restrict the PATH environment variable to a minimal set of system directories owned and protected by root, implement filesystem monitoring to detect unauthorized modifications to directories in PATH, and enforce strict file permissions (mode 0755 or more restrictive) on all executable locations referenced by OpenClaw approvals. Additionally, audit existing approval policies to ensure all critical commands use fully-qualified paths (/usr/bin/command format) to defeat PATH-based attacks. Organizations should also review access controls limiting which users can modify environment variables in the OpenClaw execution context.
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 technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-13033
GHSA-q399-23r3-hfx4