github.com/nats-io/nats-server/v2
Go26 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting github.com/nats-io/nats-server/v2page 1 of 1
- CVE-2019-13126HIGHCVSS 7.5EG 7.5fixed in 2.2.02019-07-29
An integer overflow in NATS Server before 2.0.2 allows a remote attacker to crash the server by sending a crafted request. If authentication is enabled, then the remote attacker must have first authenticated.
- CVE-2020-26521HIGHCVSS 7.5EG 7.5fixed in 2.1.92020-11-06
The JWT library in NATS nats-server before 2.1.9 allows a denial of service (a nil dereference in Go code).
- CVE-2020-26892CRITICALCVSS 9.8EG 9.8fixed in 2.1.92020-11-06
The JWT library in NATS nats-server before 2.1.9 has Incorrect Access Control because of how expired credentials are handled.
- CVE-2020-28466HIGHCVSS 7.5EG 7.5fixed in 2.2.02021-03-07
This affects all versions of package github.com/nats-io/nats-server/server. Untrusted accounts are able to crash the server using configs that represent a service export/import cycles. Disclaimer from the maintainers: Running a NATS servic…
- CVE-2021-3127HIGHCVSS 7.5EG 7.5fixed in 2.2.02021-03-16
NATS Server 2.x before 2.2.0 and JWT library before 2.0.1 have Incorrect Access Control because Import Token bindings are mishandled.
- CVE-2022-24450HIGHCVSS 8.8EG 8.8fixed in 2.7.22022-02-08
NATS nats-server before 2.7.2 has Incorrect Access Control. Any authenticated user can obtain the privileges of the System account by misusing the "dynamically provisioned sandbox accounts" feature.
- CVE-2022-26652MEDIUMCVSS 6.5EG 6.5fixed in 2.7.42022-03-10
NATS nats-server before 2.7.4 allows Directory Traversal (with write access) via an element in a ZIP archive for JetStream streams. nats-streaming-server before 0.24.3 is also affected.
- CVE-2022-28357CRITICALCVSS 9.8EG 9.8fixed in 2.7.42023-09-19
NATS nats-server 2.2.0 through 2.7.4 allows directory traversal because of an unintended path to a management action from a management account.
- CVE-2022-29946MEDIUMCVSS 6.3EG 6.3fixed in 2.8.22024-07-11
NATS.io NATS Server before 2.8.2 and Streaming Server before 0.24.6 could allow a remote attacker to bypass security restrictions, caused by the failure to enforce negative user permissions in one scenario. By using a queue subscription on…
- CVE-2023-46129HIGHCVSS 7.5EG 7.5fixed in 2.10.42023-10-31
NATS.io is a high performance open source pub-sub distributed communication technology, built for the cloud, on-premise, IoT, and edge computing. The cryptographic key handling library, nkeys, recently gained support for encryption, not ju…
- CVE-2023-47090MEDIUMCVSS 6.5EG 6.5fixed in 2.9.23 or 2.10.2, by version range2023-10-30
NATS nats-server before 2.9.23 and 2.10.x before 2.10.2 has an authentication bypass. An implicit $G user in an authorization block can sometimes be used for unauthenticated access, even when the intention of the configuration was for each…
- CVE-2025-30215CRITICALCVSS 9.6EG 9.6fixed in 2.11.1 or 2.10.27, by version range2025-04-16
NATS-Server is a High-Performance server for NATS.io, the cloud and edge native messaging system. In versions starting from 2.2.0 but prior to 2.10.27 and 2.11.1, the management of JetStream assets happens with messages in the $JS. subject…
- CVE-2026-27571HIGHCVSS 7.5EG 7.5fixed in 2.11.12 or 2.12.3, by version range2026-02-24
NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. The WebSockets handling of NATS messages handles compressed messages via the WebSockets negotiated compression. Prior to versions 2.11.2 and 2.…
- CVE-2026-27889HIGHCVSS 7.5EG 7.5fixed in 2.11.14 or 2.12.5, by version range2026-03-25
NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. Starting in version 2.2.0 and prior to versions 2.11.14 and 2.12.5, a missing sanity check on a WebSockets frame could trigger a server panic i…
- CVE-2026-29785HIGHCVSS 7.5EG 7.5fixed in 2.11.14 or 2.12.5, by version range2026-03-25
NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. Prior to versions 2.11.14 and 2.12.5, if the nats-server has the "leafnode" configuration enabled (not default), then anyone who can connect ca…
- CVE-2026-33215MEDIUMCVSS 6.5EG 6.5fixed in 2.11.15 or 2.12.6, by version range2026-03-24
NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. The nats-server provides an MQTT client interface. Prior to versions 2.11.15 and 2.12.5, Sessions and Messages can by hijacked via MQTT Client …
- CVE-2026-33216HIGHCVSS 7.5EG 7.5fixed in 2.11.15 or 2.12.6, by version range2026-03-25
NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. Prior to versions 2.11.15 and 2.12.6, for MQTT deployments using usercodes/passwords: MQTT passwords are incorrectly classified as a non-authen…
- CVE-2026-33217MEDIUMCVSS 6.5EG 6.5fixed in 2.11.15 or 2.12.6, by version range2026-03-25
NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. Prior to versions 2.11.15 and 2.12.6, when using ACLs on message subjects, these ACLs were not applied in the `$MQTT.>` namespace, allowing MQT…
- CVE-2026-33218HIGHCVSS 7.5EG 7.5fixed in 2.11.15 or 2.12.6, by version range2026-03-25
NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. Prior to versions 2.11.15 and 2.12.6, a client which can connect to the leafnode port can crash the nats-server with a certain malformed messag…
- CVE-2026-33219MEDIUMCVSS 5.3EG 5.3fixed in 2.11.15 or 2.12.6, by version range2026-03-25
NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. Prior to versions 2.11.15 and 2.12.6, a malicious client which can connect to the WebSockets port can cause unbounded memory use in the nats-se…
- CVE-2026-33222MEDIUMCVSS 4.9EG 4.9fixed in 2.11.15 or 2.12.6, by version range2026-03-25
NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. Prior to versions 2.11.15 and 2.12.6, users with JetStream admin API access to restore one stream could restore to other stream names, impactin…
- CVE-2026-33223MEDIUMCVSS 5.4EG 5.4fixed in 2.11.15 or 2.12.6, by version range2026-03-25
NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. Prior to versions 2.11.15 and 2.12.6, the NATS message header `Nats-Request-Info:` is supposed to be a guarantee of identity by the NATS server…
- CVE-2026-33246MEDIUMCVSS 5.4EG 5.4fixed in 2.11.15 or 2.12.6, by version range2026-03-25
NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. The nats-server offers a `Nats-Request-Info:` message header, providing information about a request. This is supposed to provide enough informa…
- CVE-2026-33247MEDIUMCVSS 5.3EG 5.3fixed in 2.11.15 or 2.12.6, by version range2026-03-25
NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. Prior to versions 2.11.15 and 2.12.6, if a nats-server is run with static credentials for all clients provided via argv (the command-line), the…
- CVE-2026-33248MEDIUMCVSS 4.2EG 4.2fixed in 2.11.15 or 2.12.6, by version range2026-03-25
NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. Prior to versions 2.11.15 and 2.12.6, when using mTLS for client identity, with `verify_and_map` to derive a NATS identity from the client cert…
- CVE-2026-33249MEDIUMCVSS 4.3EG 4.3fixed in 2.11.15 or 2.12.6, by version range2026-03-25
NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. Starting in version 2.11.0 and prior to versions 2.11.15 and 2.12.6, a valid client which uses message tracing headers can indicate that the tr…
Check whether github.com/nats-io/nats-server/v2 is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for github.com/nats-io/nats-server/v2 CVEs against the assets you own.
Book a Demo →