The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-29785

CVE-2026-29785: NATS-Server Leafnode DoS Vulnerability

CVE-2026-29785 is a denial of service vulnerability in NATS-Server affecting systems with leafnode configuration enabled. Attackers can crash the server pre-authentication. This article covers technical details, affected versions, and mitigation.

Published: March 27, 2026

CVE-2026-29785 Overview

CVE-2026-29785 is a Denial of Service vulnerability affecting NATS-Server, a high-performance server for NATS.io, a cloud and edge native messaging system. When the leafnode configuration is enabled (not default), any unauthenticated user who can connect to the server can trigger a panic and crash the nats-server. This vulnerability occurs pre-authentication and requires that compression be enabled, which is the default setting when leafnodes are used.

Critical Impact

Unauthenticated remote attackers can crash NATS-Server instances with leafnode configurations enabled, causing complete service disruption to messaging infrastructure.

Affected Products

  • NATS-Server versions prior to 2.11.14
  • NATS-Server versions prior to 2.12.5
  • Any NATS-Server deployment with leafnode configuration enabled and compression active (default)

Discovery Timeline

  • 2026-03-25 - CVE-2026-29785 published to NVD
  • 2026-03-26 - Last updated in NVD database

Technical Details for CVE-2026-29785

Vulnerability Analysis

This vulnerability is classified under CWE-476 (NULL Pointer Dereference), indicating that the server fails to properly handle certain conditions during leafnode connection processing. The flaw exists in the compression handling code path for leafnode connections.

When a leafnode connection is established, the server processes incoming data with compression enabled by default. An attacker can craft specific input that causes the server to dereference a null pointer, triggering a panic condition. Since this occurs in the pre-authentication phase of connection handling, no valid credentials are required to exploit this vulnerability.

The attack surface is exposed on the network, requires low complexity to exploit, and needs no user interaction or special privileges. The impact is limited to availability—there is no confidentiality or integrity breach—but a successful attack results in complete denial of service for the messaging infrastructure.

Root Cause

The root cause is a NULL Pointer Dereference (CWE-476) in the leafnode compression handling code. During the initial connection handshake, the server fails to validate certain pointers before dereferencing them, allowing an attacker to trigger a panic condition. The compression subsystem expects certain data structures to be properly initialized, but malformed input can bypass these assumptions.

Attack Vector

The attack is network-based and can be executed by any attacker who can establish a TCP connection to the leafnode port. The exploitation flow involves:

  1. Attacker identifies a NATS-Server instance with leafnode configuration enabled
  2. Attacker connects to the leafnode port (compression is enabled by default)
  3. Attacker sends specially crafted data during the pre-authentication phase
  4. Server attempts to process the data through the compression handler
  5. NULL pointer dereference occurs, causing a panic
  6. Server crashes, denying service to all connected clients

The vulnerability is particularly concerning because it requires no authentication, meaning any network-accessible leafnode port is vulnerable to exploitation.

Detection Methods for CVE-2026-29785

Indicators of Compromise

  • Unexpected NATS-Server crashes with panic messages in logs related to leafnode or compression handling
  • Repeated connection attempts to leafnode ports from suspicious IP addresses followed by immediate server restarts
  • Log entries showing pre-authentication connection failures on leafnode ports
  • Unusual network traffic patterns targeting the leafnode listener port

Detection Strategies

  • Monitor NATS-Server process stability and alert on unexpected restarts or crashes
  • Implement network intrusion detection rules for anomalous leafnode connection patterns
  • Review server logs for panic stack traces mentioning compression or leafnode code paths
  • Deploy application-level monitoring to track leafnode connection success/failure ratios

Monitoring Recommendations

  • Enable verbose logging for leafnode connections to capture detailed connection metadata
  • Set up automated alerts for NATS-Server process terminations
  • Monitor network flows to leafnode ports for connections that terminate abnormally before authentication
  • Implement health checks that can rapidly detect and alert on server unavailability

How to Mitigate CVE-2026-29785

Immediate Actions Required

  • Upgrade NATS-Server to version 2.11.14 or 2.12.5 (or later) immediately
  • If immediate patching is not possible, disable compression on the leafnode port as a workaround
  • Review firewall rules to restrict leafnode port access to trusted networks only
  • Monitor for any signs of exploitation attempts in server logs

Patch Information

Fixed versions are available:

  • Version 2.11.14 for the 2.11.x branch
  • Version 2.12.5 for the 2.12.x branch

The fix is implemented in commit a1488de6f2ba6e666aef0f9cce0016f7f167d6a8. For detailed patch information, refer to the GitHub Security Advisory GHSA-52jh-2xxh-pwh6 and the NATS Security Advisory.

Workarounds

  • Disable compression on the leafnode port by modifying the server configuration
  • Restrict network access to leafnode ports using firewall rules to allow only trusted cluster members
  • Consider placing leafnode ports behind a VPN or private network segment if public exposure is not required
bash
# Configuration example - Disable leafnode compression as a workaround
# In your nats-server configuration file (nats-server.conf):

leafnodes {
  port: 7422
  compression: "off"
}

# Then restart the NATS-Server:
# systemctl restart nats-server
# or
# nats-server -c /path/to/nats-server.conf

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechNats Server

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-476
  • Vendor Resources
  • NATS Security Advisory CVE-2026-04

  • GitHub Commit Analysis

  • GitHub Security Advisory GHSA-52jh-2xxh-pwh6
  • Related CVEs
  • CVE-2026-33219: NATS-Server WebSocket DoS Vulnerability

  • CVE-2026-33218: NATS-Server DoS Vulnerability

  • CVE-2026-27889: NATS-Server WebSocket DOS Vulnerability

  • CVE-2026-27571: NATS-Server WebSocket DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English