Skip to main content

NATS Server CVE-2026-58253

| EUVDEUVD-2026-42375 HIGH
Improper Authentication (CWE-287)
2026-07-06 vendor:ubuntu
8.8
CVSS 3.1 · Vendor: vendor:ubuntu
Share

Severity by source

Vendor (vendor:ubuntu) PRIMARY
8.8 HIGH
AV:A/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:L
vuln.today AI
8.8 HIGH

Route/leafnode ports are internal so AV:A; a single PING triggers it (AC:L) with no credentials (PR:N); crossing into another account's context is S:C, enabling message injection (I:H) with limited read (C:L) and availability (A:L) impact.

3.1 AV:A/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:L
4.0 AV:A/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:L/SC:L/SI:L/SA:N
SUSE
HIGH
qualitative
Red Hat
8.8 HIGH
qualitative

Primary rating from Vendor (vendor:ubuntu).

CVSS VectorVendor: vendor:ubuntu

Attack Vector
Adjacent
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
High
Availability
Low

Lifecycle Timeline

7
Patch available
Jul 08, 2026 - 21:04 EUVD
Analysis Updated
Jul 08, 2026 - 20:28 vuln.today
v3 (cvss_changed)
Source Code Evidence Fetched
Jul 08, 2026 - 20:28 vuln.today
Analysis Updated
Jul 08, 2026 - 20:28 vuln.today
v2 (cvss_changed)
Re-analysis Queued
Jul 08, 2026 - 20:22 vuln.today
cvss_changed
CVSS changed
Jul 08, 2026 - 20:22 NVD
8.8 (HIGH)
Analysis Generated
Jul 06, 2026 - 20:16 vuln.today

DescriptionCVE.org

[Unknown description]

AnalysisAI

Authentication bypass in NATS Server (nats-io/nats-server) lets an unauthenticated attacker on an adjacent network connect to the cluster (route) or leafnode listener and be silently dropped into the privileged no_auth_user account, bypassing the separate route/leafnode authorization. Any server configured with no_auth_user is affected up to the fixed releases (v2.11.16, v2.12.7, v2.14.0), enabling cross-account message injection over the internal route protocol. No public exploit identified at time of analysis, though the vendor's own regression test demonstrates the exact attack.

Technical ContextAI

NATS is a high-performance CNCF messaging system whose server multiplexes several distinct connection kinds on separate listeners: external CLIENT connections, inter-node ROUTER (cluster) connections, LEAF (leafnode) connections, and GATEWAY connections. The no_auth_user convenience option maps unauthenticated client sessions to a named account so external clients can connect without credentials. The root cause is a CWE-287 (Improper Authentication) flaw in the protocol parser (server/parser.go): the no_auth_user fast-path fired whenever the first protocol command was not CONNECT, without checking the connection kind. As a result a route/leafnode/gateway peer that opened a socket and sent 'PING' (or an RMSG) instead of the mandatory CONNECT handshake was treated as the no_auth_user client, sidestepping the dedicated cluster/leafnode authorization block. The fix constrains the fast-path with 'c.kind == CLIENT' and forces ROUTER/LEAF (and gated GATEWAY) connections to always begin with a CONNECT message.

RemediationAI

Vendor-released patch: upgrade to v2.11.16, v2.12.7, or v2.14.0 depending on your release line (release notes at https://github.com/nats-io/nats-server/releases/tag/v2.11.16, .../v2.12.7, and .../v2.14.0; advisory GHSA-38x3-76xf-cq45). If immediate patching is not possible, the most direct compensating control is to remove or unset the no_auth_user option, which closes the fast-path entirely - the trade-off is that legitimate credential-less client access is lost and clients must authenticate. Additionally, restrict the cluster and leafnode listener ports to trusted internal networks only (firewall/security-group rules or bind to internal interfaces) so untrusted adjacent hosts cannot reach them, and ensure route/leafnode authorization blocks are configured; these reduce reachability but do not fix the underlying bypass, so patching remains the durable remediation.

CVE-2021-3127 HIGH POC
7.5 Mar 16

NATS Server 2.x before 2.2.0 and JWT library before 2.0.1 have Incorrect Access Control because Import Token bindings ar

CVE-2020-26892 CRITICAL
9.8 Nov 06

The JWT library in NATS nats-server before 2.1.9 has Incorrect Access Control because of how expired credentials are han

CVE-2020-28466 HIGH
7.5 Mar 07

This affects all versions of package github.com/nats-io/nats-server/server. Rated high severity (CVSS 7.5), this vulnera

CVE-2022-24450 HIGH
8.8 Feb 08

NATS nats-server before 2.7.2 has Incorrect Access Control. Rated high severity (CVSS 8.8), this vulnerability is remote

CVE-2026-58210 HIGH
7.5 Jul 06

Denial of service in NATS Server (nats-server) MQTT handler allows a remote, unauthenticated client to exhaust server me

CVE-2026-58250 HIGH
7.5 Jul 06

Remote denial of service in the NATS Server (nats-io/nats-server) leafnode subsystem allows unauthenticated attackers to

CVE-2019-13126 HIGH
7.5 Jul 29

An integer overflow in NATS Server before 2.0.2 allows a remote attacker to crash the server by sending a crafted reques

CVE-2026-58208 HIGH
7.5 Jul 06

Remote denial-of-service in NATS Server (nats-server) affects deployments with the WebSocket listener enabled but MQTT d

CVE-2023-46129 HIGH
7.5 Oct 31

NATS.io is a high performance open source pub-sub distributed communication technology, built for the cloud, on-premise,

CVE-2020-26521 HIGH
7.5 Nov 06

The JWT library in NATS nats-server before 2.1.9 allows a denial of service (a nil dereference in Go code). Rated high s

CVE-2026-58213 HIGH
7.1 Jul 06

Protocol injection in NATS Server MQTT support allows an authenticated MQTT client to smuggle control characters (tab, n

CVE-2022-26652 MEDIUM
6.5 Mar 10

NATS nats-server before 2.7.4 allows Directory Traversal (with write access) via an element in a ZIP archive for JetStre

Vendor StatusVendor

SUSE

Severity: Important

Share

CVE-2026-58253 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy