Skip to main content

CVE-2026-33216 — Vulnerability in nats-io/nats-server/v2 — CVE Details

HIGH

NATS has MQTT plaintext password disclosure

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

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.

Check my go.sum

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
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, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (3)

Affects 1 ecosystem: Go (2).

PackageFixed In
github.com/nats-io/nats-server/v2 Go · Affected: All versions2.11.15
github.com/nats-io/nats-server Go · Affected: All versionsRange-based data available
github.com/nats-io/nats-server/v2 Go · Affected: 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. 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

CVSS Score
8.6

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.73%
EPSS percentile: 50.3

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

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-108262
    HIGH

    DDEV incomplete tar symlink traversal fix allows host file overwrite - Incomplete fix of CVE-2026-32885

  • CVE-2026-130007
    HIGH

    k8s-mcp-server: Missing authentication on default SSE/HTTP transport allows unauthenticated Kubernetes tool execution

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my go.sum