CISA list

● Go module family

github.com/nats-io/nats-server/v2

Github.com/nats-io/nats-server/v2 has 34 security advisories.

As of , github.com/nats-io/nats-server/v2 has 34 security advisories.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
PackageIf you runUpgrade toAdvisories
github.com/nats-io/nats-serverAll versionsNone in this row; 2 of its 22 advisories name a fixed version22 advisories
github.com/nats-io/nats-server/v2From 2.14.0-RC.1 before 2.14.32.14.36 advisories
github.com/nats-io/nats-server/v2Before 2.12.122.12.1234 advisories

2 advisories are listed by two databases that disagree: one gives no end to the affected versions and the other names a fix, so the rows follow the one that names a fix. 1 of the 2 packages has no row that names a version to upgrade to, because an advisory lists its newer releases as affected and names no fix for them. 2 of its 22 advisories name a fixed version that this page reads; the list of advisories below gives them.

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-58254GHSA-p3j5-5hrq-p75hnats-server Leaf node connections bypass Nats-Trace-Dest permission checkModerate severity. github.com/nats-io/nats-server/v2github.com/nats-io/nats-server/v2: From 2.14.0-RC.1 before 2.14.3; Before 2.12.82.12.8, 2.14.3
CVE-2026-58208GHSA-p957-7v2w-g93gNATS Server: MQTT-over-WebSocket Path Can Crash WebSocket-Only JetStream Servers Before MQTT Is EnabledModerate severity. github.com/nats-io/nats-server/v2github.com/nats-io/nats-server/v2: From 2.14.0-RC.1 before 2.14.3; Before 2.12.122.12.12, 2.14.3
CVE-2026-58210GHSA-r72h-j7qq-v6qgNATS Server allows unauthenticated memory exhaustion through incomplete MQTT CONNECT packetsHigh severity. github.com/nats-io/nats-server/v2github.com/nats-io/nats-server/v2: From 2.14.0-RC.1 before 2.14.3; Before 2.12.122.12.12, 2.14.3
CVE-2026-58209GHSA-7qmq-8cc4-hxwgNATS Server MQTT retained messages and QoS replay bypass subscription deny rulesModerate severity. github.com/nats-io/nats-server/v2github.com/nats-io/nats-server/v2: From 2.14.0-RC.1 before 2.14.3; Before 2.12.122.12.12, 2.14.3
CVE-2026-58214GHSA-4g68-3pwx-5vfjNATS Server MQTT subscribe permission bypass exposes internal QoS 2 metadataModerate severity. github.com/nats-io/nats-server/v2github.com/nats-io/nats-server/v2: From 2.14.0-RC.1 before 2.14.3; Before 2.12.122.12.12, 2.14.3
CVE-2026-58213GHSA-qrcv-3558-gj4fNATS Server: MQTT SUBSCRIBE Protocol Injection via Leaf Node/Route Forwarding allows arbitrary NATS command injectionHigh severity. github.com/nats-io/nats-server/v2github.com/nats-io/nats-server/v2: From 2.14.0-RC.1 before 2.14.1; Before 2.12.92.12.9, 2.14.1
CVE-2026-27889GHSA-pq2q-rcw4-3hr6, GO-2026-4841NATS: Pre-auth remote server crash via WebSocket frame length overflow in wsReadHigh severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2github.com/nats-io/nats-server: All versions / github.com/nats-io/nats-server/v2: From 2.12.0 before 2.12.5; From 2.2.0 before 2.11.142.11.14, 2.12.5
CVE-2026-33248GHSA-3f24-pcvm-5jqc, GO-2026-4828NATS has mTLS verify_and_map authentication bypass via incorrect Subject DN matchingModerate severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2github.com/nats-io/nats-server: All versions / github.com/nats-io/nats-server/v2: From 2.12.0-RC.1 before 2.12.6; Before 2.11.152.11.15, 2.12.6
CVE-2026-33246GHSA-55h8-8g96-x4hj, GO-2026-4830NATS: Leafnode connections allow spoofing of Nats-Request-Info identity headersModerate severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2github.com/nats-io/nats-server: All versions / github.com/nats-io/nats-server/v2: From 2.12.0-RC.1 before 2.12.6; Before 2.11.152.11.15, 2.12.6
CVE-2026-33223GHSA-pwx7-fx9r-hr4h, GO-2026-4835NATS Server: Incomplete Stripping of Nats-Request-Info Header Allows Identity SpoofingModerate severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2github.com/nats-io/nats-server: All versions / github.com/nats-io/nats-server/v2: From 2.12.0-RC.1 before 2.12.6; Before 2.11.152.11.15, 2.12.6
CVE-2026-33222GHSA-9983-vrx2-fg9c, GO-2026-4832NATS JetStream has an authorization bypass through its Management APIModerate severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2github.com/nats-io/nats-server: All versions / github.com/nats-io/nats-server/v2: From 2.12.0-RC.1 before 2.12.6; Before 2.11.152.11.15, 2.12.6
CVE-2026-33219GHSA-8r68-gvr4-jh7j, GO-2026-4831NATS is vulnerable to pre-auth DoS through WebSockets client serviceModerate severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2github.com/nats-io/nats-server: All versions / github.com/nats-io/nats-server/v2: From 2.12.0-RC.1 before 2.12.6; Before 2.11.152.11.15, 2.12.6
CVE-2026-33218GHSA-vprv-35vv-q339, GO-2026-4837NATS has pre-auth server panic via leafnode handlingHigh severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2github.com/nats-io/nats-server: All versions / github.com/nats-io/nats-server/v2: From 2.12.0-RC.1 before 2.12.6; Before 2.11.152.11.15, 2.12.6
CVE-2026-33217GHSA-jxxm-27vp-c3m5, GO-2026-4834NATS allows MQTT clients to bypass ACL checksHigh severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2github.com/nats-io/nats-server: All versions / github.com/nats-io/nats-server/v2: From 2.12.0-RC.1 before 2.12.6; Before 2.11.152.11.15, 2.12.6
CVE-2026-33216GHSA-v722-jcv5-w7mc, GO-2026-4836NATS has MQTT plaintext password disclosureHigh severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2github.com/nats-io/nats-server: All versions / github.com/nats-io/nats-server/v2: From 2.12.0-RC.1 before 2.12.6; Before 2.11.152.11.15, 2.12.6
CVE-2026-33215GHSA-fcjp-h8cc-6879, GO-2026-4833NATS is vulnerable to MQTT hijacking via Client IDModerate severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2github.com/nats-io/nats-server: All versions / github.com/nats-io/nats-server/v2: From 2.12.0-RC.1 before 2.12.6; Before 2.11.152.11.15, 2.12.6
CVE-2026-29785GHSA-52jh-2xxh-pwh6, GO-2026-4829NATS Server panic via malicious compression on leafnode portHigh severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2github.com/nats-io/nats-server: All versions / github.com/nats-io/nats-server/v2: From 2.12.0-RC.1 before 2.12.5; Before 2.11.142.11.14, 2.12.5
CVE-2026-33247GHSA-x6g4-f6q3-fqvv, GO-2026-4827NATS credentials are exposed in monitoring port via command-line argvHigh severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2github.com/nats-io/nats-server: All versions / github.com/nats-io/nats-server/v2: From 2.12.0-RC.1 before 2.12.6; Before 2.11.152.11.15, 2.12.6
CVE-2026-33249GHSA-8m2x-3m6q-6w8j, GO-2026-4826NATS: Message tracing can be redirected to arbitrary subjectModerate severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2github.com/nats-io/nats-server: All versions / github.com/nats-io/nats-server/v2: From 2.12.0-preview.1 before 2.12.6; From 2.11.0 before 2.11.152.11.15, 2.12.6
CVE-2026-27571GHSA-qrvq-68c2-7grw, GO-2026-4533nats-server websockets are vulnerable to pre-auth memory DoSModerate severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2github.com/nats-io/nats-server: All versions / github.com/nats-io/nats-server/v2: From 2.12.0-RC.1 before 2.12.3; Before 2.11.122.11.12, 2.12.3
CVE-2025-30215GHSA-fhg8-qxh5-7q3w, GO-2025-3600NATS Server may fail to authorize certain Jetstream admin APIsCritical severity. github.com/nats-io/nats-server/v2github.com/nats-io/nats-server/v2: From 2.11.0-RC.1 before 2.11.1; From 2.2.0 before 2.10.272.10.27, 2.11.1
CVE-2022-29946GHSA-2h2x-8hh2-mfq8, GO-2024-2980NATS Server and Streaming Server fails to enforce negative user permissions, may allow denied subjectsHigh severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2github.com/nats-io/nats-server: All versions / github.com/nats-io/nats-server/v2: Before 2.8.22.8.2
CVE-2021-32026GHSA-jj54-5q2m-q7pj, GO-2024-2850NATS server TLS missing ciphersuite settings when CLI flags usedLow severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2github.com/nats-io/nats-server: All versions / github.com/nats-io/nats-server/v2: Before 2.2.32.2.3
CVE-2023-46129GHSA-mr45-rx8q-wcm9, GO-2023-2163xkeys seal encryption used fixed key for all encryptionHigh severity. github.com/nats-io/nats-server/v2github.com/nats-io/nats-server/v2: From 2.10.0 before 2.10.42.10.4
CVE-2023-47090GHSA-fr2g-9hjm-wr23, GO-2023-2133NATS.io: Adding accounts for just the system account adds auth bypassHigh severity. github.com/nats-io/nats-server/v2github.com/nats-io/nats-server/v2: From 2.10.0 before 2.10.2; From 2.2.0 before 2.9.232.9.23, 2.10.2
CVE-2022-28357GHSA-vpjc-4jcv-jc29, GO-2023-2066NATS nats-server allows directory traversal via unintended path to a management actionCritical severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2github.com/nats-io/nats-server: From 2.2.0 before 2.7.4 / github.com/nats-io/nats-server/v2: From 2.2.0 before 2.7.42.7.4
CVE-2022-26652GHSA-6h3m-36w8-hv68, GO-2022-0351Arbitrary file write in nats-serverHigh severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2github.com/nats-io/nats-server: All versions / github.com/nats-io/nats-server/v2: From 2.2.0 before 2.7.42.7.4
CVE-2020-28466GHSA-m4jx-6526-vvhm, GO-2022-0855Denial of service in github.com/nats-io/nats-server/serverHigh severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2github.com/nats-io/nats-server: Before 2.2.0 / github.com/nats-io/nats-server/v2: Before 2.2.02.2.0
CVE-2022-24450GHSA-g6w6-r76c-28j7, GO-2022-0307Incorrect Authorization in NATS nats-serverHigh severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2github.com/nats-io/nats-server: All versions / github.com/nats-io/nats-server/v2: From 2.0.0 before 2.7.22.7.2
CVE-2021-3127GHSA-62mh-w5cv-p88c, GHSA-j756-f273-xhp4, GO-2022-0386nats-io/jwt not enforcing checking of Import token permissionsCritical severity. github.com/nats-io/nats-server/v2github.com/nats-io/nats-server/v2: Before 2.2.02.2.0
GHSA-gwj5-3vfq-q992GO-2022-0398Import loops in account imports, nats-server DoSLow severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2github.com/nats-io/nats-server: All versions / github.com/nats-io/nats-server/v2: Before 2.2.02.2.0
CVE-2020-26521GHSA-h2fg-54x9-5qhq, GHSA-hmm9-r2m2-qg9w, GO-2022-0402Nil dereference in NATS JWT, DoS of nats-serverHigh severity. github.com/nats-io/nats-server/v2github.com/nats-io/nats-server/v2: Before 2.1.92.1.9
CVE-2020-26892GHSA-2c64-vj8g-vwrq, GHSA-4w5x-x539-ppf5, GO-2022-0380Incorrect handling of credential expiry by /nats-io/nats-serverHigh severity. github.com/nats-io/nats-server/v2github.com/nats-io/nats-server/v2: Before 2.1.92.1.9
CVE-2019-13126GHSA-jp4j-47f9-2vc3, GO-2022-0852Integer Overflow or Wraparound in NATS ServerHigh severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2github.com/nats-io/nats-server: All versions / github.com/nats-io/nats-server/v2: Before 2.2.02.2.0

Packages on this page

These 2 packages share most of their advisories, so one page covers them. The table has rows for each package apart, because a release of one is not a release of another.

  • github.com/nats-io/nats-server
  • github.com/nats-io/nats-server/v2
Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0
  • Package advisories from the Go vulnerability database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0