{"id":"CVE-2026-33218","aliases":["CVE-2026-33218","GHSA-vprv-35vv-q339","BIT-NATS-2026-33218","GO-2026-4837"],"related":["CGA-32mq-856x-9662"],"kind":"vulnerability","state":"published","title":"NATS has pre-auth server panic via leafnode handling","summary":"NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. Prior to versions 2.11.15 and 2.12.6, a client which can connect to the leafnode port can crash the nats-server with a certain malformed message pre-authentication. Versions 2.11.15 and 2.12.6 contain a fix. As a workaround, disable leafnode support if not needed or restrict network connections to the leafnode port, if plausible without compromising the service offered.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. Prior to versions 2.11.15 and 2.12.6, a client which can connect to the leafnode port can crash the nats-server with a certain malformed message pre-authentication. Versions 2.11.15 and 2.12.6 contain a fix. As a workaround, disable leafnode support if not needed or restrict network connections to the leafnode port, if plausible without compromising the service offered.","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 allows hub/spoke topologies using \"leafnode\" connections by other nats-servers.\n\n### Problem Description\n\nA client which can connect to the leafnode port can crash the nats-server with a certain malformed message pre-authentication.\n\n### Affected Versions\n\nAny version before v2.12.6 or v2.11.15\n\n### Workarounds\n\n1. Disable leafnode support if not needed.\n2. Restrict network connections to your leafnode port, if plausible without compromising the service offered.\n\n### References\n\n * This document is canonically: <https://advisories.nats.io/CVE/secnote-2026-10.txt>\n * GHSA advisory: <https://github.com/nats-io/nats-server/security/advisories/GHSA-vprv-35vv-q339>\n * MITRE CVE entry: <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-33218>","format":"markdown","source":"ghsa"},{"lang":"en","text":"NATS has pre-auth server panic via leafnode handling 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. Antes de las versiones 2.11.15 y 2.12.6, un cliente que puede conectarse al puerto leafnode puede bloquear el nats-server con un mensaje malformado específico pre-autenticación. Las versiones 2.11.15 y 2.12.6 contienen una corrección. Como solución alternativa, deshabilite el soporte de leafnode si no es necesario o restrinja las conexiones de red al puerto leafnode, si es factible sin comprometer el servicio ofrecido.","source":"nvd"}],"published":"2026-03-24T21:45:29.000Z","modified":"2026-09-10T03:51:00.740Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-20","CWE-1286"],"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":"rpm","introduced":"1779579439","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Multicluster Global Hub 1.4.5","package":"multicluster-globalhub/multicluster-globalhub-grafana-rhel9","cpe":"cpe:/a:redhat:multicluster_globalhub:1.4::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1780167118","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Multicluster Global Hub 1.6.5","package":"multicluster-globalhub/multicluster-globalhub-grafana-rhel9","cpe":"cpe:/a:redhat:multicluster_globalhub:1.6::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1778867753","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat multicluster global hub 1.5.3","package":"multicluster-globalhub/multicluster-globalhub-grafana-rhel9","cpe":"cpe:/a:redhat:multicluster_globalhub:1.5::el9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","package":"openshift4/oc-mirror-plugin-rhel9","cpe":"cpe:/a:redhat:openshift:4","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":"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","fixed":"2.11.15"},{"status":"affected","introduced":"2.12.0","fixed":"2.12.6"}],"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-vprv-35vv-q339","tags":["advisory","mitigation","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://advisories.nats.io/CVE/secnote-2026-10.txt","tags":["advisory","mitigation","vendor-advisory","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-33218","tags":["vdb-entry","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2451450","tags":["issue-tracking","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33218.json","tags":["web","x-sadp-csaf-vex"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://access.redhat.com/errata/RHSA-2026:22347","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://access.redhat.com/errata/RHSA-2026:23345","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://access.redhat.com/errata/RHSA-2026:21769","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33218","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/nats-io/nats-server","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-03-26T15:37:53.583Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-33218","url":"https://www.cve.org/CVERecord?id=CVE-2026-33218","licence":"CVE Terms of Use","modified":"2026-09-09T12:05:08.560Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vprv-35vv-q339","url":"https://github.com/advisories/GHSA-vprv-35vv-q339","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:00.740Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4837","url":"https://pkg.go.dev/vuln/GO-2026-4837","licence":"CC-BY-4.0","modified":"2026-03-27T18:26:19.936Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-33218","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33218","licence":"Public domain","modified":"2026-09-09T13:19:23.977Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-NATS-2026-33218","url":"https://osv.dev/vulnerability/BIT-NATS-2026-33218","licence":"Apache-2.0","modified":"2026-09-08T08:47:41.568Z"}],"updatedAt":"2026-11-25T22:59:16.895Z","epss":{"score":0.00679,"percentile":0.53635,"date":"2026-12-01T12:00:22.000Z"}}