{"id":"CVE-2026-58214","aliases":["CVE-2026-58214","GHSA-4g68-3pwx-5vfj","BIT-NATS-2026-58214","GO-2026-6999"],"related":[],"kind":"vulnerability","state":"published","title":"NATS Server: MQTT subscribe ACL bypass via $MQTT.deliver.pubrel prefix (incomplete fix for CVE-2026-33217)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Background\n\nNATS.io is a high performance open source pub-sub distributed communication technology, built for the cloud, on-premise, IoT and edge computing.\n\nThe NATS Server MQTT support uses internal `$MQTT.*` subjects to implement MQTT protocol features such as QoS handling.\n\n### Problem Description\n\nAn authenticated MQTT client could subscribe to an internal MQTT delivery subject that was not intended to be available to clients.\n\nThis 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.\n\nThis 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.\n\n### Affected Versions\n\nVersions v2.14.2, v2.12.7 and below are vulnerable. The issue is fixed in v2.14.3 and v2.12.8.\n\n### Workarounds\n\nNo known workaround for deployments that require MQTT. Upgrade to a fixed release. Deployments not using MQTT are not affected.\n\n### References\n\n * GHSA advisory: <https://github.com/nats-io/nats-server/security/advisories/GHSA-4g68-3pwx-5vfj>\n * Credit: Koda Reef","format":"markdown","source":"ghsa"},{"lang":"en","text":"NATS Server MQTT subscribe permission bypass exposes internal QoS 2 metadata in github.com/nats-io/nats-server/v2","format":"markdown","source":"go"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-07-08T20:06:34.794Z","modified":"2026-11-23T20:41:09.926Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"version":"< 2.12.12","status":"affected"},{"version":">= 2.14.0-RC.1, < 2.14.3","status":"affected"}],"vendor":"nats-io","product":"nats-server","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.12.12"}],"ecosystem":"Go","package":"github.com/nats-io/nats-server/v2","purl":"pkg:golang/github.com/nats-io/nats-server/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.14.0-RC.1","status":"affected","fixed":"2.14.3"}],"ecosystem":"Go","package":"github.com/nats-io/nats-server/v2","purl":"pkg:golang/github.com/nats-io/nats-server/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.12.12"},{"type":"semver","introduced":"2.14.0-RC.1","status":"affected","fixed":"2.14.3"}],"ecosystem":"Go","package":"github.com/nats-io/nats-server/v2","purl":"pkg:golang/github.com/nats-io/nats-server/v2","source":"go"},{"ranges":[{"status":"affected","fixed":"2.12.12"},{"status":"affected","introduced":"2.14.0","fixed":"2.14.3"}],"vendor":"linuxfoundation","product":"nats-server","cpe":"cpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.12.12"},{"type":"semver","introduced":"2.14.0","status":"affected","fixed":"2.14.3"}],"ecosystem":"Bitnami","package":"nats","purl":"pkg:bitnami/nats","source":"bitnami"}],"references":[{"url":"https://github.com/nats-io/nats-server/security/advisories/GHSA-4g68-3pwx-5vfj","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/nats-io/nats-server/commit/297b166be60fe13144084eed4b25201ead03204a","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/nats-io/nats-server/commit/34b09657bb596d5f850eaa5cfc97ea6b2f989a97","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/nats-io/nats-server/releases/tag/v2.12.12","tags":["article","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/nats-io/nats-server/releases/tag/v2.14.3","tags":["article","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58214","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/nats-io/nats-server","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-09T13:32:18.907Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-58214","url":"https://www.cve.org/CVERecord?id=CVE-2026-58214","licence":"CVE Terms of Use","modified":"2026-07-09T13:32:36.057Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4g68-3pwx-5vfj","url":"https://github.com/advisories/GHSA-4g68-3pwx-5vfj","licence":"CC-BY-4.0","modified":"2026-11-23T20:41:09.926Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-6999","url":"https://pkg.go.dev/vuln/GO-2026-6999","licence":"CC-BY-4.0","modified":"2026-11-23T20:41:09.926Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-58214","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58214","licence":"Public domain","modified":"2026-10-25T17:10:00.197Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-NATS-2026-58214","url":"https://osv.dev/vulnerability/BIT-NATS-2026-58214","licence":"Apache-2.0","modified":"2026-11-23T20:41:09.926Z"}],"updatedAt":"2026-11-25T22:59:27.417Z","epss":{"score":0.00256,"percentile":0.18401,"date":"2026-12-01T12:00:22.000Z"}}