Skip to main content

NATS Server EUVDEUVD-2026-42375

| CVE-2026-58253 HIGH
Improper Authentication (CWE-287)
2026-07-06 vendor:ubuntu
8.8
CVSS 3.1 · Vendor: vendor:ubuntu
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach cluster/leafnode listener on adjacent network
  2. Delivery
    Open TCP socket, skip CONNECT handshake
  3. Exploit
    Send bare PING to trigger no_auth_user fast-path
  4. Execution
    Gain no_auth_user account context
  5. Persist
    Inject RMSG cross-account messages
  6. Impact
    Tamper 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – 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)
v2 Jul 08, 2026 - 20:28 cvss changed CVSS 8.8

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.

v1 Jul 06, 2026 - 20:16

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

nats-server < 2.11.16
nats-server 2.12.0-preview.1, < 2.12.6

Affected Packages

euvd nats_server fix: 2.11.16
euvd nats_server_2_12_0_preview_1 fix: 2.12.6

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

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
Red Hat 8.8 HIGH

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

4
Patch available
Jul 08, 2026 - 21:04 EUVD
Analysis Updated
Jul 08, 2026 - 20:28 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 08, 2026 - 20:28 vuln.today
v2 - CVSS changed
CVSS changed
Jul 08, 2026 - 20:22 NVD
8.8 (HIGH)

DescriptionCVE.org

[Unknown description]

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.4%
Top 69% exploitable
Prevalence
Medium
CNCF messaging server common in cloud-native stacks, not universally deployed
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Controlled
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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

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