SCA: security update for @whiskeysockets/baileys, baileys (GHSA-qvv5-jq5g-4cgg)

critical Tenable Cloud Security Plugin ID 443063

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2026-48063)

Solution

Update the @whiskeysockets/baileys library and its related packages to version 6.7.22 or later.

See Also

https://github.com/advisories/GHSA-qvv5-jq5g-4cgg

Plugin Details

Severity: Critical

ID: 443063

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 6/11/2026

Updated: 8/4/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS Score Source: CVE-2026-48063

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: Critical

Base Score: 9.3

Threat Score: 8

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/10/2026

Vulnerability Publication Date: 6/10/2026

Reference Information

CVE: CVE-2026-48063