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

Overview

CVE-2026-62229 is an authorization bypass vulnerability in OpenClaw's exec allowlist glob matching feature that allows lower-trust authenticated callers to execute actions beyond their intended authorization. Affected versions are all OpenClaw (npm package) releases before 2026.5.18. The vulnerability was published on July 17, 2026, with the security advisory originally published by maintainer joshavant on June 30, 2026. It carries a CVSS v3.1 base score of 8.8 (High) and a CVSS v4.0 base score of 7.7 (High) (GitHub Advisory, Github Advisory).

Technical details

The root cause is improper glob pattern matching in OpenClaw's exec allowlist feature, classified as CWE-22 (Path Traversal) and CWE-863 (Incorrect Authorization). An attacker with low-privilege network access can craft input paths that traverse or bypass the allowlist glob patterns, causing the authorization check to incorrectly permit execution of restricted actions. Exploitation requires the exec allowlist feature to be enabled and reachable by lower-trust callers; it does not affect trusted Gateway operators, installed plugins, or intentional local execution surfaces unless a separate authorization boundary is crossed. No public proof-of-concept code has been identified (GitHub Advisory, Github Advisory).

Impact

Successful exploitation allows an authenticated lower-trust user to execute or persist actions that should be restricted by the exec allowlist, resulting in high confidentiality, integrity, and availability impact on the vulnerable system. Practical impact is configuration-dependent: environments where the exec allowlist feature is enabled and accessible to lower-trust users face the greatest risk of unauthorized command execution and persistent unauthorized modifications. The vulnerability does not affect subsequent/downstream systems directly, but unauthorized execution within the OpenClaw context could facilitate further lateral movement depending on the operator's deployment (GitHub Advisory, Github Advisory).

Exploitation steps

  1. Reconnaissance: Identify OpenClaw deployments running versions prior to 2026.5.18 (npm package) where the exec allowlist feature is enabled and accessible to lower-trust users.
  2. Obtain low-privilege access: Authenticate to the OpenClaw instance with a lower-trust account (e.g., a standard user or limited-privilege API caller).
  3. Craft malicious input path: Construct an input path that exploits weaknesses in the glob pattern matching logic — for example, using path traversal sequences (e.g., ../, URL-encoded variants, or alternate slash encodings) to craft a path that matches an allowlisted glob pattern while resolving to a restricted execution target.
  4. Submit crafted path: Send the malicious path to the exec allowlist-protected endpoint or feature, causing the authorization check to incorrectly evaluate the path as permitted.
  5. Execute or persist unauthorized actions: Upon bypass, execute restricted commands or persist unauthorized modifications within the OpenClaw execution context, potentially enabling further access or persistence (GitHub Advisory).

Indicators of compromise

  • Logs: Execution logs showing actions performed by lower-trust callers that fall outside their expected authorization scope; unexpected exec allowlist matches for paths containing traversal sequences (e.g., ../, %2e%2e%2f, or encoded slash variants).
  • Network: Unusual or repeated API requests from lower-privilege accounts targeting exec allowlist-protected endpoints with atypical path parameters.
  • File System: Unexpected files, scripts, or configuration changes persisted by lower-trust callers in directories that should be restricted under the exec allowlist policy.
  • Process: Unexpected processes or commands spawned by the OpenClaw service under the context of lower-trust callers that do not align with their configured permissions (GitHub Advisory).

Mitigation and workarounds

The first stable patched version is OpenClaw 2026.5.18 (npm); operators should upgrade immediately. If immediate patching is not possible, restrict the exec allowlist feature to trusted operators only or disable it entirely when not needed. As additional hardening, keep channel and tool allowlists narrow, avoid sharing a single Gateway between mutually untrusted users, and review execution logs for signs of unauthorized access. Credits for discovery go to reporter zsxsoft and sponsor KeenSecurityLab (GitHub Advisory).

Additional resources


SourceThis 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-62229HIGH7.7
  • OpenClaw (formerly Moltbot or Clawdbot) logoOpenClaw (formerly Moltbot or Clawdbot)
  • openclaw
NoYesJul 17, 2026
CVE-2026-62228HIGH7.7
  • OpenClaw (formerly Moltbot or Clawdbot) logoOpenClaw (formerly Moltbot or Clawdbot)
  • openclaw
NoYesJul 17, 2026
CVE-2026-45623HIGH7.5
  • JavaScript logoJavaScript
  • vitess-24
NoYesJul 27, 2026
CVE-2026-62226MEDIUM5.1
  • OpenClaw (formerly Moltbot or Clawdbot) logoOpenClaw (formerly Moltbot or Clawdbot)
  • openclaw
NoYesJul 17, 2026
CVE-2026-62227MEDIUM4.9
  • OpenClaw (formerly Moltbot or Clawdbot) logoOpenClaw (formerly Moltbot or Clawdbot)
  • openclaw
NoYesJul 17, 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

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