{"id":"CVE-2026-58214","aliases":["BIT-nats-2026-58214","GHSA-4g68-3pwx-5vfj"],"url":"https://o3.security/vulnerability/CVE-2026-58214","summary":"NATS Server: MQTT subscribe ACL bypass via $MQTT.deliver.pubrel prefix (incomplete fix for CVE-2026-33217)","details":"### 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","published":"2026-07-08T20:06:34.794Z","modified":"2026-10-28T02:31:02.375696289Z","cvss":{"score":4.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"},"epss":{"score":0.00349,"percentile":0.29134,"asOf":"2026-11-19"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/nats-io/nats-server/v2","fixedVersion":"2.12.12"},{"ecosystem":"Go","name":"github.com/nats-io/nats-server/v2","fixedVersion":"2.14.3"}],"fix":{"url":"https://github.com/nats-io/nats-server/commit/297b166be60fe13144084eed4b25201ead03204a","label":"nats-io/nats-server@297b166"},"references":[{"type":"WEB","url":"https://github.com/nats-io/nats-server/releases/tag/v2.12.12"},{"type":"WEB","url":"https://github.com/nats-io/nats-server/releases/tag/v2.14.3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58214.json"},{"type":"ADVISORY","url":"https://github.com/nats-io/nats-server/security/advisories/GHSA-4g68-3pwx-5vfj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58214"},{"type":"FIX","url":"https://github.com/nats-io/nats-server/commit/297b166be60fe13144084eed4b25201ead03204a"},{"type":"FIX","url":"https://github.com/nats-io/nats-server/commit/34b09657bb596d5f850eaa5cfc97ea6b2f989a97"},{"type":"PACKAGE","url":"https://github.com/nats-io/nats-server"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:31:02.375696289Z"}}