SCA: security update for github.com/nats-io/nats-server/v2 (GHSA-52jh-2xxh-pwh6)

high Tenable Cloud Security Plugin ID 439169

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.14 and 2.12.5, if the nats-server has the "leafnode" configuration enabled (not default),
then anyone who can connect can crash the nats-server by triggering a panic. This happens pre-
authentication and requires that compression be enabled (which it is, by default, when leafnodes are
used). Versions 2.11.14 and 2.12.5 contain a fix. As a workaround, disable compression on the leafnode
port. (CVE-2026-29785)

Solution

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

See Also

https://github.com/advisories/GHSA-52jh-2xxh-pwh6

Plugin Details

Severity: High

ID: 439169

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 3/25/2026

Updated: 5/11/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 94.39

Vendor

Vendor Severity: High

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-29785

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-29785

cwe: CWE-476