{"id":"CVE-2026-33247","published":"2026-03-25T20:02:18Z","modified":"2026-09-09T12:04:56Z","title":"NATS credentials are exposed in monitoring port via command-line argv","vendor":"nats-io","product":"nats-server","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00466,"percentile":0.41203,"provenance":"source"},"cwes":[{"id":"CWE-215","name":"Insertion of Sensitive Information Into Debugging Code"},{"id":"CWE-214","name":"Invocation of Process Using Visible Sensitive Information"}],"references":[{"url":"https://github.com/nats-io/nats-server/security/advisories/GHSA-x6g4-f6q3-fqvv","tags":["x_refsource_CONFIRM"]},{"url":"https://advisories.nats.io/CVE/secnote-2026-14.txt","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-33247","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2451486","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33247.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:22347","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:23345","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:21769","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":13.4,"factors":[{"name":"EPSS percentile","points":8.24},{"name":"CVSS severity","points":5.18}]},"vendorSlug":"nats-io","affectedVersions":[{"vendor":"nats-io","product":"nats-server","versions":["< 2.11.15",">= 2.12.0-RC.1, < 2.12.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-03-26T19:36:35.906107Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/nats-io/nats-server/v2","vulnerableRanges":["<2.11.15",">=2.12.0-RC.1, <2.12.6"],"patched":["2.11.15","2.12.6"],"from":["GHSA-x6g4-f6q3-fqvv","GO-2026-4827"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/nats-io/nats-server","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-4827"],"provenance":"source"}],"summary":{"text":"The nats-server product from nats-io exposes its static client credentials in plain view: when those credentials are passed on the command line (argv), an unredacted copy of argv is served from the /debug/vars endpoint of the monitoring port. An attacker who can reach the monitoring port over the network, with no authentication or user interaction required, can read those credentials, though the attack requires that the monitoring port be enabled and that credentials be supplied via argv.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:45:44Z"},"euvd":{"id":"EUVD-2026-15975","exploited":false,"provenance":"source"}}