CVE-2026-33216: NATS has MQTT plaintext password disclosure

Published Mar 24, 2026
·
Updated

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.

Other sources

NATS has MQTT plaintext password disclosure

Microsoft

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, for MQTT deployments using usercodes/passwords: MQTT passwords are incorrectly classified as a non-authenticating identity statement (JWT) and exposed via monitoring endpoints. Versions 2.11.14 and 2.12.6 contain a fix. As a workaround, ensure monitoring end-points are adequately secured. Best practice remains to not expose the monitoring endpoint to the Internet or other untrusted network users.

NVD

Affected Software

5 affected componentsFixes available
go/github.com/nats-io/nats-server/v2>=2.12.0-RC.1<2.12.6
2.12.6
go/github.com/nats-io/nats-server/v2<2.11.15
2.11.15
linuxfoundation Nats-server<2.11.15
linuxfoundation Nats-server>=2.12.0<2.12.6
Microsoft azl3 telegraf 1.31.0-17

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/nats-io/nats-server/v2 to a version that resolves this vulnerability.

    Fixed in 2.12.6
  2. Upgrade

    Upgrade go/github.com/nats-io/nats-server/v2 to a version that resolves this vulnerability.

    Fixed in 2.11.15
  3. Upgrade

    Upgrade NATS-Server (nats-server) to a version that resolves this vulnerability.

    Fixed in 2.11.15
  4. Upgrade

    Upgrade NATS-Server (nats-server) to a version that resolves this vulnerability.

    Fixed in 2.12.6
  5. Compensating control

    Do not expose the monitoring endpoint to the Internet or other untrusted network users; ensure monitoring endpoints are adequately secured for MQTT deployments affected by pre-2.11.15/2.12.6.

Event History

Mar 24, 2026
Advisory Published
via GitHub·09:42 PM
Data Sourced
via GitHub·09:42 PM
DescriptionSeverityWeaknessAffected Software
Mar 25, 2026
CVE Published
via MITRE·07:41 PM
Data Sourced
via MITRE·07:41 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·08:02 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·08:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Apr 2, 2026
Data Sourced
via Microsoft·08:06 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:06 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2026-33216?

CVE-2026-33216 has a high severity rating, indicating significant risk to systems utilizing vulnerable versions.

2

How do I fix CVE-2026-33216?

To remediate CVE-2026-33216, upgrade nats-server to version 2.12.6 or later, or to version 2.11.15.

3

Which versions of nats-server are affected by CVE-2026-33216?

CVE-2026-33216 affects nats-server versions from 2.12.0-RC.1 up to 2.12.6 and all versions prior to 2.11.15.

4

What impact does CVE-2026-33216 have on MQTT deployments?

CVE-2026-33216 impacts MQTT deployments that use usercodes/passwords, potentially exposing credentials.

5

Is CVE-2026-33216 related to NATS.io's security model?

Yes, CVE-2026-33216 highlights a weakness in NATS.io's security model for MQTT, particularly concerning authentication.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203