{"id":"GHSA-vprv-35vv-q339","revision":"940b0b7fde684f9bb56e593f44fc001e","records":[{"revision":"940b0b7fde684f9bb56e593f44fc001e","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-vprv-35vv-q339","aliases":["BIT-nats-2026-33218","CVE-2026-33218","GO-2026-4837"],"title":"NATS has pre-auth server panic via leafnode handling","description":"### 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>","state":0,"publishedAt":"2026-03-24T21:45:29+00:00","modifiedAt":"2026-09-10T03:51:00.7401045+00:00","affected":[{"ecosystem":"Go","name":"github.com/nats-io/nats-server/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.11.15"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/nats-io/nats-server/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.12.0-RC.1"},{"kind":"fixed","version":"2.12.6"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/nats-io/nats-server","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/nats-io/nats-server/security/advisories/GHSA-vprv-35vv-q339","https://nvd.nist.gov/vuln/detail/CVE-2026-33218","https://advisories.nats.io/CVE/secnote-2026-10.txt","https://github.com/nats-io/nats-server"],"sourceUrl":"https://github.com/advisories/GHSA-vprv-35vv-q339","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-vprv-35vv-q339","identifiers":["GHSA-vprv-35vv-q339","BIT-nats-2026-33218","CVE-2026-33218","GO-2026-4837"]},"retained":false,"historicalAffected":[]}],"coverage":[]}