Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach cluster/leafnode listener on adjacent network
-
DeliveryOpen TCP socket, skip CONNECT handshake
-
ExploitSend bare PING to trigger no_auth_user fast-path
-
ExecutionGain no_auth_user account context
-
PersistInject RMSG cross-account messages
-
ImpactTamper with account message streams
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK
2 techniques across 2 tactics: Defense Evasion, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The NATS server must be configured with the no_auth_user option set (not a default setting) and must expose a cluster (route) and/or leafnode listener. The attacker must reach that route/leafnode port from an adjacent network (AV:A) and simply send any non-CONNECT command such as 'PING' or 'RMSG' as the first protocol message; no credentials are required (PR:N) and no user interaction is needed. Limiting factors: no_auth_user is off by default, cluster/leafnode ports are typically bound to internal/inter-node networks rather than the public internet, and the CLIENT listener itself is not vulnerable (the fast-path there is the intended behavior). |
| Impact | The CVSS 3.1 vector (AV:A/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:L, base 8.8) is internally consistent with the source evidence: no credentials are needed (PR:N), the trigger is trivial (a single PING, AC:L), and scope changes (S:C) because a route-level connection gains access to a user account's security context. Attack vector is Adjacent (AV:A), reflecting that cluster and leafnode ports are normally exposed only on internal/inter-node networks rather than the public internet - a meaningful real-world limiter. No EPSS score, KEV entry, or SSVC decision data was provided; there is no evidence of active exploitation. The most important non-CVSS limiter is configuration: exploitation requires no_auth_user to be set, which is not the default, so the affected population is a subset of NATS deployments. Net assessment: a genuine, easy-to-trigger auth-bypass worth prompt patching for anyone using no_auth_user with clustering/leafnodes, but not an internet-wide mass-exploitation candidate given the adjacent vector and config precondition. |
| Exploit ScenarioDerived | An attacker with a foothold on the internal network reaching a NATS cluster or leafnode port opens a TCP connection and, instead of sending the required CONNECT handshake, sends a bare 'PING'. The server's no_auth_user fast-path treats the peer as the configured privileged account, and the attacker then injects RMSG traffic to publish into accounts it should not have access to. The vendor's regression test reproduces this exact sequence, though no standalone public exploit was identified. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jul 08, 2026
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.
Earlier versions of this analysis (2)
Authentication bypass in NATS Server (nats-io/nats-server) lets an adjacent attacker reach a privileged internal account by exploiting the no_auth_user fast-path, which was incorrectly applied to server-to-server connection types. When no_auth_user is configured, a client that sends PING (instead of CONNECT) as its first protocol command is silently dropped into that account; the flaw allowed the same shortcut on route (cluster), leafnode, and gateway ports, so an unauthenticated peer on those ports could bypass cluster/leafnode authorization and inject cross-account messages (e.g. RMSG). Fixed in v2.11.16, v2.12.7, and v2.14.0 (GHSA-38x3-76xf-cq45); no public exploit identified at time of analysis, though commit test cases demonstrate the attack.
CVE-2026-58253 has been reported by Ubuntu but no description, CVSS score, vector, or CWE data is available at this time. The vulnerability's nature, impact, and affected components cannot be determined from the provided intelligence. No assessment of attacker capability or exploitability is possible without further disclosure from the vendor or NVD.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Nats Server gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:A/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:L
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.
Primary rating from Vendor (vendor:ubuntu).
CVSS VectorVendor: vendor:ubuntu
Lifecycle Timeline
4DescriptionCVE.org
[Unknown description]
Executive ViewAI
An authentication bypass in NATS Server allows attackers on adjacent networks to gain unauthorized access to privileged operations and inject messages across accounts, threatening organizations running NATS clustering or leafnode features. Any deployment configured with no_auth_user is vulnerable to data manipulation, cross-account compromise, and potential service disruption.
Restrict network access to NATS cluster and leafnode listeners to authorized networks; disable no_auth_user configuration where operationally feasible; implement network segmentation and micro-segmentation between NATS infrastructure and untrusted network segments; enable comprehensive audit logging of all authentication attempts and route/leafnode connections.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Nats Server
View allNATS Server 2.x before 2.2.0 and JWT library before 2.0.1 have Incorrect Access Control because Import Token bindings ar
The JWT library in NATS nats-server before 2.1.9 has Incorrect Access Control because of how expired credentials are han
This affects all versions of package github.com/nats-io/nats-server/server. Rated high severity (CVSS 7.5), this vulnera
NATS nats-server before 2.7.2 has Incorrect Access Control. Rated high severity (CVSS 8.8), this vulnerability is remote
Denial of service in NATS Server (nats-server) MQTT handler allows a remote, unauthenticated client to exhaust server me
Remote denial of service in the NATS Server (nats-io/nats-server) leafnode subsystem allows unauthenticated attackers to
An integer overflow in NATS Server before 2.0.2 allows a remote attacker to crash the server by sending a crafted reques
Remote denial-of-service in NATS Server (nats-server) affects deployments with the WebSocket listener enabled but MQTT d
NATS.io is a high performance open source pub-sub distributed communication technology, built for the cloud, on-premise,
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
Protocol injection in NATS Server MQTT support allows an authenticated MQTT client to smuggle control characters (tab, n
NATS nats-server before 2.7.4 allows Directory Traversal (with write access) via an element in a ZIP archive for JetStre
EUVD-2026-42375
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB