CVE-2026-48063

WhiskeySockets · Baileys

The Baileys WhatsApp API allows unauthenticated remote attackers to spoof messages and corrupt the application state by sending malicious payloads to the placeholderResendMessage function.

Executive summary

The WhiskeySockets Baileys library is susceptible to an authentication bypass and message spoofing vulnerability that allows attackers to manipulate message history and application state.

Vulnerability

This vulnerability involves an authentication bypass (CWE-290) and insufficient verification of data authenticity (CWE-345). An attacker can trigger a fake message event and manipulate the history sync system because the library fails to properly validate the origin and integrity of incoming payloads.

Business impact

Successful exploitation allows an attacker to inject fake messages into a conversation and corrupt the application state, which can lead to significant loss of trust in communication integrity. This is particularly damaging for applications relying on Baileys for business or secure messaging, potentially resulting in reputational harm and the dissemination of misinformation.

Remediation

Immediate Action: Update the Baileys library to version 6.7.22 or 7.0.0-rc12 to ensure proper message verification and state synchronization security.

Proactive Monitoring: Inspect message traffic for anomalous events or unexpected state synchronization requests that do not align with established communication patterns.

Compensating Controls: Implement strict origin validation at the application level if the library cannot be updated immediately, though upgrading remains the only complete remediation.

Exploitation status

Public Exploit Available: Unknown

Analyst recommendation

Given the critical nature of message authenticity, all users of the Baileys library must upgrade to the specified patched versions. Failure to do so leaves communication channels open to sophisticated spoofing and state corruption attacks.