Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Go

CVE-2026-58210 — NATS Server allows unauthenticated memory exhaustion through incomplete MQTT CONNECT packets

High · CVSS 7.5EPSS 0.7% First seen November 20, 2026

One of 4 go:github.com/nats-io/nats-server/v2 vulnerabilities published together by GitHub Advisory: our article covers all of them.

GoWebCloud & containersIoTVulnerabilities

Severity breakdown

High · 7.5 CVSS 3.1 base score from the CNA (github.com)

An attacker without an account can exploit this over the network, without any user action.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Login needed
no
User action needed
no
Scope
stays within the vulnerable component
Impact
high on availability, none on confidentiality and integrity

Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Affected and fixed versions

ProductAffected versionsFixed in
github.com/nats-io/nats-server/v2 (Go)< 2.12.122.12.12
≥ 2.14.0-RC.1, < 2.14.32.14.3
nats-io nats-server< 2.12.12, >= 2.14.0-RC.1, < 2.14.3—

From the GitHub Advisory Database and the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Other references

Details from NVD (public domain), the GitHub Advisory Database (CC BY 4.0).

Details

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 supports MQTT clients, including authentication and parsing of MQTT CONNECT packets.

Problem Description

An unauthenticated MQTT client could cause the server to retain large incomplete MQTT CONNECT packets before authentication completed.

The parser retained partial pre-authentication packet data while waiting for the advertised MQTT packet length to be completed. An attacker could therefore consume server memory until authentication timeouts closed the connections.

Affected Versions

Versions v2.14.2, v2.12.11 and below are vulnerable. The issue is fixed in v2.14.3 and v2.12.12.

Workarounds

Deployments not using MQTT are not affected. Deployments that need MQTT should upgrade to a fixed release.

References

Source: GHSA-r72h-j7qq-v6qg / CVE-2026-58210, GitHub Advisory Database, licensed CC BY 4.0.

Affected

  • go:github.com/nats-io/nats-server/v2

What to do

  • Check whether you run an affected product or version and apply the vendor's update or mitigation.
  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-58210?

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 supports MQTT clients, including authentication and parsing of MQTT CONNECT packets. Problem Description An unauthenticated MQTT client could cause the server to retain large incomplete MQTT CONNECT packets before authentication completed. Weakness type: Uncontrolled Resource Consumption (CWE-400).

How severe is CVE-2026-58210?

CVE-2026-58210 has a CVSS 3.1 base score of 7.5 (high), from the CNA (github.com). An attacker without an account can exploit this over the network, without any user action.

Is CVE-2026-58210 being exploited?

Not as far as is known: CVE-2026-58210 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.7% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-58210?

github.com/nats-io/nats-server/v2 (Go) < 2.12.12 (fixed in 2.12.12); github.com/nats-io/nats-server/v2 (Go) ≥ 2.14.0-RC.1, < 2.14.3 (fixed in 2.14.3); nats-io nats-server < 2.12.12, >= 2.14.0-RC.1, < 2.14.3.

How do I fix CVE-2026-58210?

Update to a fixed release: github.com/nats-io/nats-server/v2 (Go) 2.12.12; github.com/nats-io/nats-server/v2 (Go) 2.14.3.

Timeline & sources

References

Related vulnerabilities & news