NATS credentials are exposed in monitoring port via command-line argv
Published Mar 25, 2026
7.5
HIGHCVSS 3.1
EPSS 0.54%
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
-
- Version < 2.11.15StatusaffectedConstraints-
- Version >= 2.12.0-RC.1, < 2.12.6StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Nats-IO | Nats-Server | n/a |
|
- < 2.11.15
- ≥ 2.12.0 · < 2.12.6
No data.
Multicluster Global Hub 1.4.9
multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1779579439
Fixed · RHSA-2026:22347
Multicluster Global Hub 1.6.5
multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1780167118
Fixed · RHSA-2026:23345
Red Hat multicluster global hub 1.5.3
multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1778867753
Fixed · RHSA-2026:21769
Red Hat OpenShift Container Platform 4
openshift4/oc-mirror-plugin-rhel9
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Multicluster Global Hub 1.4.9 | multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1779579439 | Fixed | RHSA-2026:22347 |
| Multicluster Global Hub 1.6.5 | multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1780167118 | Fixed | RHSA-2026:23345 |
| Red Hat multicluster global hub 1.5.3 | multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1778867753 | Fixed | RHSA-2026:21769 |
| Red Hat OpenShift Container Platform 4 | openshift4/oc-mirror-plugin-rhel9 | Not affected | n/a |
github.com/nats-io/nats-server/v2
Go
Introduced 2.12.0-RC.1 Fixed 2.12.6github.com/nats-io/nats-server/v2
Go
Introduced 0 Fixed 2.11.15github.com/nats-io/nats-server
Go
Introduced 0 Fixed not fixed
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Go | github.com/nats-io/nats-server/v2 | 2.12.0-RC.1 | 2.12.6 |
| Go | github.com/nats-io/nats-server/v2 | 0 | 2.11.15 |
| Go | github.com/nats-io/nats-server | 0 | not fixed |
Remediation
Red Hat mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
References (13)
- https://access.redhat.com/errata/RHSA-2026:21769
- https://access.redhat.com/errata/RHSA-2026:22347
- https://access.redhat.com/errata/RHSA-2026:23345
- https://access.redhat.com/security/cve/CVE-2026-33247 Vendor Advisory
- https://advisories.nats.io/CVE/secnote-2026-14.txt x_refsource_MISCMitigationVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2451486 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-15975 Advisory
- https://github.com/advisories/GHSA-x6g4-f6q3-fqvv Advisory
- https://github.com/nats-io/nats-server/security/advisories/GHSA-x6g4-f6q3-fqvv x_refsource_CONFIRMMitigationVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-33247
- https://pkg.go.dev/vuln/GO-2026-4827
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33247.json
- https://www.cve.org/CVERecord?id=CVE-2026-33247
Change history (0)
No recorded changes yet.