What’s Vulnerable › Vulnerabilities
CVE-2026-33247: NATS credentials are exposed in monitoring port via command-line argv
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-25 · updated 2026-09-09
- Weakness: CWE-215
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
- nats-io nats-server: before 2.11.15; from 2.12.0 before 2.12.6 — fixed in 2.11.15, 2.12.6
How to fix
Upgrade to a fixed version: nats-io nats-server 2.11.15, 2.12.6. Check the vendor advisory for mitigations.
References
- https://advisories.nats.io/CVE/secnote-2026-14.txt
- https://github.com/nats-io/nats-server/security/advisories/GHSA-x6g4-f6q3-fqvv
- 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
- https://bugzilla.redhat.com/show_bug.cgi?id=2451486
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33247.json
Get alerted when CVE-2026-33247 or the next vulnerability affects your stack