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 package | Versions | Reported by |
|---|---|---|
| nats-io nats-server | < 2.12.12, >= 2.14.0-RC.1, < 2.14.3 | CVE List |
| github.com/nats-io/nats-server/v2 (Go) | before 2.12.12, from 2.14.0-RC.1 before 2.14.3 | GitHub Advisory Database, Go Vulnerability Database |
| linuxfoundation nats-server | before 2.12.12, from 2.14.0 before 2.14.3 | NVD |
| nats (Bitnami) | before 2.12.12, from 2.14.0 before 2.14.3 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
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
- GHSA advisory: https://github.com/nats-io/nats-server/security/advisories/GHSA-4g68-3pwx-5vfj
- Credit: Koda Reef
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
| https://github.com/nats-io/nats-server/security/advisories/GHSA-4g68-3pwx-5vfj | advisory, vendor-advisory, web | |
| https://github.com/nats-io/nats-server/commit/297b166be60fe13144084eed4b25201ead03204a | fix, patch, web | |
| https://github.com/nats-io/nats-server/commit/34b09657bb596d5f850eaa5cfc97ea6b2f989a97 | fix, patch, web | |
| https://github.com/nats-io/nats-server/releases/tag/v2.12.12 | article, release-notes, web | |
| https://github.com/nats-io/nats-server/releases/tag/v2.14.3 | article, release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-58214 | advisory, web | |
| https://github.com/nats-io/nats-server | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-58214 changed 2026-07-09 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-4g68-3pwx-5vfj changed 2026-11-23 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-6999 changed 2026-11-23 | CC-BY-4.0 |
| NVD | CVE-2026-58214 changed 2026-10-25 | Public domain |
| Bitnami Vulnerability Database | BIT-NATS-2026-58214 changed 2026-11-23 | Apache-2.0 |