CVE-2026-48063 — Vulnerability in baileys — CVE Details
Baileys has message upsert / hist sync spoofing and app state corruption when using maliciously crafted protocolMessage payload
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.22%). Schedule for your next planned update.
Does your project use an affected baileys version?
Paste your package-lock.json to check it for CVE-2026-48063 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
Any baileys session under the latest version (< 7.0.0-rc12, and < 6.7.22) 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.
Patches
https://github.com/WhiskeySockets/Baileys/commit/3beb08eecfcb4e65722e674034bd84fb11a9de35 This commit has patched the issue, and a version tag has been released under 7.0.0 (6.7.22) for those still on Baileys v6. A new Baileys version, v7.0.0-rc12, has been released to remediate this.
Workarounds
There are no real workarounds other than dropping messages.upsert events that contain a requestId field, turning off automatic history sync (shouldSyncHistoryMessage: () => false) in socket config. There are no workarounds for the app state sync jamming.
Advisory Timeline
- First published June 10, 2026 (169 days ago).
- Last revised September 10, 2026 — 91 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install baileys@6.7.22
npm install @whiskeysockets/baileys@6.7.22
npm install baileys@7.0.0-rc12
npm install @whiskeysockets/baileys@7.0.0-rc12
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 1 ecosystem: npm (2).
| Package | Fixed In |
|---|---|
| baileys npm · Affected: All versions | 6.7.22 |
| @whiskeysockets/baileys npm · Affected: All versions | 6.7.22 |
| baileys npm · Affected: All versions | 7.0.0-rc12 |
| @whiskeysockets/baileys npm · Affected: All versions | 7.0.0-rc12 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.
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
References
Frequently Asked Questions
- What is CVE-2026-48063?
- Baileys has message upsert / hist sync spoofing and app state corruption when using maliciously crafted protocolMessage payload. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
- How do I check if my project is affected by CVE-2026-48063?
- CVE-2026-48063 affects baileys and @whiskeysockets/baileys. It has a 0.2% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-48063 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is a below-median EPSS score — only 7.6% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-76807CRITICAL
Todoist MCP Server: Browser DNS rebinding lets websites write and delete Todoist data through local MCP server
- CVE-2026-114516CRITICAL
Etherpad: Pre-auth arbitrary file read