GoWorst: Critical13 advisories

github.com/nats-io/nats-server: known vulnerabilities

github.com/nats-io/nats-server has 13 reviewed security advisories in the GitHub Advisory Database — 1 critical, 6 high, 6 moderate. The most recent was published 2026-03-25. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the github.com/nats-io/nats-server versions running across your servers, containers and images, and ranks what to patch first.

How to fix github.com/nats-io/nats-server

Upgrade github.com/nats-io/nats-server to a release at or above the fixed version shown for each advisory below. For Go:

go get github.com/nats-io/nats-server@2.7.4 && go mod tidy (check govulncheck)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (13)

NATS has mTLS verify_and_map authentication bypass via incorrect Subject DN matching Moderate 4.2 CWE-287 CWE-295 — Affected versions listed in the advisory. No fixed release is listed. Published 2026-03-25. GHSA-3f24-pcvm-5jqc · CVE-2026-33248
NATS Server panic via malicious compression on leafnode port High 7.5 CWE-476 — Affected versions listed in the advisory. No fixed release is listed. Published 2026-03-25. GHSA-52jh-2xxh-pwh6 · CVE-2026-29785
NATS: Leafnode connections allow spoofing of Nats-Request-Info identity headers Moderate 6.4 CWE-287 CWE-290 — Affected versions listed in the advisory. No fixed release is listed. Published 2026-03-25. GHSA-55h8-8g96-x4hj · CVE-2026-33246
NATS is vulnerable to pre-auth DoS through WebSockets client service Moderate 5.3 CWE-770 — Affected versions listed in the advisory. No fixed release is listed. Published 2026-03-25. GHSA-8r68-gvr4-jh7j · CVE-2026-33219
NATS JetStream has an authorization bypass through its Management API Moderate 4.9 CWE-285 — Affected versions listed in the advisory. No fixed release is listed. Published 2026-03-25. GHSA-9983-vrx2-fg9c · CVE-2026-33222
NATS allows MQTT clients to bypass ACL checks High 7.1 CWE-863 — Affected versions listed in the advisory. No fixed release is listed. Published 2026-03-25. GHSA-jxxm-27vp-c3m5 · CVE-2026-33217
NATS: Pre-auth remote server crash via WebSocket frame length overflow in wsRead High 7.5 CWE-190 — Affected versions listed in the advisory. No fixed release is listed. Published 2026-03-25. GHSA-pq2q-rcw4-3hr6 · CVE-2026-27889
NATS Server: Incomplete Stripping of Nats-Request-Info Header Allows Identity Spoofing Moderate 6.4 CWE-290 — Affected versions listed in the advisory. No fixed release is listed. Published 2026-03-25. GHSA-pwx7-fx9r-hr4h · CVE-2026-33223
NATS has MQTT plaintext password disclosure High 8.6 CWE-256 — Affected versions listed in the advisory. No fixed release is listed. Published 2026-03-25. GHSA-v722-jcv5-w7mc · CVE-2026-33216
NATS has pre-auth server panic via leafnode handling High 7.5 CWE-20 — Affected versions listed in the advisory. No fixed release is listed. Published 2026-03-25. GHSA-vprv-35vv-q339 · CVE-2026-33218
nats-server websockets are vulnerable to pre-auth memory DoS Moderate 5.9 CWE-409 CWE-770 — Affected: up to and including 1.4.1. No fixed release is listed. Published 2026-02-24. GHSA-qrvq-68c2-7grw · CVE-2026-27571
NATS nats-server allows directory traversal via unintended path to a management action Critical 9.8 CWE-22 — Affected: from 2.2.0 up to 2.7.4. Fixed in 2.7.4. Published 2023-09-19. GHSA-vpjc-4jcv-jc29 · CVE-2022-28357
Denial of service in github.com/nats-io/nats-server/server High 7.5 CWE-400 — Affected: before 2.2.0. Fixed in 2.2.0. Published 2021-03-07. GHSA-m4jx-6526-vvhm · CVE-2020-28466

Find github.com/nats-io/nats-server across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.