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.
Affected products
linuxfoundation: nats-server
References8
- advisories.nats.io/CVE/secnote-2026-14.txt MitigationVendor Advisory
- github.com/nats-io/nats-server/security/advisories/GHSA-x6g4-f6… MitigationVendor Advisory
- access.redhat.com/errata/RHSA-2026:21769
- access.redhat.com/errata/RHSA-2026:22347
- access.redhat.com/errata/RHSA-2026:23345
- access.redhat.com/security/cve/CVE-2026-33247
- bugzilla.redhat.com/show_bug.cgi?id=2451486
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33247…
Metrics
- CVSS 3.1
-
5.3
MEDIUM
Score source: NVD
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N - EPSS — exploit probability
- 0% percentile: 39 · as of 12 November 2026
- CWE
- CWE-215CWE-214
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.