SCA: security update for github.com/nats-io/nats-server/v2 (GHSA-x6g4-f6q3-fqvv)

medium Tenable Cloud Security Plugin ID 439171

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, if a nats-server is run with static credentials for all clients provided via
argv (the command-line), then those credentials are visible to any user who can see the monitoring port,
if that too is enabled. The `/debug/vars` end-point contains an unredacted copy of argv. Versions 2.11.15
and 2.12.6 contain a fix. As a workaround, configure credentials inside a configuration file instead of
via argv, and do not enable the monitoring port if using secrets in argv. Best practice remains to not
expose the monitoring port to the Internet, or to untrusted network sources. (CVE-2026-33247)

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-x6g4-f6q3-fqvv

Plugin Details

Severity: Medium

ID: 439171

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 3/25/2026

Updated: 7/2/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: High

CVSS v2

Risk Factor: Medium

Base Score: 4.9

Temporal Score: 3.6

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

CVSS Score Source: CVE-2026-33247

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.6

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

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

cwe: CWE-215