CVE-2026-58214
JSON

4.3medium

NATS Server: MQTT subscribe ACL bypass via $MQTT.deliver.pubrel prefix (incomplete fix for CVE-2026-33217)

Severity
4.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.26% (higher than 18% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-4g68-3pwx-5vfjBIT-NATS-2026-58214GO-2026-6999

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, an authenticated MQTT client could subscribe to the internal $MQTT.deliver.pubrel subject family, bypassing configured subscribe permissions and exposing MQTT QoS2 protocol metadata for sessions in the account. 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, an authenticated MQTT client could subscribe to the internal $MQTT.deliver.pubrel subject family, bypassing configured subscribe permissions and exposing MQTT QoS2 protocol metadata for sessions in the account. 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 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
Go Vulnerability Database

NATS Server MQTT subscribe permission bypass exposes internal QoS 2 metadata 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 las versiones 2.14.3 y 2.12.12, un cliente MQTT autenticado podía suscribirse a la familia de asuntos internos $MQTT.deliver.pubrel, eludiendo los permisos de suscripción configurados y exponiendo metadatos del protocolo MQTT QoS2 para sesiones en la cuenta. Este problema está solucionado en las versiones 2.14.3 y 2.12.12.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-58214 changed 2026-07-09CVE Terms of Use
GitHub Advisory DatabaseGHSA-4g68-3pwx-5vfj changed 2026-11-23CC-BY-4.0
Go Vulnerability DatabaseGO-2026-6999 changed 2026-11-23CC-BY-4.0
NVDCVE-2026-58214 changed 2026-10-25Public domain
Bitnami Vulnerability DatabaseBIT-NATS-2026-58214 changed 2026-11-23Apache-2.0