SCA: security update for github.com/nats-io/nats-server/v2 (GHSA-8r68-gvr4-jh7j)

high Tenable Cloud Security Plugin ID 439158

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. Prior to
versions 2.11.15 and 2.12.6, a malicious client which can connect to the WebSockets port can cause
unbounded memory use in the nats-server before authentication; this requires sending a corresponding
amount of data. This is a milder variant of CVE-2026-27571. That earlier issue was a compression bomb,
this vulnerability is not. Attacks against this new issue thus require significant client bandwidth.
Versions 2.11.15 and 2.12.6 contain a fix. As a workaround, disable websockets if not required for project
deployment. (CVE-2026-33219)

Solution

Update the github.com/nats-io/nats-server/v2 library and its related packages to version 2.11.15 or later.

See Also

https://github.com/advisories/GHSA-8r68-gvr4-jh7j

Plugin Details

Severity: High

ID: 439158

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 3/25/2026

Updated: 6/30/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.72

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS Score Source: CVE-2026-33219

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: 3/24/2026

Vulnerability Publication Date: 3/24/2026

Reference Information

CVE: CVE-2026-33219

cwe: CWE-770