CVE-2026-33247NATS credentials are exposed in monitoring port via command-line argv
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.
What to do
Fixed builds are available from Alpine, Debian, Go: see the table below for the fixed version per release.
Debian, Go, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | nats-server | Fix pending | UBUNTU-CVE-2026-33247 | |
| Ubuntu 26.04 | nats-server | Fix pending | UBUNTU-CVE-2026-33247 | |
| Ubuntu 25.10 | nats-server | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-33247 | |
| Ubuntu 24.04 | nats-server | Under investigation | UBUNTU-CVE-2026-33247 | |
| Debian 14 | nats-server | Fixed | 2.12.6-1 | DEBIAN-CVE-2026-33247 |
| Debian 13 | nats-server | Fix pending | DEBIAN-CVE-2026-33247 | |
| Debian 12 | nats-server | Fix pending | DEBIAN-CVE-2026-33247 | |
| Alpine Linux 3.24 | nats-server | Fixed | 2.12.6-r0 | ALPINE-CVE-2026-33247 |
| Alpine Linux 3.23 | nats-server | Fixed | 2.12.6-r0 | ALPINE-CVE-2026-33247 |
| Go library | github.com/nats-io/nats-server | Fix pending | GO-2026-4827 | |
| Go library | github.com/nats-io/nats-server/v2 | Fixed | 2.12.6 | GO-2026-4827 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- nats-io nats-server: affected: < 2.11.15, >= 2.12.0-RC.1, < 2.12.6
References
- https://github.com/nats-io/nats-server/security/advisories/GHSA-x6g4-f6q3-fqvv
- https://advisories.nats.io/CVE/secnote-2026-14.txt
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.