CVE-2026-58250

NATS Server: Pre-auth server crash via double INFO in leafnode handshake

Published Jul 8, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
NATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.12.8 and 2.11.17, an unauthenticated peer with network access to a leafnode listener with compression enabled could crash the server during the pre-authentication leafnode handshake by sending repeated leafnode INFO protocol messages before authentication and account setup completed. This issue is fixed in versions 2.12.8 and 2.11.17.

Analysis

AI-generated

Technical impact

NATS Server suffers a crash during the pre‑authentication leafnode handshake when an unauthenticated peer repeatedly sends leafnode INFO protocol messages before account setup, leading to a server crash and service disruption for all connections.

Affected Systems

The vulnerability affects NATS Server from the nats‑io vendor. All releases prior to version 2.12.8 and 2.11.17 are impacted. The issue is resolved in releases 2.12.8 and 2.11.17 and later.

Risk and Exploitability

The CVSS score of 7.5 indicates a high‑severity denial‑of-service flaw. The exploit requires unauthenticated network access to a leafnode listener with compression enabled, which is typically available to external peers. Based on the description, it is inferred that an external peer could reach the leafnode listener, making the attack vector possible from outside. EPSS indicates a very low but non‑zero probability of exploitation, with a score below 1%, and the vulnerability is not listed in CISA’s KEV catalog, suggesting no known widespread exploitation yet. Nonetheless, an attacker with network reach to the affected port could intentionally trigger the crash and disrupt availability.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade NATS Server to version 2.12.8 or later, or to version 2.11.17 or later. The update applies the fix that resolves the crash.
  • If you cannot upgrade immediately, temporarily disable compression for all leafnode connections, which prevents the double INFO trigger that leads to the crash.
  • Limit network exposure by restricting access to leafnode listeners so that only trusted or authenticated peers can initiate connections.

Generated by OpenCVE AI on August 1, 2026 at 15:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-3g5q-cfh2-cq67 NATS Server: Denial of service via repeated pre-authentication leafnode INFO messages
History
Type Values Removed Values Added
First Time appeared Nats
Nats nats Server
Vendors & Products Nats
Nats nats Server
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description NATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.12.8 and 2.11.17, an unauthenticated peer with network access to a leafnode listener with compression enabled could crash the server during the pre-authentication leafnode handshake by sending repeated leafnode INFO protocol messages before authentication and account setup completed. This issue is fixed in versions 2.12.8 and 2.11.17.
Title NATS Server: Pre-auth server crash via double INFO in leafnode handshake
Weaknesses CWE-476
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 9, 2026, 1:33 PM
Reserved
Jun 29, 2026, 9:54 PM
Status
Analyzed
Published
Jul 8, 2026, 8:16 PM
Modified
Oct 25, 2026, 5:10 PM
Severity
Important
Public date
Jul 8, 2026, 7:48 PM