CVE-2026-29785: NATS Server panic via malicious compression on leafnode port
NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. Prior to versions 2.11.14 and 2.12.5, 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). Versions 2.11.14 and 2.12.5 contain a fix. As a workaround, disable compression on the leafnode port.
Security readout for executives and security teams
Plain-English summary
An unauthenticated attacker who can reach a vulnerable NATS leafnode port may crash the server, interrupting messaging services. Exposure is limited to deployments with leafnodes enabled, which is not the default, and compression enabled. The issue affects availability; the supplied CVSS vector indicates no confidentiality or integrity impact.
Executive priority
Prioritize exposed leafnode deployments because a remote, unauthenticated party could disrupt messaging-dependent operations. Patch internet-accessible or broadly reachable instances urgently. Internal-only instances still warrant prompt remediation based on service criticality and reachable threat paths.
Technical view
Malformed compression handling on an accessible leafnode listener can trigger a pre-authentication panic. Affected releases are nats-server before 2.11.14 and versions from 2.12.0-RC.1 through 2.12.4. Compression is enabled by default when leafnodes are used. The issue is categorized as CWE-409 and CWE-476 and scored CVSS 3.1 7.5.
Likely exposure
Highest risk exists where an affected nats-server exposes a leafnode port to untrusted networks. Deployments without leafnodes are not affected according to the advisory. Leafnode deployments with compression explicitly disabled have the documented workaround, though version verification remains important.
Exploitation context
The attack requires network access to the leafnode port but requires no authentication, privileges, or user interaction. Complexity is rated low and successful triggering causes a server crash. The supplied record is not marked KEV and provides no evidence of active exploitation.
Researcher notes
The documented impact is a pre-authentication denial of service through panic, not data disclosure or modification. Assess effective configuration and listener reachability alongside package versions. The supplied sources identify fixed versions and a compression-disable workaround, but do not establish public exploitation or inclusion in KEV.
Mitigation direction
Upgrade nats-server 2.11.x deployments to version 2.11.14 or later.
Upgrade nats-server 2.12.x deployments to version 2.12.5 or later.
If upgrading immediately is impossible, disable compression on the leafnode port.
Restrict leafnode port access to trusted systems while remediation is pending.
Validation and detection
Inventory nats-server versions across production, staging, edge, and container deployments.
Confirm whether each server has leafnode configuration enabled.
Check whether compression is enabled on every configured leafnode listener.
Verify network controls prevent untrusted clients from reaching leafnode ports.
After remediation, confirm deployed versions and effective runtime configuration.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-409: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-409 · source CWE mapping
Improper Handling of Highly Compressed Data (Data Amplification)
Improper Handling of Highly Compressed Data (Data Amplification) represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.