{"id":"CVE-2026-33215","aliases":["CVE-2026-33215","GHSA-fcjp-h8cc-6879","BIT-NATS-2026-33215","GO-2026-4833"],"related":["CGA-hfp5-mg9g-5pgq"],"kind":"vulnerability","state":"published","title":"NATS is vulnerable to MQTT hijacking via Client ID","summary":"NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. The nats-server provides an MQTT client interface. Prior to versions 2.11.15 and 2.12.5, Sessions and Messages can by hijacked via MQTT Client ID malfeasance. Versions 2.11.15 and 2.12.5 patch the issue. No known workarounds are available.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. The nats-server provides an MQTT client interface. Prior to versions 2.11.15 and 2.12.5, Sessions and Messages can by hijacked via MQTT Client ID malfeasance. Versions 2.11.15 and 2.12.5 patch the issue. No known workarounds are available.","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 provides an MQTT client interface.\n\n### Problem Description\n\nSessions and Messages can by hijacked via MQTT Client ID malfeasance.\n\n### Affected Versions\n\nAny version before v2.12.6 or v2.11.15\n\n### Workarounds\n\nNone.\n\n### Resources\n\n * This document is canonically: <https://advisories.nats.io/CVE/secnote-2026-06.txt>\n * GHSA advisory: <https://github.com/nats-io/nats-server/security/advisories/GHSA-fcjp-h8cc-6879>\n * MITRE CVE entry: <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-33215>","format":"markdown","source":"ghsa"},{"lang":"en","text":"NATS is vulnerable to MQTT hijacking via Client ID in github.com/nats-io/nats-server","format":"markdown","source":"go"},{"lang":"es","text":"NATS-Server es un servidor de alto rendimiento para NATS.io, un sistema de mensajería nativo de la nube y del borde. El nats-server proporciona una interfaz de cliente MQTT. Antes de las versiones 2.11.15 y 2.12.5, las sesiones y los mensajes pueden ser secuestrados mediante la malversación del ID de cliente MQTT. Las versiones 2.11.15 y 2.12.5 parchean el problema. No hay soluciones alternativas conocidas disponibles.","source":"nvd"}],"published":"2026-03-24T20:55:53.455Z","modified":"2026-09-10T03:51:00.306Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-287","CWE-488"],"affected":[{"ranges":[{"version":"< 2.11.15","status":"affected"},{"version":">= 2.12.0-RC.1, < 2.12.6","status":"affected"}],"vendor":"nats-io","product":"nats-server","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.11.15"}],"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.12.0-RC.1","status":"affected","fixed":"2.12.6"}],"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"}],"ecosystem":"Go","package":"github.com/nats-io/nats-server","purl":"pkg:golang/github.com/nats-io/nats-server","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.11.15"},{"type":"semver","introduced":"2.12.0-RC.1","status":"affected","fixed":"2.12.6"}],"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","introduced":"2.0.0","fixed":"2.11.15"},{"status":"affected","introduced":"2.12.0","fixed":"2.12.5"}],"vendor":"linuxfoundation","product":"nats-server","cpe":"cpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.11.15"},{"type":"semver","introduced":"2.12.0","status":"affected","fixed":"2.12.6"}],"ecosystem":"Bitnami","package":"nats","purl":"pkg:bitnami/nats","source":"bitnami"}],"references":[{"url":"https://github.com/nats-io/nats-server/security/advisories/GHSA-fcjp-h8cc-6879","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://advisories.nats.io/CVE/secnote-2026-06.tx","tags":["broken-link","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33215","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/nats-io/nats-server","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2026-4833","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-25T13:03:49.645Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-33215","url":"https://www.cve.org/CVERecord?id=CVE-2026-33215","licence":"CVE Terms of Use","modified":"2026-03-25T13:05:12.279Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fcjp-h8cc-6879","url":"https://github.com/advisories/GHSA-fcjp-h8cc-6879","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:00.306Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4833","url":"https://pkg.go.dev/vuln/GO-2026-4833","licence":"CC-BY-4.0","modified":"2026-03-27T17:29:30.301Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-33215","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33215","licence":"Public domain","modified":"2026-06-17T10:37:08.227Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-NATS-2026-33215","url":"https://osv.dev/vulnerability/BIT-NATS-2026-33215","licence":"Apache-2.0","modified":"2026-09-08T08:48:24.367Z"}],"updatedAt":"2026-11-25T22:59:16.614Z","epss":{"score":0.00265,"percentile":0.19661,"date":"2026-12-01T12:00:22.000Z"}}