NATS vulnerabilities

Message brokers · sources: CVE.org/NVD · refreshes every minute

Historical data is still loading (NVD, last 30 days): counts will keep growing over the next hours. See source status.

Period
Updating…

In the last 30 days, 6 NATS vulnerabilities were published: 0 critical, 0 actively exploited. Most common weakness: incorrect authorization (CWE-863).

6vulnerabilities in 30 days
0critical
0exploited
Nov 20last published
CVSS score: 7.5 Severity: High Identifier: CVE-2026-58210GHSA-R72H-J7QQ-V6QG NATS Server allows unauthenticated memory exhaustion through incomplete MQTT CONNECT packets Package: github.com/nats-io/nats-server/v2 fixed in 2.12.12 Published Published
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 supports MQTT clients, including authentication and parsing of MQTT CONNECT packets.

Problem Description

An unauthenticated MQTT client could cause the server to retain large incomplete MQTT CONNECT packets before authentication completed.

The parser retained partial pre-authentication packet data while waiting for the advertised MQTT packet length to be completed. An attacker could therefore consume server memory until authentication timeouts closed the connections.

Affected Versions

Versions v2.14.2, v2.12.11 and below are vulnerable. The issue is fixed in v2.14.3 and v2.12.12.

Workarounds

Deployments not using MQTT are not affected. Deployments that need MQTT should upgrade to a fixed release.

References
Exploitation
No known exploitation
EPSS
0.74% chance of exploitation in the next 30 days, higher than 50.7% of CVEs
CVSS
7.5 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Versions
< 2.12.12 · fixed in 2.12.12
Weakness
CWE-400
Linked via
product name
Sources
GitHub
Dates
published Nov 20, 2026 · first seen here 1 min ago
CVSS score: 7.1 Severity: High Identifier: CVE-2026-58213GHSA-QRCV-3558-GJ4F NATS Server: MQTT SUBSCRIBE Protocol Injection via Leaf Node/Route Forwarding allows arbitrary NATS command injection Package: github.com/nats-io/nats-server/v2 fixed in 2.12.9 Published Published
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 supports MQTT clients and can bridge MQTT activity into NATS subjects across routes and leafnode connections.

Problem Description

An MQTT client could include protocol control characters in subscription filters that were later forwarded as NATS protocol data to route or leafnode connections.

This could corrupt the forwarded protocol stream and allow injection of unintended NATS protocol operations, potentially across cluster nodes or accounts where route or gateway connections are present.

Anonymous MQTT deployments are higher risk because no credentials are required to reach the affected parser. Authenticated deployments are still affected for clients allowed to create MQTT subscriptions.

Affected Versions

Versions v2.14.0, v2.12.8 and below are vulnerable. The issue is fixed in v2.14.1 and v2.12.9.

Workarounds

Disable anonymous MQTT access where it is not required. Deployments that need MQTT have no known complete workaround other than upgrading.

References
Exploitation
No known exploitation
EPSS
0.44% chance of exploitation in the next 30 days, higher than 30.2% of CVEs
CVSS
7.1 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Versions
< 2.12.9 · fixed in 2.12.9
Weakness
CWE-74
Linked via
product name
Sources
GitHub
Dates
published Nov 19, 2026 · first seen here 1 min ago
CVSS score: 6.8 Severity: Medium Identifier: CVE-2026-58208GHSA-P957-7V2W-G93G NATS Server: MQTT-over-WebSocket Path Can Crash WebSocket-Only JetStream Servers Before MQTT Is Enabled Package: github.com/nats-io/nats-server/v2 fixed in 2.12.12 Published Published
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 can accept client connections over WebSocket and can also support MQTT over WebSocket when MQTT is configured.

Problem Description

A WebSocket listener could route requests for the MQTT-over-WebSocket path into MQTT handling even when MQTT was not configured.

On affected deployments, an unauthenticated client with access to the WebSocket listener could reach uninitialized MQTT state and crash the server process.

This affects deployments that enable WebSocket while leaving MQTT disabled. Deployments where MQTT is intentionally configured initialize the MQTT state and are not affected in the same way.

Affected Versions

Versions v2.14.2, v2.12.11 and below are vulnerable. The issue is fixed in v2.14.3 and v2.12.12.

Workarounds

Deployments not using WebSocket are not affected. Deployments using both WebSockets and MQTT are not affected. No known workaround for deployments that need WebSocket without MQTT-over-WebSocket. Upgrade to a fixed release.

