CVE-2026-33216 — Vulnerability in nats-io/nats-server/v2 — CVE Details
NATS has MQTT plaintext password disclosure
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.73%). Schedule for your next planned update.
Does your project use an affected github.com/nats-io/nats-server/v2 version?
Paste your go.sum to check it for CVE-2026-33216 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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 MQTT client interface.
Problem Description
For MQTT deployments using usercodes/passwords: MQTT passwords are incorrectly classified as a non-authenticating identity statement (JWT) and exposed via monitoring endpoints.
Affected Versions
Any version before v2.12.6 or v2.11.15
Workarounds
Ensure monitoring end-points are adequately secured.
Best practice remains to not expose the monitoring endpoint to the Internet or other untrusted network users.
Advisory Timeline
- First published March 24, 2026 (247 days ago).
- Last revised September 10, 2026 — 169 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/nats-io/nats-server/v2@v2.11.15
go get github.com/nats-io/nats-server/v2@v2.12.6
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: Go (2).
| Package | Fixed In |
|---|---|
| github.com/nats-io/nats-server/v2 Go · Affected: All versions | 2.11.15 |
| github.com/nats-io/nats-server Go · Affected: All versions | Range-based data available |
| github.com/nats-io/nats-server/v2 Go · Affected: All versions | 2.12.6 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-256
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.6 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
References
- https://github.com/nats-io/nats-server/security/advisories/GHSA-v722-jcv5-w7mcWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-33216ADVISORY
- https://github.com/nats-io/nats-server/commit/b5b63cfc35a57075e09c1f57503d31721bed8099WEB
- https://advisories.nats.io/CVE/secnote-2026-05.txtWEB
- https://github.com/nats-io/nats-serverPACKAGE
Frequently Asked Questions
- What is CVE-2026-33216?
- NATS has MQTT plaintext password disclosure. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.6/10).
- How do I check if my project is affected by CVE-2026-33216?
- CVE-2026-33216 affects github.com/nats-io/nats-server/v2 and github.com/nats-io/nats-server. It has a 0.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-33216 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is an above-median EPSS score — 50.3% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2025-30215CRITICAL
NATS Server may fail to authorize certain Jetstream admin APIs
- CVE-2022-28357CRITICAL
NATS nats-server allows directory traversal via unintended path to a management action
- CVE-2026-108262HIGH
DDEV incomplete tar symlink traversal fix allows host file overwrite - Incomplete fix of CVE-2026-32885
- CVE-2026-130007HIGH
k8s-mcp-server: Missing authentication on default SSE/HTTP transport allows unauthenticated Kubernetes tool execution