Skip to main content

CVE-2026-33219

MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-03-24 https://github.com/nats-io/nats-server
5.3
CVSS 3.1 · Vendor: https://github.com/nats-io/nats-server
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
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.

Impact

The CVSS v3.1 vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L) indicates network-accessible exploitation with low attack complexity and no privileges required, but only low confidentiality/integrity/availability impact. The attack vector is network-based, which is concerning for Internet-facing deployments. However, the vulnerability requires attackers to maintain sustained high-bandwidth connections to trigger significant memory exhaustion, raising the practical barrier compared to compression-based attacks. The CVSS score of 5.3 places this in the moderate range. Real-world risk depends on deployment topology: organizations with unauthenticated WebSockets exposed to untrusted networks face higher risk, while internal or access-controlled deployments have lower exposure. The vulnerability is not noted as actively exploited in public KEV datasets, suggesting lower immediate threat priority, but the ease of exploitation (unauthenticated, network-accessible) and availability of multiple advisory references indicate vendors and operators should prioritize patching.

Exploit ScenarioDerived

An attacker on the network opens a WebSocket connection to an unauthenticated nats-server instance (typically port 9222 or custom configuration) and continuously sends large amounts of arbitrary data without completing the NATS protocol handshake. Because authentication has not occurred and resource limits are not enforced, the server buffers this data in memory indefinitely, consuming available RAM until the process crashes or the system becomes unresponsive. Sustained attacks from multiple attacker-controlled connections can amplify memory exhaustion and trigger service degradation across the entire NATS cluster. No proof-of-concept exploit is noted as publicly released, but the low attack complexity and straightforward nature of the vulnerability (simply sending data over WebSocket) means exploitation tooling could be rapidly developed by threat actors.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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

NATS.io nats-server WebSockets service is vulnerable to unbounded memory consumption when malicious unauthenticated clients connect and transmit large amounts of data. This denial-of-service vulnerability affects versions before v2.12.6 or v2.11.15 and has a moderate CVSS score of 5.3 (CWE-770: Allocation of Resources Without Limits or Throttling). Unlike the related CVE-2026-27571 compression bomb variant, this attack requires significant client-side bandwidth rather than algorithmic compression exploitation.

RemediationAI

Upgrade nats-server to version v2.12.6 or later (main branch) or v2.11.15 or later (LTS branch). Check the NATS GitHub security advisory at https://github.com/nats-io/nats-server/security/advisories/GHSA-8r68-gvr4-jh7j for detailed patch instructions. If immediate patching is not possible, disable WebSockets functionality in nats-server configuration (disable websocket listener in the config file) if not required for your deployment, or restrict WebSocket listener access to trusted networks only via network-level controls (firewall rules, VPC security groups). Monitor memory usage on running nats-server instances for unexplained growth patterns that could indicate attack attempts. Apply rate limiting and connection throttling at the reverse proxy or load balancer layer if WebSockets must remain enabled.

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 cloud-native pub-sub messaging platform (CPE: pkg:go/github.com_nats-io_nats-server_v2) that offers WebSockets connectivity for browser-based clients. The vulnerability exists in the WebSockets handling code path prior to authentication completion. The root cause is classified under CWE-770 (Allocation of Resources Without Limits or Throttling), indicating insufficient resource allocation limits or throttling mechanisms on inbound WebSocket data before the authentication phase completes. When a client connects to the WebSockets port and begins transmitting data, the server buffers this data without enforcing limits, leading to unbounded memory allocation. This is specifically noted as a milder variant of CVE-2026-27571 (GHSA-qrvq-68c2-7grw), which was a compression-bomb attack; the current issue requires direct bandwidth rather than exploiting compression ratios.

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 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
SUSE MEDIUM
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
Low

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 24, 2026 - 21:46 nvd
MEDIUM 5.3

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 offers a WebSockets client service, used in deployments where browsers are the NATS clients.

Problem Description

A malicious client which can connect to the WebSockets port can cause unbounded memory use in the nats-server before authentication; this requires sending a corresponding amount of data.

This is a milder variant of NATS-advisory-ID 2026-02 (aka CVE-2026-27571; GHSA-qrvq-68c2-7grw). That earlier issue was a compression bomb, this vulnerability is not. Attacks against this new issue thus require significant client bandwidth.

Affected Versions

Any version before v2.12.6 or v2.11.15

Workarounds

Disable websockets if not required for project deployment.

Executive ViewAI

Why It Matters

Organizations using NATS.io should be aware of moderate risk from CVE-2026-33219 rated CVSS 5.3. Exploitation could compromise the security of affected deployments. Organizations should apply vendor updates when available and monitor for exploitation.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: restrict network access and enable monitoring.

Threat Intelligence Overview

EPSS Score
0.1%
Top 81% 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Low
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
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: Medium
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