References
Exploitation
No known exploitation
EPSS
0.60% chance of exploitation in the next 30 days, higher than 42.8% of CVEs
CVSS
6.8 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H
Versions
< 2.12.12 · fixed in 2.12.12
Weakness
CWE-248
Linked via
product name
Sources
GitHub
Dates
published Nov 20, 2026 · first seen here 1 min ago
CVSS score: 5.3 Severity: Medium Identifier: CVE-2026-58254GHSA-P3J5-5HRQ-P75H nats-server Leaf node connections bypass Nats-Trace-Dest permission check Package: github.com/nats-io/nats-server/v2 fixed in 2.12.8 Published Published
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 supports leafnode connections between servers and message tracing through NATS headers.

Problem Description

Message trace destination checks were applied to ordinary client connections but not consistently to messages arriving through leafnode connections.

A leafnode operator could cause trace events to be sent to subjects that would not otherwise be permitted and could use trace-only behavior to prevent normal delivery or storage of affected messages.

Trace events can include routing, subscription, account, service import and JetStream metadata. The payload of the original application message is not chosen through the trace event itself.

Affected Versions

Versions v2.14.2, v2.12.7 and below are vulnerable. The issue is fixed in v2.14.3 and v2.12.8.

Workarounds

Where possible, avoid granting publish paths from less-trusted leaf nodes into subjects for which trace-only behavior would affect delivery guarantees. No other known workarounds are available aside from upgrading to a fixed release.

References
Exploitation
No known exploitation
EPSS
0.31% chance of exploitation in the next 30 days, higher than 16.1% of CVEs
CVSS
5.3 out of 10 · source GitHub
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Versions
< 2.12.8 · fixed in 2.12.8
Weakness
CWE-863
Linked via
product name
Sources
GitHub
Dates
published Nov 20, 2026 · first seen here 1 min ago
CVSS score: 4.3 Severity: Medium Identifier: CVE-2026-58209GHSA-7QMQ-8CC4-HXWG NATS Server MQTT retained messages and QoS replay bypass subscription deny rules Package: github.com/nats-io/nats-server/v2 fixed in 2.12.12 Published Published
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 MQTT support includes retained messages and QoS1+ durable delivery. NATS subscription permissions can allow broad wildcard subscriptions while denying more sensitive subjects.

Problem Description

MQTT retained message delivery and QoS1+ durable replay could deliver messages whose original topics matched a subscriber's configured subscribe deny rules.

Normal live delivery applied the delivery-time deny check. These MQTT delivery paths did not consistently recheck the concrete original topic before sending the MQTT PUBLISH to the subscriber.

The issue affects MQTT subscribers with broad wildcard subscribe permissions where more specific topics are denied. Normal live delivery can be blocked while retained or replayed delivery still sends the denied topic.

Affected Versions

Versions v2.14.2, v2.12.11 and below are vulnerable. The issue is fixed in v2.14.3 and v2.12.12.

Workarounds

No known workaround for deployments that require MQTT. Upgrade to a fixed release. Deployments not using MQTT are not affected.

References
Exploitation
No known exploitation
EPSS
0.34% chance of exploitation in the next 30 days, higher than 20.2% of CVEs
CVSS
4.3 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Versions
< 2.12.12 · fixed in 2.12.12
Weakness
CWE-863
Linked via
product name
Sources
GitHub
Dates
published Nov 20, 2026 · first seen here 1 min ago
CVSS score: 4.3 Severity: Medium Identifier: CVE-2026-58214GHSA-4G68-3PWX-5VFJ NATS Server MQTT subscribe permission bypass exposes internal QoS 2 metadata Package: github.com/nats-io/nats-server/v2 fixed in 2.12.12 Published Published
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 MQTT support uses internal $MQTT.* subjects to implement MQTT protocol features such as QoS handling.

Problem Description

An authenticated MQTT client could subscribe to an internal MQTT delivery subject that was not intended to be available to clients.

This bypassed configured subscribe permissions for that internal subject family and exposed MQTT QoS2 protocol metadata for sessions in the account. Message payloads were not exposed through this path.

This issue was related to an incomplete restriction on internal MQTT subjects. It affected MQTT users whose ordinary subscribe permissions would not otherwise allow access to those internal subjects.

Affected Versions

Versions v2.14.2, v2.12.7 and below are vulnerable. The issue is fixed in v2.14.3 and v2.12.8.

Workarounds

No known workaround for deployments that require MQTT. Upgrade to a fixed release. Deployments not using MQTT are not affected.

References
Exploitation
No known exploitation
EPSS
0.35% chance of exploitation in the next 30 days, higher than 20.9% of CVEs
CVSS
4.3 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Versions
< 2.12.12 · fixed in 2.12.12
Weakness
CWE-863
Linked via
product name
Sources
GitHub
Dates
published Nov 19, 2026 · first seen here 1 min ago