CVE-2026-58209
JSON

4.3medium

NATS Server: MQTT retained and QoS replay bypass subscribe deny filters

Severity
4.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.32% (higher than 26% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-7qmq-8cc4-hxwgBIT-NATS-2026-58209GO-2026-7010

Description

NATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.14.3 and 2.12.12, MQTT retained message delivery and QoS1+ durable replay could deliver messages whose original topics matched a subscriber configured subscribe deny rule because these delivery paths did not consistently recheck the concrete original topic before sending the MQTT PUBLISH to the subscriber. This issue is fixed in versions 2.14.3 and 2.12.12.

Affected

Product or packageVersionsReported by
nats-io nats-server< 2.12.12, >= 2.14.0-RC.1, < 2.14.3CVE List
github.com/nats-io/nats-server/v2 (Go)before 2.12.12, from 2.14.0-RC.1 before 2.14.3GitHub Advisory Database, Go Vulnerability Database
linuxfoundation nats-serverbefore 2.12.12, from 2.14.0 before 2.14.3NVD
nats (Bitnami)before 2.12.12, from 2.14.0 before 2.14.3Bitnami Vulnerability Database

All scores

GitHub_M4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
GitHub4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-863

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

NATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.14.3 and 2.12.12, MQTT retained message delivery and QoS1+ durable replay could deliver messages whose original topics matched a subscriber configured subscribe deny rule because these delivery paths did not consistently recheck the concrete original topic before sending the MQTT PUBLISH to the subscriber. This issue is fixed in versions 2.14.3 and 2.12.12.

GitHub Advisory Database
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
Go Vulnerability Database

NATS Server MQTT retained messages and QoS replay bypass subscription deny rules in github.com/nats-io/nats-server/v2

NVD (es)

NATS Server es un servidor de alto rendimiento para NATS.io, el sistema de mensajería nativo de la nube y del borde. Antes de 2.14.3 y 2.12.12, la entrega de mensajes retenidos de MQTT y la reproducción duradera QoS1+ podían entregar mensajes cuyos temas originales coincidían con una regla de denegación de suscripción configurada por el suscriptor porque estas rutas de entrega no volvían a verificar consistentemente el tema original concreto antes de enviar el MQTT PUBLISH al suscriptor. Este problema está solucionado en las versiones 2.14.3 y 2.12.12.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-58209 changed 2026-07-09CVE Terms of Use
GitHub Advisory DatabaseGHSA-7qmq-8cc4-hxwg changed 2026-11-23CC-BY-4.0
Go Vulnerability DatabaseGO-2026-7010 changed 2026-11-23CC-BY-4.0
NVDCVE-2026-58209 changed 2026-10-25Public domain
Bitnami Vulnerability DatabaseBIT-NATS-2026-58209 changed 2026-11-23Apache-2.0