CVE-2026-33247
mediumpriority · track · 21EPSS 0.004 · 37 %ileDEEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 4.9–7.5
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (14)
Products and version ranges known to be affected.
- linuxfoundation nats-server2.12.0 → 2.12.6nvdUScpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:*
- Go github.com/nats-io/nats-server/v22.12.0-RC.1 → 2.12.6osvUSpkg:golang/github.com/nats-io/nats-server/v2
advisories (4)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-0858NATS Server: Mehrere SchwachstellenDeutsch2026-03-24csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in NATS Server ausnutzen, um Informationen offenzulegen oder zu manipulieren, einen Denial-of-Service zu verursachen und Sicherheitsmechanismen zu umgehen.
- GHSA-x6g4-f6q3-fqvvNATS credentials are exposed in monitoring port via command-line argv2026-03-24ghsa · osvUS
### Background NATS.io is a high performance open source pub-sub distributed communication technology, built for the cloud, on-premise, IoT, and edge computing. The nats-server provides an optional monitoring port, which provides access to sensitive data. The nats-server can take certain configuration options on the command-line instead of requiring a configuration file. ### Problem Description 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. ### Patches Fixed in nats-server 2.12.6 & 2.11.15 ### Workarounds The NATS Maintainers are bemused at the concept of someone deploying a real configuration using `--pass` to avoid a config file, but also enabling monitoring. Configure credentials inside a configuration file instead of via argv. 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.
- BIT-nats-2026-33247NATS credentials are exposed in monitoring port via command-line argv2026-03-27vendor · osvUS
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.
- GO-2026-4827NATS credentials are exposed in monitoring port via command-line argv in github.com/nats-io/nats-server2026-03-26vendor · osvUS
NATS credentials are exposed in monitoring port via command-line argv in github.com/nats-io/nats-server
also known as (6)
Other names and identifiers for this entity.
- CNNVD-202603-4683cnnvd
- EUVD-2026-15975enisa_euvd
- GHSA-x6g4-f6q3-fqvvenisa_euvd
- BIT-nats-2026-33247osv
- GHSA-x6g4-f6q3-fqvvosv
- GO-2026-4827osv
sources
Which sources assert this record, and when.
references (14)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2026-33247cnnvd
- https://advisories.nats.io/CVE/secnote-2026-14.txtcnnvd
- https://github.com/nats-io/nats-server/releases/tag/v2.12.6Patchcnnvd
- https://github.com/nats-io/nats-server/security/advisories/GHSA-x6g4-f6q3-fqvvcnnvd
- https://advisories.nats.io/CVE/secnote-2026-14.txtenisa_euvd
- https://github.com/nats-io/nats-server/security/advisories/GHSA-x6g4-f6q3-fqvvenisa_euvd
- https://access.redhat.com/errata/RHSA-2026:21769nvd
- https://access.redhat.com/errata/RHSA-2026:22347nvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan