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

Registry
Go
Latest
1.4.1

35 known advisories

The latest version, 1.4.1, is affected by 34 of them.

Is your project on an affected github.com/nats-io/nats-server?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for github.com/nats-io/nats-server

  • LowCVE-2026-29785GO-2026-482926 Mar 2026

    NATS Server panic via malicious compression on leafnode port in github.com/nats-io/nats-server

    Affected
    All versions
    Fixed in
    No fix released
  • LowCVE-2026-33246GO-2026-483026 Mar 2026

    NATS: Leafnode connections allow spoofing of Nats-Request-Info identity headers in github.com/nats-io/nats-server

    Affected
    All versions
    Fixed in
    No fix released
  • LowCVE-2026-33219GO-2026-483126 Mar 2026

    NATS is vulnerable to pre-auth DoS through WebSockets client service in github.com/nats-io/nats-server

    Affected
    All versions
    Fixed in
    No fix released
  • LowCVE-2026-33222GO-2026-483226 Mar 2026

    NATS JetStream has an authorization bypass through its Management API in github.com/nats-io/nats-server

    Affected
    All versions
    Fixed in
    No fix released
  • LowCVE-2026-33215GO-2026-483326 Mar 2026

    NATS is vulnerable to MQTT hijacking via Client ID in github.com/nats-io/nats-server

    Affected
    All versions
    Fixed in
    No fix released
  • LowCVE-2026-33217GO-2026-483426 Mar 2026

    NATS allows MQTT clients to bypass ACL checks in github.com/nats-io/nats-server

    Affected
    All versions
    Fixed in
    No fix released
  • LowCVE-2026-33223GO-2026-483526 Mar 2026

    NATS Server: Incomplete Stripping of Nats-Request-Info Header Allows Identity Spoofing in github.com/nats-io/nats-server

    Affected
    All versions
    Fixed in
    No fix released
  • LowCVE-2026-33216GO-2026-483626 Mar 2026

    NATS has MQTT plaintext password disclosure in github.com/nats-io/nats-server

    Affected
    All versions
    Fixed in
    No fix released
  • LowCVE-2026-33218GO-2026-483726 Mar 2026

    NATS has pre-auth server panic via leafnode handling in github.com/nats-io/nats-server

    Affected
    All versions
    Fixed in
    No fix released
  • LowCVE-2026-27889GO-2026-484126 Mar 2026

    NATS: Pre-auth remote server crash via WebSocket frame length overflow in wsRead in github.com/nats-io/nats-server

    Affected
    All versions
    Fixed in
    No fix released
  • LowCVE-2026-33249GO-2026-482626 Mar 2026

    NATS: Message tracing can be redirected to arbitrary subject in github.com/nats-io/nats-server

    Affected
    All versions
    Fixed in
    No fix released
  • LowCVE-2026-33247GO-2026-482726 Mar 2026

    NATS credentials are exposed in monitoring port via command-line argv in github.com/nats-io/nats-server

    Affected
    All versions
    Fixed in
    No fix released
  • LowCVE-2026-33248GO-2026-482826 Mar 2026

    NATS has mTLS verify_and_map authentication bypass via incorrect Subject DN matching in github.com/nats-io/nats-server

    Affected
    All versions
    Fixed in
    No fix released
  • HighCVE-2026-27889GHSA-pq2q-rcw4-3hr625 Mar 2026

    NATS: Pre-auth remote server crash via WebSocket frame length overflow in wsRead

    Affected
    All versions
    Fixed in
    No fix released
  • MediumCVE-2026-33248GHSA-3f24-pcvm-5jqc24 Mar 2026

    NATS has mTLS verify_and_map authentication bypass via incorrect Subject DN matching

    Affected
    All versions
    Fixed in
    No fix released
  • MediumCVE-2026-33246GHSA-55h8-8g96-x4hj24 Mar 2026

    NATS: Leafnode connections allow spoofing of Nats-Request-Info identity headers

    Affected
    All versions
    Fixed in
    No fix released
  • MediumCVE-2026-33223GHSA-pwx7-fx9r-hr4h24 Mar 2026

    NATS Server: Incomplete Stripping of Nats-Request-Info Header Allows Identity Spoofing

    Affected
    All versions
    Fixed in
    No fix released
  • MediumCVE-2026-33222GHSA-9983-vrx2-fg9c24 Mar 2026

    NATS JetStream has an authorization bypass through its Management API

    Affected
    All versions
    Fixed in
    No fix released
  • MediumCVE-2026-33219GHSA-8r68-gvr4-jh7j24 Mar 2026

    NATS is vulnerable to pre-auth DoS through WebSockets client service

    Affected
    All versions
    Fixed in
    No fix released
  • HighCVE-2026-33218GHSA-vprv-35vv-q33924 Mar 2026

    NATS has pre-auth server panic via leafnode handling

    Affected
    All versions
    Fixed in
    No fix released
  • HighCVE-2026-33217GHSA-jxxm-27vp-c3m524 Mar 2026

    NATS allows MQTT clients to bypass ACL checks

    Affected
    All versions
    Fixed in
    No fix released
  • HighCVE-2026-33216GHSA-v722-jcv5-w7mc24 Mar 2026

    NATS has MQTT plaintext password disclosure

    Affected
    All versions
    Fixed in
    No fix released
  • HighCVE-2026-29785GHSA-52jh-2xxh-pwh624 Mar 2026

    NATS Server panic via malicious compression on leafnode port

    Affected
    All versions
    Fixed in
    No fix released
  • LowCVE-2026-27571GO-2026-453325 Feb 2026

    nats-server websockets are vulnerable to pre-auth memory DoS in github.com/nats-io/nats-server

    Affected
    All versions
    Fixed in
    No fix released
  • MediumCVE-2026-27571GHSA-qrvq-68c2-7grw24 Feb 2026

    nats-server websockets are vulnerable to pre-auth memory DoS

    Affected
    <=1.4.1
    Fixed in
    No fix released
  • LowCVE-2019-13126GO-2022-085221 Aug 2024

    Integer Overflow or Wraparound in NATS Server in github.com/nats-io/nats-server

    Affected
    All versions
    Fixed in
    No fix released
  • LowCVE-2020-28466GO-2022-085521 Aug 2024

    Denial of service in github.com/nats-io/nats-server/server in github.com/nats-io/nats-server

    Affected
    All versions
    Fixed in
    No fix released
  • LowGO-2022-039821 Aug 2024

    Import loops in account imports, nats-server DoS in github.com/nats-io/nats-server

    Affected
    All versions
    Fixed in
    No fix released
  • LowCVE-2022-26652GO-2022-035121 Aug 2024

    Arbitrary file write in nats-server in github.com/nats-io/nats-server

    Affected
    All versions
    Fixed in
    No fix released
  • LowCVE-2022-24450GO-2022-030721 Aug 2024

    Incorrect Authorization in NATS nats-server in github.com/nats-io/nats-server

    Affected
    All versions
    Fixed in
    No fix released
  • LowCVE-2022-28357GO-2023-206621 Aug 2024

    NATS nats-server allows directory traversal via unintended path to a management action in github.com/nats-io/nats-server

    Affected
    All versions
    Fixed in
    No fix released
  • LowCVE-2022-29946GO-2024-298012 Jul 2024

    NATS Server and Streaming Server fails to enforce negative user permissions, may allow denied subjects in github.com/nats-io/nats-server

    Affected
    All versions
    Fixed in
    No fix released
  • LowCVE-2021-32026GO-2024-28505 Jun 2024

    NATS server TLS missing ciphersuite settings when CLI flags used in github.com/nats-io/nats-server

    Affected
    All versions
    Fixed in
    No fix released
  • CriticalCVE-2022-28357GHSA-vpjc-4jcv-jc2919 Sept 2023

    NATS nats-server allows directory traversal via unintended path to a management action

    Affected
    >=2.2.0 <2.7.4
    Fixed in
    2.7.4
  • HighCVE-2020-28466GHSA-m4jx-6526-vvhm15 Feb 2022

    Denial of service in github.com/nats-io/nats-server/server

    Affected
    <2.2.0
    Fixed in
    2.2.0

Is your github.com/nats-io/nats-server version vulnerable?

Which of your client projects still run an old github.com/nats-io/nats-server?

NPMscan reads the go.mod in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other Go packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Go registry.