Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as operator
-
DeliveryLeverage allowlisted /usr/bin/env
-
ExploitInject env -S flag
-
ExecutionBypass policy analysis
-
ImpactExecute arbitrary shell commands
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation completeness
|
| Exploitation Conditions | OpenClaw versions prior to 2026.2.23 with /usr/bin/env allowlisted in system.run guardrails. Requires authenticated operator access (PR:L). Attacker exploits env -S flag to bypass policy analysis and execute shell wrapper payloads. |
| Impact | The CVSS score of 7.1 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L) indicates high integrity impact with network-based attack vector and low complexity, requiring only low-level privileges with no user interaction. While the CVSS score is moderately high, the real-world risk is tempered by several factors: the attacker must already possess authenticated operator credentials (PR:L), there is no confidentiality impact (C:N), and the vulnerability requires the specific configuration where /usr/bin/env is allowlisted. The availability of vendor patches from GitHub commits a1c4bf07c6baad3ef87a0e710fe9aef127b1f606 and 3f923e831364d83d0f23499ee49961de334cf58b reduces immediate risk for organizations with active patch management. The technical impact is significant for privilege escalation scenarios within trusted environments, but the authentication requirement and configuration dependency limit broad exploitation potential. Organizations using OpenClaw with allowlist-based command controls should prioritize this as a medium-to-high risk issue, especially in multi-tenant environments. |
| Exploit ScenarioDerived | An authenticated operator with low-level privileges connects to an OpenClaw instance over the network and submits a system.run command that appears to invoke the allowlisted /usr/bin/env utility. By crafting the request as 'env -S /bin/sh -c malicious_payload', the attacker bypasses the guardrail policy analysis which only validates the initial env invocation, causing the runtime to execute arbitrary shell commands with elevated privileges. The low attack complexity and network accessibility make this exploitable by moderately skilled attackers who have already obtained valid credentials. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 19, 2026
OpenClaw contains an allowlist bypass vulnerability in system.run guardrails that enables authenticated operators to execute arbitrary commands by exploiting the env -S flag when /usr/bin/env is allowlisted. The vulnerability affects all OpenClaw versions prior to 2026.2.23, allowing attackers with low-level privileges to bypass policy controls and execute shell wrapper payloads at runtime. No KEV status or public POC has been reported, though vendor patches are available.
RemediationAI
Upgrade OpenClaw to version 2026.2.23 or later, which includes patches available in GitHub commits https://github.com/openclaw/openclaw/commit/a1c4bf07c6baad3ef87a0e710fe9aef127b1f606 and https://github.com/openclaw/openclaw/commit/3f923e831364d83d0f23499ee49961de334cf58b. Organizations should review their system.run allowlist configurations and remove /usr/bin/env unless absolutely required, or implement additional validation to block the -S flag and other potentially dangerous env options. As an interim control, restrict operator authentication to highly trusted accounts only and implement comprehensive command execution logging to detect potential exploitation attempts. Consult the vendor security advisory at https://github.com/openclaw/openclaw/security/advisories/GHSA-48wf-g7cp-gr3m for complete remediation 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
This vulnerability exploits CWE-184 (Incomplete List of Disallowed Inputs) in OpenClaw's command execution guardrails. The affected product is OpenClaw (cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:*:*:*), which implements allowlist-based command execution controls. When administrators allowlist /usr/bin/env as a permitted command, attackers can abuse the env utility's -S flag to inject additional commands and shell options that bypass the intended policy analysis. The -S flag allows splitting a single string into multiple arguments at runtime, effectively circumventing the pre-execution security checks that only evaluate the initial command invocation. This represents a classic allowlist evasion pattern where a trusted utility's legitimate features are weaponized to execute unintended payloads.
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:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
OpenClaw versions prior to 2026.2.23 contain an allowlist bypass vulnerability in system.run guardrails that allows authenticated operators to execute unintended commands. When /usr/bin/env is allowlisted, attackers can use env -S to bypass policy analysis and execute shell wrapper payloads at runtime.
Executive ViewAI
OpenClaw versions prior to 2026.2.23 contain a vulnerability allowing authenticated operators to bypass security controls and execute arbitrary commands on systems. This affects organizations using OpenClaw where operators have legitimate access, potentially enabling privilege escalation and unauthorized system compromise. Immediate patching is required to prevent exploitation by insider threats or compromised operator accounts.
Apply vendor patch. If immediate patching is not possible, restrict /usr/bin/env from allowlisted executables, implement command execution monitoring and logging for operator activities, enforce principle of least privilege for operator permissions, and disable system.run guardrails if operationally feasible pending patch deployment.
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.
Related Vulnerabilities in OpenClaw Allowlist Bypass Vulnerabilities
View all 5Auth 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-13023
GHSA-48wf-g7cp-gr3m
NVD
CVE.org
EPSS
VulDB
Exploit-DB