CVE-2026-48063
CriticalCVSS 9.3Summary
Baileys, a socket-based TS/JavaScript API for WhatsApp Web, has a vulnerability that allows a malicious payload via placeholderResendMessage to trigger fake messages.upsert events, enabling message spoofing and app state sync corruption.
Risk Assessment
An attacker can impersonate any user, send fake messages, and disrupt chat history synchronization.
Recommendation
Upgrade Baileys to version 6.7.22 or 7.0.0-rc12.
Original NVD description (English source)
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.

