CVE-2026-33247 NATS credentials are exposed in monitoring port via command-line argv
MediumCVSS 5.3
EPSS 0.44%
- Published
- Updated
- Exploit status
- No public exploit known
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
| Product | Affected versions | Fixed in |
|---|---|---|
| nats-io github.com/nats-io/nats-server/v2(Go) | < 2.11.15 | 2.11.15 |
| nats-io github.com/nats-io/nats-server/v2(Go) | >= 2.12.0-RC.1, < 2.12.6 | 2.12.6 |
| nats-io github.com/nats-io/nats-server/v2(Go) | All versions | No fix listed |
| nats-io github.com/nats-io/nats-server/v2 | = < 2.11.15 | No fix listed |
| nats-io github.com/nats-io/nats-server/v2 | = >= 2.12.0-RC.1, < 2.12.6 | No fix listed |
| redhat multicluster globalhub | < 1779579439 | 1779579439 |
| redhat multicluster globalhub | < 1780167118 | 1780167118 |
| redhat multicluster globalhub | < 1778867753 | 1778867753 |
| redhat openshift | = 4 | No fix listed |
| debian/nats-server(Debian:12) | All versions | No fix listed |
| debian/nats-server(Debian:12) | = 2.10.1-1 | No fix listed |
| debian/nats-server(Debian:12) | = 2.10.16-1 | No fix listed |
| debian/nats-server(Debian:12) | = 2.10.18-1 | No fix listed |
| debian/nats-server(Debian:12) | = 2.10.24-1 | No fix listed |
| debian/nats-server(Debian:12) | = 2.10.27-1 | No fix listed |
| debian/nats-server(Debian:12) | = 2.10.3-1 | No fix listed |
| debian/nats-server(Debian:12) | = 2.10.4-1 | No fix listed |
| debian/nats-server(Debian:12) | = 2.10.7-1 | No fix listed |
| debian/nats-server(Debian:12) | = 2.12.4-1 | No fix listed |
| debian/nats-server(Debian:12) | = 2.12.6-1 | No fix listed |
| debian/nats-server(Debian:12) | = 2.14.1-1 | No fix listed |
| debian/nats-server(Debian:12) | = 2.14.3-1 | No fix listed |
| debian/nats-server(Debian:12) | = 2.14.6-1 | No fix listed |
| debian/nats-server(Debian:12) | = 2.9.10-1 | No fix listed |
| debian/nats-server(Debian:12) | = 2.9.19-1 | No fix listed |
Show 20 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/nats-server(Debian:13) | All versions | No fix listed |
| debian/nats-server(Debian:13) | = 2.10.27-1 | No fix listed |
| debian/nats-server(Debian:13) | = 2.12.4-1 | No fix listed |
| debian/nats-server(Debian:13) | = 2.12.6-1 | No fix listed |
| debian/nats-server(Debian:13) | = 2.14.1-1 | No fix listed |
| debian/nats-server(Debian:13) | = 2.14.3-1 | No fix listed |
| debian/nats-server(Debian:13) | = 2.14.6-1 | No fix listed |
| debian/nats-server(Debian:14) | < 2.12.6-1 | 2.12.6-1 |
| debian/nats-server(Debian:14) | = 2.10.27-1 | No fix listed |
| debian/nats-server(Debian:14) | = 2.12.4-1 | No fix listed |
| redhat/multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1779579439(Red Hat:multicluster_globalhub:1.4::el9) | All versions | No fix listed |
| redhat/multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1780167118(Red Hat:multicluster_globalhub:1.6::el9) | All versions | No fix listed |
| redhat/multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1778867753(Red Hat:multicluster_globalhub:1.5::el9) | All versions | No fix listed |
| alpine/nats-server(Alpine:v3.23) | >= 2.12.0, < 2.12.6-r0 | 2.12.6-r0 |
| alpine/nats-server(Alpine:v3.24) | >= 2.12.0, < 2.12.6-r0 | 2.12.6-r0 |
| ubuntu/nats-server(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/nats-server(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/nats-server(Ubuntu:26.10) | All versions | No fix listed |
| linuxfoundation nats-server | < 2.11.15 | 2.11.15 |
| linuxfoundation nats-server | >= 2.12.0, < 2.12.6 | 2.12.6 |
References
- https://github.com/nats-io/nats-server/security/advisories/GHSA-x6g4-f6q3-fqvv mitigation vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://advisories.nats.io/CVE/secnote-2026-14.txt mitigation vendor-advisory
- github.com product
- pkg.go.dev
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHBZ#2451486 issue-tracking
- security.access.redhat.com
- RHSA-2026:22347 patch vendor-advisory
- RHSA-2026:23345 patch vendor-advisory
- RHSA-2026:21769 patch vendor-advisory
- github.com
- Debian Security Tracker CVE-2026-33247 vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory
- Ubuntu CVE tracker vendor-advisory