SCA: security update for github.com/nats-io/nats-server/v2 (GHSA-qrvq-68c2-7grw)

high Tenable Cloud Security Plugin ID 437951

Description

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

- NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. The
WebSockets handling of NATS messages handles compressed messages via the WebSockets negotiated
compression. Prior to versions 2.11.2 and 2.12.3, the implementation bound the memory size of a NATS
message but did not independently bound the memory consumption of the memory stream when constructing a
NATS message which might then fail validation for size reasons. An attacker can use a compression bomb to
cause excessive memory consumption, often resulting in the operating system terminating the server
process. The use of compression is negotiated before authentication, so this does not require valid NATS
credentials to exploit. The fix, present in versions 2.11.2 and 2.12.3, was to bounds the decompression to
fail once the message was too large, instead of continuing on. The vulnerability only affects deployments
which use WebSockets and which expose the network port to untrusted end-points. (CVE-2026-27571)

See Also

https://github.com/advisories/GHSA-qrvq-68c2-7grw

Plugin Details

Severity: High

ID: 437951

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 2/24/2026

Updated: 6/1/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.73

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2026-27571

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 2/24/2026

Vulnerability Publication Date: 2/24/2026

Reference Information

CVE: CVE-2026-27571