7.4High

CVE-2026-33247NATS credentials are exposed in monitoring port via command-line argv

nats-io nats-server; Red Hat Multicluster Global Hub 1.4.5; Red Hat Multicluster Global Hub 1.6.5; Red Hat Red Hat multicluster global hub 1.5.3 Published: (7 months ago)

Description

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.

Weakness (CWE): CWE-215CWE-214

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
linuxfoundation nats-server < 2.11.15
multicluster globalhub 1.4 —
multicluster globalhub 1.5 —
multicluster globalhub 1.6 —
nats-io nats-server < 2.11.15, >= 2.12.0-RC.1, < 2.12.6
Red Hat Multicluster Global Hub 1.4.5 all versions
Red Hat Multicluster Global Hub 1.6.5 all versions
Red Hat Red Hat multicluster global hub 1.5.3 all versions
Red Hat Red Hat OpenShift Container Platform 4 —

References and patches

CPE matches (NVD) (2)

  • cpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:* < 2.11.15
  • cpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:* ≥ 2.12.0 < 2.12.6