CVE-2026-48063
CVE-2026-48063 · Baileys has message upsert / hist sync spoofing and app state corruption when using maliciously crafted protocolMessage payload
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 9.3 · Critical · EPSS 0.2% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
baileys
- Versions
- < 6.7.22: Affected
- >= 7.0.0-rc.1, < 7.0.0-rc12: Affected
No fix published
@whiskeysockets/baileys
- Versions
- < 6.7.22: Affected
- >= 7.0.0-rc.1, < 7.0.0-rc12: Affected
No fix published
baileys npm
- Affected ranges
- SEMVER: < 6.7.22
Update to 6.7.22
@whiskeysockets/baileys npm
- Affected ranges
- SEMVER: < 6.7.22
Update to 6.7.22
baileys npm
- Affected ranges
- SEMVER: ≥ 7.0.0-rc.1, < 7.0.0-rc12
Update to 7.0.0-rc12
@whiskeysockets/baileys npm
- Affected ranges
- SEMVER: ≥ 7.0.0-rc.1, < 7.0.0-rc12
Update to 7.0.0-rc12