Authentication bypass by spoofing in WhiskeySockets Baileys
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-290.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| WhiskeySockets | Baileys | before 6.7.22; 7.0.0-rc.1 to before 7.0.0-rc12 | 6.7.22, 7.0.0-rc12 | Patch available | CNA |
| WhiskeySockets | @whiskeysockets/baileys | before 6.7.22; 7.0.0-rc.1 to before 7.0.0-rc12 | 6.7.22, 7.0.0-rc12 | Patch available | CNA |
| — | baileys (npm) | before 6.7.22 | 6.7.22 | Patch available | GHSA-qvv5-jq5g-4cgg |
| — | @whiskeysockets/baileys (npm) | before 6.7.22 | 6.7.22 | Patch available | GHSA-qvv5-jq5g-4cgg |
| — | baileys (npm) | 7.0.0-rc.1 to before 7.0.0-rc12 | 7.0.0-rc12 | Patch available | GHSA-qvv5-jq5g-4cgg |
| — | @whiskeysockets/baileys (npm) | 7.0.0-rc.1 to before 7.0.0-rc12 | 7.0.0-rc12 | Patch available | GHSA-qvv5-jq5g-4cgg |
- Baileys VendorWhiskeySockets Affected before 6.7.22; 7.0.0-rc.1 to before 7.0.0-rc12 Fixed in 6.7.22, 7.0.0-rc12 Patch available CNA
- @whiskeysockets/baileys VendorWhiskeySockets Affected before 6.7.22; 7.0.0-rc.1 to before 7.0.0-rc12 Fixed in 6.7.22, 7.0.0-rc12 Patch available CNA
- baileys (npm) Vendor— Affected before 6.7.22 Fixed in 6.7.22 Patch available GHSA-qvv5-jq5g-4cgg
- @whiskeysockets/baileys (npm) Vendor— Affected before 6.7.22 Fixed in 6.7.22 Patch available GHSA-qvv5-jq5g-4cgg
- baileys (npm) Vendor— Affected 7.0.0-rc.1 to before 7.0.0-rc12 Fixed in 7.0.0-rc12 Patch available GHSA-qvv5-jq5g-4cgg
- @whiskeysockets/baileys (npm) Vendor— Affected 7.0.0-rc.1 to before 7.0.0-rc12 Fixed in 7.0.0-rc12 Patch available GHSA-qvv5-jq5g-4cgg
Remediation
- Fix · CNA Baileys (WhiskeySockets) Fixed in 6.7.22, 7.0.0-rc12
- Fix · CNA @whiskeysockets/baileys (WhiskeySockets) Fixed in 6.7.22, 7.0.0-rc12
- Fix · GHSA-qvv5-jq5g-4cgg baileys (npm) Fixed in 6.7.22 Advisory →
- Fix · GHSA-qvv5-jq5g-4cgg @whiskeysockets/baileys (npm) Fixed in 6.7.22 Advisory →
- Fix · GHSA-qvv5-jq5g-4cgg baileys (npm) Fixed in 7.0.0-rc12 Advisory →
- Fix · GHSA-qvv5-jq5g-4cgg @whiskeysockets/baileys (npm) Fixed in 7.0.0-rc12 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-48063
- 2026-10-03 Alias added: GHSA-qvv5-jq5g-4cgg
References
Sources
- CVE-2026-48063 · CVE Program
- CVE-2026-48063 · NVD
- FIRST EPSS
- GHSA-qvv5-jq5g-4cgg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences