Skip to main content

CVE-2026-33218

HIGH
Improper Input Validation (CWE-20)
2026-03-24 https://github.com/nats-io/nats-server
7.5
CVSS 3.1 · Vendor: https://github.com/nats-io/nats-server
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Connect to leafnode port
  2. Exploit
    Send malformed pre-authentication message
  3. Execution
    Trigger parsing error
  4. Impact
    Crash nats-server process

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

Remote unauthenticated attacker with network access to the leafnode port on NATS server versions before v2.12.6 or v2.11.15. Requires leafnode support enabled (used for hub/spoke topologies). No authentication or user interaction needed.

Impact

The CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H indicates this is a network-exploitable vulnerability with low attack complexity requiring no privileges or user interaction, resulting in high availability impact. While the CVSS score of 7.5 is significant, the real-world risk depends heavily on network exposure of the leafnode port. In production environments following security best practices, leafnode ports should be restricted to trusted server-to-server communications, significantly reducing the attack surface. No EPSS score or KEV status was provided, suggesting no widespread exploitation has been observed. The availability-only impact (no confidentiality or integrity compromise) and the requirement to have network access to a typically internal port make this a moderate priority for most organizations, elevated to high priority only for environments where leafnode ports are exposed to untrusted networks or where NATS availability is mission-critical.

Exploit ScenarioDerived

An attacker with network access to the NATS server's leafnode port (typically restricted to internal server-to-server communications) sends a specially crafted malformed message to the port before completing authentication. The nats-server fails to properly validate this message due to improper input validation (CWE-20), causing the server process to crash and resulting in denial of service for all clients relying on that NATS instance. While no public proof-of-concept has been disclosed, the low attack complexity (AC:L) suggests exploitation would be straightforward once an attacker gains network access to the leafnode port.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 24, 2026

A pre-authentication vulnerability in NATS.io nats-server allows unauthenticated attackers to crash the server by sending a specially crafted malformed message to the leafnode port. All versions of nats-server prior to v2.12.6 and v2.11.15 are affected. This is a high-severity denial-of-service vulnerability with a CVSS score of 7.5, exploitable over the network without authentication, though no active exploitation (KEV) or public proof-of-concept has been reported at this time.

RemediationAI

Upgrade nats-server to version 2.12.6 or later if running the 2.12.x branch, or to version 2.11.15 or later if running the 2.11.x branch. Patched versions are available through the standard nats-server distribution channels as documented in the GitHub advisory at https://github.com/nats-io/nats-server/security/advisories/GHSA-vprv-35vv-q339. If immediate patching is not feasible, implement the following workarounds: disable leafnode support entirely if it is not required for your deployment topology, or restrict network access to the leafnode port using firewall rules or network segmentation to allow connections only from trusted nats-server instances. These workarounds provide temporary risk mitigation but should not replace patching as a permanent solution.

Affected Packages

go github.com/nats-io/nats-server no fix
go github.com/nats-io/nats-server/v2 fix: 2.11.15, 2.12.6

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 open source publish-subscribe messaging system designed for cloud-native, IoT, and edge computing environments. The affected component is the leafnode connection mechanism, which enables hub-and-spoke topologies by allowing other nats-server instances to connect as leaf nodes. The vulnerability is classified as CWE-20 (Improper Input Validation), indicating that the server fails to properly validate or sanitize messages received on the leafnode port before authentication completes. The affected products are identified via CPE as pkg:go/github.com_nats-io_nats-server_v2, confirming this impacts the Go-based nats-server implementation across version 2.x branches prior to the patched releases.

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

Vendor (https://github.com/nats-io/nats-server) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
SUSE HIGH
Red Hat 7.5 HIGH

Primary rating from Vendor (https://github.com/nats-io/nats-server).

CVSS VectorVendor: https://github.com/nats-io/nats-server

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 24, 2026 - 21:45 nvd
HIGH 7.5

DescriptionCVE.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.

The nats-server allows hub/spoke topologies using "leafnode" connections by other nats-servers.

Problem Description

A client which can connect to the leafnode port can crash the nats-server with a certain malformed message pre-authentication.

Affected Versions

Any version before v2.12.6 or v2.11.15

Workarounds

  1. Disable leafnode support if not needed.
  2. Restrict network connections to your leafnode port, if plausible without compromising the service offered.

References

  • This document is canonically: <https://advisories.nats.io/CVE/secnote-2026-10.txt>
  • GHSA advisory: <https://github.com/nats-io/nats-server/security/advisories/GHSA-vprv-35vv-q339>
  • MITRE CVE entry: <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-33218>

Executive ViewAI

Why It Matters

NATS.io messaging infrastructure is vulnerable to unauthenticated denial-of-service attacks that could crash production servers, disrupting dependent applications and services. Any organization using nats-server versions prior to v2.12.6 or v2.11.15 faces immediate risk of service unavailability, requiring urgent assessment and mitigation planning.

Business Impact: High
Compensating Controls

Restrict network access to leafnode port (default 7422) via firewall or network segmentation—allow only trusted internal systems to connect; disable leafnode clustering if not actively used; implement rate limiting on NATS server connections if supported by your deployment; maintain current offline backups and have documented recovery procedures ready for rapid service restoration in case of server crashes.

Threat Intelligence Overview

EPSS Score
0.1%
Top 69% exploitable
Data Quality
7 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)CVE.org

pkg:go/github.com_nats-io_nats-server_v2
pkg:go/github.com_nats-io_nats-server_v2

Vendor 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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy