NATS credentials are exposed in monitoring port via command-line argv (nats-io nats-server)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.43 % · percentile 37 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-215 — Insertion of Sensitive Information Into Debugging Code
- CWE-214 — Invocation of Process Using Visible Sensitive Information
References
- https://github.com/nats-io/nats-server/security/advisories/GHSA-x6g4-f6q3-fqvv
- https://advisories.nats.io/CVE/secnote-2026-14.txt
- https://access.redhat.com/security/cve/CVE-2026-33247
- https://bugzilla.redhat.com/show_bug.cgi?id=2451486
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33247.json
- https://access.redhat.com/errata/RHSA-2026:22347
- https://access.redhat.com/errata/RHSA-2026:23345
- https://access.redhat.com/errata/RHSA-2026:21769
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N | GitHub_M |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | redhat-SADP |
| CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N | NVD · security-advisories@github.com (Secondary) |
| CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N | NVD · nvd@nist.gov (Primary) |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) |
Advisories
- GHSA-x6g4-f6q3-fqvv — NATS credentials are exposed in monitoring port via command-line argv
- GO-2026-4827 — NATS credentials are exposed in monitoring port via command-line argv in github.com/nats-io/nats-server
European references
- ENISA EUVD · EUVD-2026-15975
- GCVE · GCVE-0-2026-33247
Affected configurations (NVD CPE)
cpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:*< 2.11.15cpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:*≥ 2.12.0 < 2.12.6
Affected products
| Product | Versions |
|---|---|
| nats-io · nats-server | affected < 2.11.15 ; affected >= 2.12.0-RC.1, < 2.12.6 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |