CVE-2026-48063

Baileys has message upsert / hist sync spoofing and app state corruption when using maliciously crafted protocolMessage payload

Published Aug 3, 2026 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-qvv5-jq5g-4cgg Baileys has message upsert / hist sync spoofing and app state corruption when using maliciously crafted protocolMessage payload
History
Type Values Removed Values Added
First Time appeared Whiskeysockets
Whiskeysockets baileys
Vendors & Products Whiskeysockets
Whiskeysockets baileys
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Baileys has message upsert / hist sync spoofing and app state corruption when using maliciously crafted protocolMessage payload
Weaknesses CWE-290
CWE-345
CWE-346
References
Metrics cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 4, 2026, 2:03 PM
Reserved
May 20, 2026, 6:25 PM
Status
Deferred
Published
Aug 3, 2026, 9:16 PM
Modified
Sep 10, 2026, 8:31 PM