
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-27183 is a shell approval gating bypass vulnerability in OpenClaw's system.run dispatch-wrapper handling, classified as Incorrect Authorization (CWE-863) and Interpretation Conflict (CWE-436). It affects all OpenClaw npm package versions prior to 2026.3.7 (specifically <= 2026.3.2). The vulnerability was reported by researcher @tdjackey, fixed on the main branch on March 7, 2026, and publicly disclosed via a GitHub Security Advisory on March 8, 2026. It carries a CVSS v3.1 base score of 5.3 (Medium) per NVD and a CVSS v4.0 base score of 2.1 (Low) (GitHub Advisory, VulnCheck).
The root cause is a depth-boundary mismatch between two internal components: the approval classifier (hasEnvManipulationBeforeShellWrapperInternal) and the execution planner (extractShellWrapperCommandInternal). Both functions used a depth >= MAX_DISPATCH_WRAPPER_DEPTH boundary check, which caused the classifier to stop treating a command as a shell wrapper exactly at the boundary depth, while the execution planner continued unwrapping through to the shell payload. By crafting a command with exactly four transparent dispatch wrappers — such as repeated /usr/bin/env invocations — before /bin/sh -c <payload>, an attacker could cause the classifier to miss the shell wrapper at the boundary depth, bypassing the security=allowlist approval gate while execution still proceeded. The fix changed both checks from >= to >, ensuring the wrapper found at the boundary depth still participates in approval classification (GitHub Advisory, Fix Commit).
Successful exploitation allows a low-privileged local attacker to execute arbitrary shell commands that would otherwise require explicit user approval under the security=allowlist mode, bypassing the intended authorization gate. The impact is assessed as low across confidentiality, integrity, and availability — the attacker can read limited data, modify limited data, or cause limited disruption within the scope of the OpenClaw process. Critically, this undermines the trust model of the allowlist security feature, potentially enabling unauthorized command execution that users believe is protected (GitHub Advisory).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at the time of disclosure. The EPSS score is approximately 0.011% (0.000110), indicating very low probability of exploitation in the near term. The vulnerability requires local access and the target system must be running OpenClaw in security=allowlist mode, which limits the attack surface. No threat actor attribution or CISA KEV catalog listing has been identified (GitHub Advisory, VulnCheck).
security=allowlist mode enabled, which is the prerequisite for the approval gating to be in effect.system.run invocation using exactly four transparent dispatch wrappers before the shell invocation — for example: ["/usr/bin/env", "/usr/bin/env", "/usr/bin/env", "/usr/bin/env", "/bin/sh", "-c", "<payload>"].system.run interface. The approval classifier stops classifying the command as a shell wrapper at depth 4 (the boundary), while the execution planner continues unwrapping and reaches /bin/sh -c.security=allowlist gate is not triggered, and the shell payload executes without prompting for user approval (GitHub Advisory, Fix Commit).system.run invocations with four or more consecutive /usr/bin/env entries in the argument array immediately preceding /bin/sh -c or similar shell invocations, without a corresponding approval-required event./bin/sh -c from the OpenClaw Node.js process without a preceding approval dialog or log entry indicating user consent.depth4-pwned.txt as referenced in the fix's test suite) (Fix Commit).Upgrade OpenClaw (npm) to version 2026.3.7 or later, which was published on March 8, 2026 and contains the fix aligning the approval classifier and execution planner depth-boundary checks. No configuration-based workaround is available; the only effective remediation is upgrading to the patched version. As a defense-in-depth measure, apply the principle of least privilege to restrict local user access and monitor execution logs for unusual dispatch-wrapper chains (GitHub Advisory, Fix Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."