CVE-2026-34425: 
OpenClaw (formerly Moltbot or Clawdbot) vulnerability analysis and mitigation

Overview

CVE-2026-34425 is a preflight validation bypass vulnerability in OpenClaw's shell-bleed protection mechanism, allowing authenticated attackers to execute blocked script content by crafting complex command forms that the parser fails to recognize. It affects all OpenClaw (npm) versions up to and including 2026.4.1; the fix is present in version 2026.4.2 and later. The vulnerability was published on April 2, 2026, with the canonical advisory updated on April 6, 2026. It carries a CVSS v3.1 base score of 4.3 (Medium) and a CVSS v4.0 base score of 5.3 (Medium) (GitHub Advisory, Feedly).

Technical details

The root cause is classified as CWE-184 (Incomplete List of Disallowed Inputs): the validateScriptFileForShellBleed() function implements a blocklist-based protection mechanism that fails to account for complex shell interpreter invocations such as piped commands (cmd1 | cmd2), command substitution (`cmd` or $(cmd)), and subshell invocations. When the parser encounters these non-simple command forms, it fails open — skipping script-content validation entirely rather than rejecting the input. Exploitation requires network access and low-privilege authentication; no user interaction is needed. The fix (commit 8aceaf5) hardens the preflight check to fail closed on unrecognized command shapes and correctly inspects quoted script paths before host execution (GitHub Advisory, Fix Commit).

Impact

Successful exploitation allows a low-privilege authenticated attacker to bypass a defense-in-depth guard and execute arbitrary script content that would otherwise be blocked by OpenClaw's shell-bleed protection. The impact is limited in scope: confidentiality and integrity of the vulnerable system are partially affected (low impact each), while availability is unaffected and there is no impact on subsequent systems. This weakens a security boundary intended to prevent unsafe script execution, potentially enabling unauthorized data access or modification within the context of the OpenClaw process (GitHub Advisory, Feedly).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time (Feedly). The EPSS score is approximately 0.025% (7th percentile), indicating a low near-term exploitation probability (GitHub Advisory). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported. Exploitation does require low-privilege authentication, which somewhat limits the attack surface.

Exploitation steps

  1. Authenticate: Obtain low-privilege credentials to an OpenClaw instance running a version ≤ 2026.4.1 (npm package).
  2. Identify exec/script execution endpoint: Locate the OpenClaw functionality that accepts script or command input subject to validateScriptFileForShellBleed() preflight validation.
  3. Craft a complex command form: Instead of submitting a simple script path or command (which would be inspected and potentially blocked), craft input using a complex interpreter invocation such as a pipe (blocked_script | attacker_cmd), command substitution ($(blocked_script)), or subshell invocation (e.g., (blocked_script)) that the parser does not recognize as a simple command form.
  4. Submit the payload: Send the crafted command to the target endpoint. The validateScriptFileForShellBleed() function fails to match the complex form against its blocklist and fails open, skipping script-content validation entirely.
  5. Achieve script execution: The blocked script content is executed by the host, allowing the attacker to run arbitrary scripts that would otherwise have been rejected by the preflight guard (GitHub Advisory, Fix Commit).

Indicators of compromise

  • Logs: OpenClaw application logs showing script execution events where the command string contains pipe characters (|), backticks, $(...), or parenthesized subshell syntax — particularly from low-privilege user accounts.
  • Process: Unexpected child processes spawned by the OpenClaw Node.js process using complex shell constructs or executing scripts that should have been blocked by preflight validation.
  • File System: Presence of script files in OpenClaw working directories that were not expected to be executed, or evidence of new files created by scripts run under the OpenClaw service account.
  • Network: Outbound connections from the OpenClaw host to unexpected destinations initiated shortly after script execution events logged by the application.

Mitigation and workarounds

Upgrade the openclaw npm package to version 2026.4.2 or later, which includes commit 8aceaf5d0f0ec552b75a792f7f0a3bfa5b091513 that closes the fail-open bypass in exec script preflight validation (GitHub Advisory, Fix Commit). As interim mitigations, implement strict access controls to limit which authenticated users can invoke OpenClaw's script execution functionality, and monitor for suspicious piped or complex command usage in application logs. Consider adding supplementary input validation and command filtering as a defense-in-depth measure beyond the patched validateScriptFileForShellBleed() function (Feedly).

Additional resources


Source: This report was generated using AI

Related OpenClaw (formerly Moltbot or Clawdbot) vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-107392HIGH7.5
  • JavaScript logoJavaScript
  • openclaw
NoYesOct 08, 2026
CVE-2026-107391HIGH7.5
  • JavaScript logoJavaScript
  • openclaw
NoYesOct 08, 2026
CVE-2026-101899MEDIUM6.9
  • JavaScript logoJavaScript
  • commercial-gitlab-rails-ee-19.1
NoYesOct 13, 2026
GHSA-3x84-qq85-fj65MEDIUM6.3
  • OpenClaw (formerly Moltbot or Clawdbot) logoOpenClaw (formerly Moltbot or Clawdbot)
  • openclaw
NoYesOct 21, 2026
CVE-2026-107389MEDIUM6.2
  • JavaScript logoJavaScript
  • openclaw
NoYesOct 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management