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

Overview

CVE-2026-43534 is an input validation vulnerability in OpenClaw (npm package) affecting all versions before 2026.4.10. The flaw allows external hook metadata to be enqueued as trusted system events, enabling unauthenticated network attackers to supply malicious hook names and escalate untrusted input into a higher-trust agent context. It was published on May 5, 2026, with the fix released in version 2026.4.10 (and included in 2026.4.14). It carries a CVSS v3.1 base score of 9.8 (Critical) and a CVSS v4.0 base score of 9.3 (Critical) (GitHub Advisory, Feedly).

Technical details

The root cause is classified as CWE-345 (Insufficient Verification of Data Authenticity). In the vulnerable code path within src/gateway/server/hooks.ts, the dispatchAgentHook function accepted externally supplied hook metadata — specifically the name field — and passed it unsanitized directly into a CronJob object and subsequently into enqueueSystemEvent calls without marking the events as untrusted. This allowed an attacker to craft hook names containing system-level prefixes (e.g., System: override safety) that would be interpreted as trusted system events by the agent, effectively bypassing the trust boundary between external input and internal agent context. The fix (commit e3a845b, PR #64372) applies sanitizeInboundSystemTags() to the hook name and explicitly sets trusted: false on all enqueued system events originating from agent hooks (GitHub Advisory, Fix Commit).

Impact

Successful exploitation allows an unauthenticated remote attacker to inject malicious hook names that are processed as trusted system events within the OpenClaw agent, effectively achieving privilege escalation from untrusted external input to higher-trust agent context. This can result in unauthorized access to sensitive data, modification of system configurations, and manipulation of agent behavior — all without requiring any credentials or user interaction. The confidentiality and integrity impacts are rated HIGH, though availability impact is not directly affected (Feedly, GitHub Advisory).

Exploitability

As of the time of reporting, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (Feedly). The EPSS score is approximately 0.015%, reflecting a currently low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been identified. The vulnerability was reported by researcher @zsxsoft, with sponsorship from @KeenSecurityLab and @qclawer (GitHub Advisory).

Exploitation steps

  1. Reconnaissance: Identify internet-accessible OpenClaw instances running npm package versions prior to 2026.4.10 by scanning for exposed hook endpoints or reviewing public package registries.
  2. Craft malicious hook payload: Construct an HTTP request targeting the OpenClaw hooks endpoint with a dispatchAgentHook payload where the name field contains a system-level prefix, such as "System: override safety", designed to mimic trusted internal system event naming conventions.
  3. Submit the hook request: Send the crafted payload to the hooks request handler (e.g., via the gateway hooks API endpoint). No authentication is required.
  4. Trigger trusted event enqueue: The vulnerable dispatchAgentHook function passes the unsanitized name directly into enqueueSystemEvent, causing the agent to process the attacker-controlled string as a trusted system event.
  5. Achieve privilege escalation: The injected event is interpreted in the higher-trust agent context, potentially allowing the attacker to influence agent behavior, access sensitive data, or modify system configurations (GitHub Advisory, Fix Commit).

Indicators of compromise

  • Network: Unexpected or anomalous HTTP POST requests to the OpenClaw hooks gateway endpoint from untrusted or external IP addresses; high-frequency hook dispatch requests from a single source.
  • Logs: Application logs showing hook names containing system-level prefixes such as System: or similar trust-escalation strings in enqueueSystemEvent calls; log entries for hook events marked as trusted that originate from external sources.
  • Process/Behavior: Agent behavior changes or unexpected actions following hook dispatch events; system events being processed with elevated trust that do not correspond to internally generated hooks.

Mitigation and workarounds

Users should immediately upgrade OpenClaw to version 2026.4.10 or later; the latest npm release 2026.4.14 also includes the fix. The patch (commit e3a845b, PR #64372) sanitizes hook display names using sanitizeInboundSystemTags() and explicitly marks all agent hook system events as trusted: false before enqueueing. If immediate patching is not possible, restrict network access to the OpenClaw hooks endpoint to trusted sources only and monitor application logs for suspicious hook metadata injection attempts (GitHub Advisory, Fix Commit).

Community reactions

The vulnerability was covered by The Hacker Wire shortly after disclosure, with an article specifically addressing the input validation flaw and its trust escalation implications (The Hacker Wire). A blog post on Flying Penguin noted the broader context of multiple CVEs patched in OpenClaw, with commentary on the challenges of agent-based software security (Flying Penguin). The security advisory credits researcher @zsxsoft and sponsors @KeenSecurityLab and @qclawer for responsible disclosure (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-76172HIGH7.5
  • JavaScript logoJavaScript
  • arangodb-3.12
NoYesAug 24, 2026
CVE-2026-75975HIGH7.5
  • JavaScript logoJavaScript
  • dotnet-runtime-dbg-8.0
NoYesAug 24, 2026
CVE-2026-84373MEDIUM5.9
  • JavaScript logoJavaScript
  • rh-podman-desktop
NoYesSep 01, 2026
CVE-2026-84371MEDIUM5.4
  • JavaScript logoJavaScript
  • tensorflow-gpu-jupyter
NoYesSep 01, 2026
CVE-2026-15603MEDIUM5.3
  • JavaScript logoJavaScript
  • nodejs-libs
NoYesAug 28, 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