CVE-2026-58211
Analyzed Analyzed - Analysis Complete

Authentication Bypass in NATS Server

Vulnerability report for CVE-2026-58211, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-08

Last updated on: 2026-07-09

Assigner: GitHub, Inc.

Description

NATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.14.3 and 2.12.12, a client could be registered as the configured no_auth_user through a parser path used when the first client operation was not CONNECT, bypassing user-level connection restrictions such as allowed_connection_types or proxy_required that normal authentication would apply. This issue is fixed in versions 2.14.3 and 2.12.12.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-08
Last Modified
2026-07-09
Generated
2026-07-16
AI Q&A
2026-07-09
EPSS Evaluated
2026-07-14
NVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
linuxfoundation nats-server From 2.12.0 (inc) to 2.12.12 (exc)
linuxfoundation nats-server From 2.14.0 (inc) to 2.14.3 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-863 The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects the NATS Server, a high-performance messaging server. Before versions 2.14.3 and 2.12.12, a client could be mistakenly registered as the configured no_auth_user by exploiting a parser path triggered when the first client operation was not a CONNECT command. This bypass allowed the client to circumvent user-level connection restrictions such as allowed_connection_types or proxy_required, which normally enforce authentication and connection policies.

Impact Analysis

The vulnerability can lead to unauthorized clients bypassing authentication and connection restrictions. This means an attacker could connect to the NATS Server without proper credentials or restrictions, potentially gaining limited access to the messaging system. The impact includes partial confidentiality and integrity loss, as indicated by the CVSS score, but no impact on availability.

Mitigation Strategies

To mitigate this vulnerability, you should upgrade your NATS Server to version 2.14.3 or 2.12.12 or later, where the issue is fixed.

Compliance Impact

This vulnerability allows an unauthenticated client to bypass user connection restrictions and gain permissions of the default no_auth_user, potentially accessing or interacting with data or systems without proper authorization.

Such unauthorized access could lead to violations of security and privacy requirements mandated by common standards and regulations like GDPR and HIPAA, which require strict access controls and protection of sensitive data.

The actual impact on compliance depends on how the no_auth_user permissions are configured and what data or systems are exposed through this vulnerability.

Detection Guidance

This vulnerability involves an unauthenticated client bypassing user connection restrictions by being registered as the configured no_auth_user before the first CONNECT operation. Detection would involve monitoring for clients connecting without proper authentication and checking if any client is operating with the permissions of the no_auth_user.

Since the issue arises when clients connect without sending a CONNECT operation first, you can monitor network traffic for NATS protocol messages that do not start with CONNECT or look for clients that gain access without proper authentication.

Specific commands to detect this vulnerability are not provided in the available resources. However, general approaches include:

  • Using network packet capture tools (e.g., tcpdump or Wireshark) to analyze NATS client connections and verify that the CONNECT operation is properly sent and authenticated.
  • Reviewing NATS server logs for any client connections that are registered as no_auth_user without proper authentication.
  • Checking the NATS server configuration to identify if no_auth_user is configured with connection restrictions like allowed_connection_types or proxy_required.

For example, a tcpdump command to capture NATS traffic on the default port 4222 might be:

  • tcpdump -i <interface> port 4222 -w nats_traffic.pcap

Then, analyze the capture with Wireshark or similar tools to inspect the initial client messages for the presence or absence of CONNECT commands.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-58211. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart