CVE-2026-48063 Baileys has message upsert / hist sync spoofing and app state corruption when using maliciously crafted protocolMessage payload
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
4 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm baileys(npm) | < 6.7.22; >= 7.0.0-rc.1, < 7.0.0-rc12 | 6.7.22, 7.0.0-rc12 | Fixed |
| WhiskeySockets Baileys(npm) | < 6.7.22; >= 7.0.0-rc.1, < 7.0.0-rc12 | 6.7.22, 7.0.0-rc12 | Fixed |
| WhiskeySockets @whiskeysockets/baileys | = < 6.7.22; = >= 7.0.0-rc.1, < 7.0.0-rc12 | No fix listed | Versions listed |
| WhiskeySockets Baileys | = < 6.7.22; = >= 7.0.0-rc.1, < 7.0.0-rc12 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| WhiskeySockets Baileys | = < 6.7.22 | No fix listed |
| WhiskeySockets Baileys | = >= 7.0.0-rc.1, < 7.0.0-rc12 | No fix listed |
| WhiskeySockets @whiskeysockets/baileys | = < 6.7.22 | No fix listed |
| WhiskeySockets @whiskeysockets/baileys | = >= 7.0.0-rc.1, < 7.0.0-rc12 | No fix listed |
| npm baileys(npm) | < 6.7.22 | 6.7.22 |
| WhiskeySockets Baileys(npm) | < 6.7.22 | 6.7.22 |
| npm baileys(npm) | >= 7.0.0-rc.1, < 7.0.0-rc12 | 7.0.0-rc12 |
| WhiskeySockets Baileys(npm) | >= 7.0.0-rc.1, < 7.0.0-rc12 | 7.0.0-rc12 |
References
- https://github.com/WhiskeySockets/Baileys/security/advisories/GHSA-qvv5-jq5g-4cgg vendor-advisory
- https://github.com/WhiskeySockets/Baileys/commit/3beb08eecfcb4e65722e674034bd84fb11a9de35 patch
- github.com
- github.com product
- ENISA EUVD EUVD-2026-52440 third-party-advisory