CVE-2026-29785
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessConnect to NATS server with leafnode enabled
-
DeliveryNegotiate compression protocol
-
ExploitSend malformed compression data
-
ExecutionTrigger null pointer dereference
-
ImpactCrash server process
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | NATS server must have leafnode configuration explicitly enabled (non-default setting). Remote unauthenticated attacker can connect to the leafnode port and trigger server panic via compression negotiation. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) indicates network-accessible exploitation with low complexity requiring no privileges or user interaction, but impact is limited to availability (denial of service). While the CVSS base score of 7.5 appears high, real-world risk is moderated by several factors: the vulnerability requires leafnode configuration to be explicitly enabled (not default), only affects availability without data breach risk, and has vendor patches available. No EPSS score or KEV listing is provided, suggesting low observed exploitation activity. The attack is automatable and could disrupt critical message infrastructure, but exploitation requires the specific leafnode feature to be enabled and accessible. Organizations not using leafnode topology or those with network segmentation limiting access to port 7422 face reduced risk. This represents a genuine but bounded threat primarily for environments using hub-and-spoke NATS architectures with internet-exposed leafnode ports. |
| Exploit ScenarioDerived | An attacker identifies a NATS server with leafnode port 7422 exposed to the network through port scanning or service discovery. The attacker connects to the leafnode port and sends specially crafted compression negotiation data designed to trigger a null pointer dereference during the pre-authentication phase. This causes the NATS server to panic and crash, disrupting message delivery for all connected clients and breaking the hub-and-spoke topology until the service is manually restarted. The attack requires no authentication, is trivially automatable, and can be repeated to cause sustained denial of service. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 24, 2026
NATS server with leafnode clustering enabled is vulnerable to a denial-of-service crash triggered by remote attackers who exploit null pointer dereference in the compression negotiation handler prior to authentication. Any attacker capable of connecting to a leafnode-configured NATS server can trigger a server panic, causing service disruption. A patch is available to remediate this high-severity vulnerability.
Earlier versions of this analysis (1)
A null pointer dereference vulnerability in NATS.io server allows unauthenticated remote attackers to crash the server by exploiting compression negotiation in leafnode connections. NATS server versions 2.x prior to 2.11.14 and 2.12.5 are affected when leafnode configuration is enabled. The vulnerability triggers a server panic pre-authentication, allowing anyone who can connect to cause a denial of service with a CVSS score of 7.5 (High). No KEV listing indicates this is not currently known to be exploited in the wild.
RemediationAI
Upgrade NATS server to version 2.11.14 or later for version 2.11.x deployments, or version 2.12.5 or later for version 2.12.x deployments. The patch commit is available at https://github.com/nats-io/nats-server/commit/a1488de6f2ba6e666aef0f9cce0016f7f167d6a8. As an immediate workaround until patching is possible, disable compression on the leafnode port by adding 'compression: off' within the leafnodes configuration block. Additionally, restrict network access to the leafnode port (typically 7422) to only trusted NATS servers using firewall rules or network segmentation. Refer to the vendor security advisory at https://github.com/nats-io/nats-server/security/advisories/GHSA-52jh-2xxh-pwh6 for complete remediation guidance and https://advisories.nats.io/CVE/secnote-2026-04.txt for additional security notes.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
NATS.io is a high-performance pub-sub distributed communication technology designed for cloud, on-premise, IoT, and edge computing environments. Leafnodes enable hub-and-spoke topologies where separate administrative domains can link together, typically listening on port 7422, allowing remote NATS servers to connect for limited data communication across trust boundaries. The vulnerability is rooted in CWE-476 (NULL Pointer Dereference) within the compression negotiation mechanism during leafnode connection establishment. The affected products are identified via CPE as pkg:go/github.com_nats-io_nats-server_v2, indicating Go-based implementations of the NATS server version 2 series. The flaw occurs during the compression negotiation phase before authentication completes, meaning the server processes potentially malicious compression data without verifying the connecting entity's identity.
Know when the next one hits your stack
- 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:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Primary rating from Vendor (https://github.com/nats-io/nats-server).
CVSS VectorVendor: https://github.com/nats-io/nats-server
Lifecycle Timeline
2DescriptionCVE.org
Background
NATS.io is a high performance open source pub-sub distributed communication technology, built for the cloud, on-premise, IoT, and edge computing.
When configured to accept leafnode connections (for a hub/spoke topology of multiple nats-servers), then the default configuration allows for negotiating compression; a malicious remote NATS server can trigger a server panic via that compression.
Problem Description
If the nats-server has the "leafnode" configuration enabled (not default), then anyone who can connect can crash the nats-server by triggering a panic. This happens pre-authentication and requires that compression be enabled (which it is, by default, when leafnodes are used).
Context: a NATS server can form various clustering topologies, including local clusters, and superclusters of clusters, but leafnodes allow for separate administrative domains to link together with limited data communication; eg, a server in a moving vehicle might use a local leafnode for agents to connect to, and sync up to a central service as and when available. The leafnode configuration here is where the central server allows other NATS servers to connect into it, almost like regular NATS clients. Documentation examples typically use port 7422 for leafnode communications.
Affected Versions
Version 2, prior to v2.11.14 or v2.12.5
Workarounds
Disable compression on the leafnode port:
leafnodes {
port: 7422
compression: off
}Executive ViewAI
A high-severity vulnerability in NATS.io server versions 2.x (prior to 2.11.14 and 2.12.5) allows unauthenticated attackers to remotely crash services using leafnode connections, causing denial of service. Organizations running affected NATS deployments with leafnode configuration enabled face immediate service disruption risks, though no active exploitation has been reported.
Apply vendor patch. If immediate patching is not feasible: disable leafnode functionality if not operationally required; implement network segmentation to restrict unauthenticated access to NATS server ports; deploy ingress filtering to limit connection sources to trusted peers only.
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
A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Affected Products (CPE)CVE.org
Same weakness CWE-476 – NULL Pointer Dereference
View allSame technique Denial Of Service
View allVendor StatusVendor
SUSE
Severity: High| Product | Status |
|---|---|
| openSUSE Leap 15.6 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Fixed |
| openSUSE Leap 15.5 | Fixed |
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB