Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconGain local authenticated access
-
DeliverySocial engineer user to execute benign wrapped command
-
ExploitUser grants allow-always trust
-
InstallWrapper trust persists in OpenClaw database
-
C2Execute malicious payload via same wrapper
-
ExecuteBypass allowlist controls
-
ImpactArbitrary code execution in user context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Trusted input validation
|
| Exploitation Conditions | Requires OpenClaw deployment with allow-always persistence feature enabled (non-default on some installations). Attacker must have existing local authenticated access (PR:L) to the system running OpenClaw. User interaction required (UI:P) - victim must actively approve the initial wrapped command execution and select allow-always rather than one-time approval. Exploitation limited to systems where users have authorization to grant persistent execution trust. Does not work against one-time approval mode or deployments with centrally managed allowlists that bypass user prompts. Attack surface restricted to wrapper binaries present on the target system (/usr/bin/script, /usr/bin/env, etc.) - systems without these utilities are not exploitable via those specific vectors. |
| Impact | Real-world risk is moderate despite CVSS 7.0 High rating. CVSS vector (AV:L/PR:L/UI:P) indicates local access, low-privilege user authentication, and user interaction are required - these are significant barriers to exploitation. The attack requires convincing a user to grant allow-always permission to a seemingly benign wrapped command, then exploiting the persistent trust for malicious payloads. EPSS score unavailable, but local-only attack vector typically correlates with lower exploitation probability than remote vulnerabilities. Not in CISA KEV as of analysis date, suggesting no confirmed widespread exploitation. Attack complexity is low (AC:L) once initial user approval is obtained, making this primarily a social engineering risk on systems where OpenClaw manages execution policy. SSVC factors: exploitation not observed in the wild, human involvement required (not automatable), technical impact is high (arbitrary code execution within user context). Priority depends on OpenClaw deployment context - critical for systems using it as primary execution control, lower priority where defense-in-depth exists. |
| Exploit ScenarioDerived | An attacker with local low-privilege access social engineers a user to execute a benign wrapped command like '/usr/bin/script --command=system_report.sh' and approve it with allow-always permission. OpenClaw stores persistent trust for /usr/bin/script without recording the underlying system_report.sh target. The attacker later invokes '/usr/bin/script --command=/tmp/malware.elf' which OpenClaw permits based on the existing /usr/bin/script trust entry, bypassing allowlist controls and executing the malicious payload with the user's privileges. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 28, 2026
Privilege escalation in OpenClaw before 2026.3.28 allows local authenticated attackers to bypass execution allowlist controls via wrapper binary persistence. When users grant trust to wrapped commands (e.g., via /usr/bin/script), OpenClaw fails to distinguish the wrapper from the underlying executable, allowing attackers to reuse the wrapper's persistent trust to execute arbitrary unauthorized programs. No active exploitation confirmed (CISA KEV: not listed), but VulnCheck has published technical advisory details. EPSS data not available.
RemediationAI
Upgrade immediately to OpenClaw 2026.3.28 or later, which implements wrapper unwrapping logic to store trust decisions for final executables rather than intermediate wrapper binaries. Official security advisory and patch details available at https://github.com/openclaw/openclaw/security/advisories/GHSA-6pfc-6m7w-m8fx. For environments unable to patch immediately, disable allow-always persistence mode and require per-execution approval prompts - this eliminates persistent trust reuse but significantly increases user friction and may impact operational workflows. Alternatively, audit existing allow-always trust decisions by reviewing OpenClaw's trust database for entries matching common wrapper paths (/usr/bin/script, /usr/bin/env, /usr/bin/timeout, /usr/bin/sudo) and revoke these entries, though this requires manual identification of wrapper patterns and does not prevent future abuse until patched. Review VulnCheck technical analysis at https://www.vulncheck.com/advisories/openclaw-exec-allowlist-bypass-via-unregistered-usr-bin-script-wrapper for additional detection guidance.
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 implements an execution allowlist with user-prompted trust decisions that can persist across sessions (allow-always mode). The vulnerability stems from CWE-807 (Reliance on Untrusted Inputs in a Security Decision) where the trust persistence mechanism stores approval for the wrapper binary path (e.g., /usr/bin/script) rather than the actual target executable. Unix command-line wrappers like /usr/bin/script, env, sudo, or timeout are legitimate utilities that execute other programs as arguments. OpenClaw's trust engine does not unwrap these layers to identify the final executable, creating a confused deputy scenario where approval for 'script calculator.sh' incorrectly extends trust to all future 'script malware.elf' invocations.
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:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Primary rating from Vendor (VulnCheck) · only source for this CVE.
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
4DescriptionCVE.org
OpenClaw before 2026.3.28 contains an exec allowlist bypass vulnerability where allow-always persistence fails to unwrap /usr/bin/script and similar wrappers before storing trust decisions. Attackers can obtain user approval for one wrapped command to persist trust for wrapper binaries that execute different underlying programs.
Blast Radius
ecosystem impact- 3 npm packages depend on openclaw (3 direct, 0 indirect)
Ecosystem-wide dependent count for version 2026.3.28.
Executive ViewAI
OpenClaw versions before 2026.3.28 contain a privilege escalation vulnerability that allows authenticated local users to circumvent execution controls through wrapper binary persistence, potentially enabling unauthorized program execution on affected systems. Organizations running OpenClaw should prioritize assessment of local user access and control trust policies, as the vulnerability requires existing system access but effectively neutralizes a key security boundary.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict local user shell access and file modification permissions; implement application whitelisting or execution policy controls at the OS level to constrain wrapper binary reuse; monitor and log execution of wrapped commands to detect misuse patterns; segregate high-privilege accounts from systems running vulnerable OpenClaw versions.
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.
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-26098
GHSA-6pfc-6m7w-m8fx
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB