Skip to main content
Vulnerability Database/CVE-2026-100532

CVE-2026-100532: WhatsApp npm Package Auth Bypass Flaw

CVE-2026-100532 is an authentication bypass flaw in the @openclaw/whatsapp npm package that allows non-owner users to access privileged login tools and disconnect WhatsApp accounts. This article covers technical details, affected versions, security impact, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-100532 Overview

CVE-2026-100532 affects the @openclaw/whatsapp npm package before version 2026.8.1. The package exposes the WhatsApp login tool through a generic channel-tool path without preserving the originating sender's owner status. The owner-only tool boundary is not enforced, allowing an admitted non-owner sender to invoke the login tool. An attacker who can steer the tool can request a forced login and receive a new QR code for a configured account. This disconnects the Gateway's WhatsApp account and causes loss of availability. The vulnerability is classified as CWE-862 Missing Authorization.

Critical Impact

An admitted non-owner can disconnect the Gateway's WhatsApp account and trigger issuance of a new login QR code, breaking availability of the configured account.

Affected Products

  • @openclaw/whatsapp npm package versions prior to 2026.8.1
  • Openclaw Gateway deployments integrating the WhatsApp channel tool
  • Downstream applications relying on the owner-only tool boundary for login operations

Discovery Timeline

  • 2026-09-26 - CVE-2026-100532 published to NVD
  • 2026-09-30 - Last updated in NVD database

Technical Details for CVE-2026-100532

Vulnerability Analysis

The flaw is an authorization bypass in the channel-tool dispatch layer of @openclaw/whatsapp. The WhatsApp login tool is intended to be owner-only, but it is exposed through the generic channel-tool path. That path does not propagate the originating sender's owner status to the tool handler. The handler therefore cannot distinguish owner from non-owner callers and executes privileged login logic for any admitted sender.

Exploitation disconnects the Gateway's existing WhatsApp session and causes the server to issue a new QR code tied to the configured account. The configured account becomes unavailable until an operator re-links it. Full account takeover is not possible through this bug alone. Relinking the account to attacker-controlled infrastructure additionally requires the attacker to scan the returned QR code with another phone. The weakness lies in the owner-only tool boundary, not in WhatsApp transport authentication.

Root Cause

The root cause is Missing Authorization [CWE-862]. The generic channel-tool invocation path does not preserve or re-check the sender's owner attribute before routing to the login tool. Owner enforcement is implemented at a higher layer that the generic path bypasses.

Attack Vector

An attacker must be an admitted non-owner sender that can steer tool invocation on the Gateway. From that position, the attacker issues a forced-login request against the WhatsApp channel tool over the network. The Gateway processes the request, disconnects the active WhatsApp account, and returns a QR code. Availability of the configured WhatsApp account is lost until operator intervention.

No verified public exploit code is available. See the GitHub Security Advisory GHSA-9m4p-cqp4-jppq and the VulnCheck Authentication Bypass Advisory for additional detail.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-100532

Indicators of Compromise

  • Unexpected WhatsApp session disconnects on the Gateway followed by issuance of a new QR code.
  • Invocations of the WhatsApp login tool originating from non-owner sender identifiers in Gateway logs.
  • Repeated or rapid login or forced-login tool requests through the generic channel-tool path.
  • Operator alerts for account relinking requests that were not initiated by an authorized owner.

Detection Strategies

  • Audit Gateway tool-dispatch logs for login-tool calls that did not traverse the owner-enforcement path.
  • Correlate sender identity against the configured owner list at the time of each privileged tool invocation.
  • Alert when the WhatsApp channel transitions from connected to QR-pending without an operator-initiated action.

Monitoring Recommendations

  • Enable verbose logging on channel-tool dispatch, capturing caller identity, tool name, and authorization decision.
  • Forward Gateway logs to a centralized SIEM or data lake and build alerts on login-tool invocation anomalies.
  • Monitor the npm package version in use across environments to confirm all deployments have been updated.

How to Mitigate CVE-2026-100532

Immediate Actions Required

  • Upgrade @openclaw/whatsapp to version 2026.8.1 or later across all Gateway deployments.
  • Review the owner list and remove any sender accounts that should not retain admitted access.
  • Rotate the WhatsApp account linkage and verify that only authorized operators can scan QR codes issued by the Gateway.

Patch Information

The maintainers fixed the issue in @openclaw/whatsapp2026.8.1. The fix enforces the owner-only boundary on the login tool regardless of invocation path. Review the GitHub Security Advisory GHSA-9m4p-cqp4-jppq for upgrade guidance.

Workarounds

  • Restrict admitted senders to trusted owner identities until the patched version is deployed.
  • Disable or gate the WhatsApp login tool behind an external authorization check at the application layer.
  • Physically control access to any phone capable of scanning Gateway-issued QR codes to prevent account relinking.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.