Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-33247

NATS credentials are exposed in monitoring port via command-line argv
Back to all
CVE

CVE-2026-33247

NATS credentials are exposed in monitoring port via command-line argv

Background

NATS.io is a high performance open source pub-sub distributed communication technology, built for the cloud, on-premise, IoT, and edge computing.

The nats-server provides an optional monitoring port, which provides access to sensitive data.  The nats-server can take certain configuration options on the command-line instead of requiring a configuration file.

Problem Description

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.

Patches

Fixed in nats-server 2.12.6 & 2.11.15

Workarounds

The NATS Maintainers are bemused at the concept of someone deploying a real configuration using --pass to avoid a config file, but also enabling monitoring.

Configure credentials inside a configuration file instead of via argv.

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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
7.4
-
3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
C
H
U
7.4
-
3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Related Resources

No items found.

References

https://github.com/nats-io/nats-server/security/advisories/GHSA-x6g4-f6q3-fqvv, https://nvd.nist.gov/vuln/detail/CVE-2026-33247, https://advisories.nats.io/CVE/secnote-2026-14.txt, https://github.com/nats-io/nats-server, https://pkg.go.dev/vuln/GO-2026-4827

Severity

7.4

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
7.4
EPSS Probability
0.00013%
EPSS Percentile
0.02497%
Introduced Version
0,v2.12.0-preview.1,v2.0.0-RC19,v2.0.0-20190604014547-ed1901c79292,v2.0.0-RC14,v0.0.0-20190506220424-acfe372d6353,v0.9.6,v0.0.0-20161202021852-ff2d6d198351
Fix Available
2.11.15,v2.12.6,v2.11.15,v2.0.0-20260316124917-88065baa7493,1.35.2.1-r4,1.32.13.1-r7,1.33.9.1-r6,0.14.15-r1,2.5.27-r4,0.3.2-r0,0.6.3-r18,0.6.3-r16,0.19.1-r4,1.33.9.2.1-r3,1.34.5.2.1-r3,1.35.2.2.1-r3,1.33.10.2.3-r2,1.34.6.2.1-r2,1.35.2.2.1-r2,1.37.3-r6,1.38.1-r1

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading