CVE-2026-48063

Critical

Description

Baileys is a cocket-based TS/JavaScript API for WhatsApp Web. In versions prior to both 6.7.22 and 7.0.0-rc12, any Baileys session can be sent a malicious payload via the placeholderResendMessage and trigger a fake messages.upsert event with a fake message key and payload. This allows anyone to spoof messages. The same exploit also allows an attacker to corrupt the app state sync system by sending fake key shares, and also allows for history sync spoofing which also serves the same problem, injecting fake previous context or "on-demand" sync. This issue has been fixed in versions 6.7.22 and 7.0.0-rc12.

SeverityCritical
CVSS9.3
Exploit probability—
ProductBaileys
PublishedAug 3, 2026
First seenAug 3, 2026

How to fix

Update
  • baileys6.7.22, 7.0.0-rc12 or later
  • @whiskeysockets/baileys6.7.22, 7.0.0-rc12 or later

Affected products

ProductAffected versionsFixed in
baileysnpmv < 6.7.22, 7.0.0-rc.1 ≤ v < 7.0.0-rc126.7.22, 7.0.0-rc12
@whiskeysockets/baileysnpmv < 6.7.22, 7.0.0-rc.1 ≤ v < 7.0.0-rc126.7.22, 7.0.0-rc12

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.