● 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
| Package | If you run | Upgrade to | Advisories |
|---|---|---|---|
| github.com/nats-io/nats-server | All versions | None in this row; 2 of its 22 advisories name a fixed version | 22 advisories |
| github.com/nats-io/nats-server/v2 | From 2.14.0-RC.1 before 2.14.3 | 2.14.3 | 6 advisories |
| github.com/nats-io/nats-server/v2 | Before 2.12.12 | 2.12.12 | 34 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
| Advisory | What it is | Affects | Fixed in | Published |
|---|---|---|---|---|
| CVE-2026-58254GHSA-p3j5-5hrq-p75h | nats-server Leaf node connections bypass Nats-Trace-Dest permission checkModerate severity. github.com/nats-io/nats-server/v2 | github.com/nats-io/nats-server/v2: From 2.14.0-RC.1 before 2.14.3; Before 2.12.8 | 2.12.8, 2.14.3 | |
| CVE-2026-58208GHSA-p957-7v2w-g93g | NATS Server: MQTT-over-WebSocket Path Can Crash WebSocket-Only JetStream Servers Before MQTT Is EnabledModerate severity. github.com/nats-io/nats-server/v2 | github.com/nats-io/nats-server/v2: From 2.14.0-RC.1 before 2.14.3; Before 2.12.12 | 2.12.12, 2.14.3 | |
| CVE-2026-58210GHSA-r72h-j7qq-v6qg | NATS Server allows unauthenticated memory exhaustion through incomplete MQTT CONNECT packetsHigh severity. github.com/nats-io/nats-server/v2 | github.com/nats-io/nats-server/v2: From 2.14.0-RC.1 before 2.14.3; Before 2.12.12 | 2.12.12, 2.14.3 | |
| CVE-2026-58209GHSA-7qmq-8cc4-hxwg | NATS Server MQTT retained messages and QoS replay bypass subscription deny rulesModerate severity. github.com/nats-io/nats-server/v2 | github.com/nats-io/nats-server/v2: From 2.14.0-RC.1 before 2.14.3; Before 2.12.12 | 2.12.12, 2.14.3 | |
| CVE-2026-58214GHSA-4g68-3pwx-5vfj | NATS Server MQTT subscribe permission bypass exposes internal QoS 2 metadataModerate severity. github.com/nats-io/nats-server/v2 | github.com/nats-io/nats-server/v2: From 2.14.0-RC.1 before 2.14.3; Before 2.12.12 | 2.12.12, 2.14.3 | |
| CVE-2026-58213GHSA-qrcv-3558-gj4f | NATS Server: MQTT SUBSCRIBE Protocol Injection via Leaf Node/Route Forwarding allows arbitrary NATS command injectionHigh severity. github.com/nats-io/nats-server/v2 | github.com/nats-io/nats-server/v2: From 2.14.0-RC.1 before 2.14.1; Before 2.12.9 | 2.12.9, 2.14.1 | |
| CVE-2026-27889GHSA-pq2q-rcw4-3hr6, GO-2026-4841 | NATS: 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/v2 | github.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.14 | 2.11.14, 2.12.5 | |
| CVE-2026-33248GHSA-3f24-pcvm-5jqc, GO-2026-4828 | NATS 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/v2 | github.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.15 | 2.11.15, 2.12.6 | |
| CVE-2026-33246GHSA-55h8-8g96-x4hj, GO-2026-4830 | NATS: Leafnode connections allow spoofing of Nats-Request-Info identity headersModerate severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2 | github.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.15 | 2.11.15, 2.12.6 | |
| CVE-2026-33223GHSA-pwx7-fx9r-hr4h, GO-2026-4835 | NATS Server: Incomplete Stripping of Nats-Request-Info Header Allows Identity SpoofingModerate severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2 | github.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.15 | 2.11.15, 2.12.6 | |
| CVE-2026-33222GHSA-9983-vrx2-fg9c, GO-2026-4832 | NATS JetStream has an authorization bypass through its Management APIModerate severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2 | github.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.15 | 2.11.15, 2.12.6 | |
| CVE-2026-33219GHSA-8r68-gvr4-jh7j, GO-2026-4831 | NATS is vulnerable to pre-auth DoS through WebSockets client serviceModerate severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2 | github.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.15 | 2.11.15, 2.12.6 | |
| CVE-2026-33218GHSA-vprv-35vv-q339, GO-2026-4837 | NATS has pre-auth server panic via leafnode handlingHigh severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2 | github.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.15 | 2.11.15, 2.12.6 | |
| CVE-2026-33217GHSA-jxxm-27vp-c3m5, GO-2026-4834 | NATS allows MQTT clients to bypass ACL checksHigh severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2 | github.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.15 | 2.11.15, 2.12.6 | |
| CVE-2026-33216GHSA-v722-jcv5-w7mc, GO-2026-4836 | NATS has MQTT plaintext password disclosureHigh severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2 | github.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.15 | 2.11.15, 2.12.6 | |
| CVE-2026-33215GHSA-fcjp-h8cc-6879, GO-2026-4833 | NATS is vulnerable to MQTT hijacking via Client IDModerate severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2 | github.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.15 | 2.11.15, 2.12.6 | |
| CVE-2026-29785GHSA-52jh-2xxh-pwh6, GO-2026-4829 | NATS Server panic via malicious compression on leafnode portHigh severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2 | github.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.14 | 2.11.14, 2.12.5 | |
| CVE-2026-33247GHSA-x6g4-f6q3-fqvv, GO-2026-4827 | NATS credentials are exposed in monitoring port via command-line argvHigh severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2 | github.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.15 | 2.11.15, 2.12.6 | |
| CVE-2026-33249GHSA-8m2x-3m6q-6w8j, GO-2026-4826 | NATS: Message tracing can be redirected to arbitrary subjectModerate severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2 | github.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.15 | 2.11.15, 2.12.6 | |
| CVE-2026-27571GHSA-qrvq-68c2-7grw, GO-2026-4533 | nats-server websockets are vulnerable to pre-auth memory DoSModerate severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2 | github.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.12 | 2.11.12, 2.12.3 | |
| CVE-2025-30215GHSA-fhg8-qxh5-7q3w, GO-2025-3600 | NATS Server may fail to authorize certain Jetstream admin APIsCritical severity. github.com/nats-io/nats-server/v2 | github.com/nats-io/nats-server/v2: From 2.11.0-RC.1 before 2.11.1; From 2.2.0 before 2.10.27 | 2.10.27, 2.11.1 | |
| CVE-2022-29946GHSA-2h2x-8hh2-mfq8, GO-2024-2980 | NATS 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/v2 | github.com/nats-io/nats-server: All versions / github.com/nats-io/nats-server/v2: Before 2.8.2 | 2.8.2 | |
| CVE-2021-32026GHSA-jj54-5q2m-q7pj, GO-2024-2850 | NATS server TLS missing ciphersuite settings when CLI flags usedLow severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2 | github.com/nats-io/nats-server: All versions / github.com/nats-io/nats-server/v2: Before 2.2.3 | 2.2.3 | |
| CVE-2023-46129GHSA-mr45-rx8q-wcm9, GO-2023-2163 | xkeys seal encryption used fixed key for all encryptionHigh severity. github.com/nats-io/nats-server/v2 | github.com/nats-io/nats-server/v2: From 2.10.0 before 2.10.4 | 2.10.4 | |
| CVE-2023-47090GHSA-fr2g-9hjm-wr23, GO-2023-2133 | NATS.io: Adding accounts for just the system account adds auth bypassHigh severity. github.com/nats-io/nats-server/v2 | github.com/nats-io/nats-server/v2: From 2.10.0 before 2.10.2; From 2.2.0 before 2.9.23 | 2.9.23, 2.10.2 | |
| CVE-2022-28357GHSA-vpjc-4jcv-jc29, GO-2023-2066 | NATS 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/v2 | github.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.4 | 2.7.4 | |
| CVE-2022-26652GHSA-6h3m-36w8-hv68, GO-2022-0351 | Arbitrary file write in nats-serverHigh severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2 | github.com/nats-io/nats-server: All versions / github.com/nats-io/nats-server/v2: From 2.2.0 before 2.7.4 | 2.7.4 | |
| CVE-2020-28466GHSA-m4jx-6526-vvhm, GO-2022-0855 | Denial of service in github.com/nats-io/nats-server/serverHigh severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2 | github.com/nats-io/nats-server: Before 2.2.0 / github.com/nats-io/nats-server/v2: Before 2.2.0 | 2.2.0 | |
| CVE-2022-24450GHSA-g6w6-r76c-28j7, GO-2022-0307 | Incorrect Authorization in NATS nats-serverHigh severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2 | github.com/nats-io/nats-server: All versions / github.com/nats-io/nats-server/v2: From 2.0.0 before 2.7.2 | 2.7.2 | |
| CVE-2021-3127GHSA-62mh-w5cv-p88c, GHSA-j756-f273-xhp4, GO-2022-0386 | nats-io/jwt not enforcing checking of Import token permissionsCritical severity. github.com/nats-io/nats-server/v2 | github.com/nats-io/nats-server/v2: Before 2.2.0 | 2.2.0 | |
| GHSA-gwj5-3vfq-q992GO-2022-0398 | Import loops in account imports, nats-server DoSLow severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2 | github.com/nats-io/nats-server: All versions / github.com/nats-io/nats-server/v2: Before 2.2.0 | 2.2.0 | |
| CVE-2020-26521GHSA-h2fg-54x9-5qhq, GHSA-hmm9-r2m2-qg9w, GO-2022-0402 | Nil dereference in NATS JWT, DoS of nats-serverHigh severity. github.com/nats-io/nats-server/v2 | github.com/nats-io/nats-server/v2: Before 2.1.9 | 2.1.9 | |
| CVE-2020-26892GHSA-2c64-vj8g-vwrq, GHSA-4w5x-x539-ppf5, GO-2022-0380 | Incorrect handling of credential expiry by /nats-io/nats-serverHigh severity. github.com/nats-io/nats-server/v2 | github.com/nats-io/nats-server/v2: Before 2.1.9 | 2.1.9 | |
| CVE-2019-13126GHSA-jp4j-47f9-2vc3, GO-2022-0852 | Integer Overflow or Wraparound in NATS ServerHigh severity. github.com/nats-io/nats-server, github.com/nats-io/nats-server/v2 | github.com/nats-io/nats-server: All versions / github.com/nats-io/nats-server/v2: Before 2.2.0 | 2.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
Other Go modules
- github.com/answerdev/answer34 advisories
- github.com/hashicorp/nomad34 advisories
- github.com/openbao/openbao34 advisories
- github.com/fleetdm/fleet/v432 advisories