Loading...
Skip to main content

CVE-2026-33216 — Vulnerability in...

HIGH

NATS has MQTT plaintext password disclosure

Published March 24, 2026Updated September 10, 2026Source: osv

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 (202 days ago).
  • Last revised September 10, 2026 — 169 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update github.com/nats-io/nats-server/v2 to 2.11.15 or later
go get github.com/nats-io/nats-server/v2@v2.11.15
Go
Update github.com/nats-io/nats-server/v2 to 2.12.6 or later
go get github.com/nats-io/nats-server/v2@v2.12.6

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (3)

Affects 1 ecosystem: go (2).

PackageEcosystemAffectedFixed In
github.com/nats-io/nats-server/v2
go
All versions2.11.15
github.com/nats-io/nats-server
go
All versionsRange-based data available
github.com/nats-io/nats-server/v2
go
All versions2.12.6

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.6 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

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. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-33216 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.6

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-v722-jcv5-w7mc
BIT-nats-2026-33216
GO-2026-4836

Related CVEs

  • CVE-2025-30215
    CRITICAL

    NATS Server may fail to authorize certain Jetstream admin APIs

  • CVE-2022-28357
    CRITICAL

    NATS nats-server allows directory traversal via unintended path to a management action

  • CVE-2026-107809
    HIGH

    Nginx-UI AuthRequired token cookie fallback enables CSRF against management APIs

  • CVE-2026-107813
    HIGH

    Nginx UI: Incomplete fix of CVE-2026-84315 - the api/cluster router was not - wrapped in RequireSecureSession, so those sensitive mutations run without OTP step-up

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies