CVE-2026-58210: V2 · NATS Server allows unauthenticated memory exhaustion through incomplete MQTT CONNECT packets
Affects github.com/nats-io/nats-server/v2Source GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 2.12.12 soon.
Data as of 20 Nov 2026, 01:50 UTC
- Patch
- Available – fixed in 2.12.12, 2.14.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 8 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 19 Nov 2026.
What to do
Upgrade github.com/nats-io/nats-server/v2 to 2.12.12; github.com/nats-io/nats-server/v2 to 2.14.3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gogithub.com/nats-io/nats-server/v2 | Affected
| Fixed in
|
| Gogithub.com/nats-io/nats-server/v2 | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade NATS Server to version 2.12.12 or later, or 2.14.3 or later, where the issue is fixed. Deployments not using MQTT are not affected and require no action.
Description
NATS Server versions prior to 2.12.12 and between 2.14.0-RC.1 and before 2.14.3 have a vulnerability in the MQTT CONNECT packet parser. An unauthenticated MQTT client can send incomplete CONNECT packets that cause the server to retain large amounts of memory until authentication times out, leading to memory exhaustion. This issue is fixed in versions 2.12.12 and 2.14.3. Deployments not using MQTT are not affected.
References
- github.com/nats-io/nats-server/security/advisories/GHSA-r72h-j7qq-v6qg (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-58210 (opens in a new tab)
- github.com/nats-io/nats-server/commit/bce9ef39469e610aeddb819194ceb7f7edfc0861 (opens in a new tab)
- github.com/nats-io/nats-server/commit/e016e47bbf70304945f2ae9dc397e4862adefaf5 (opens in a new tab)
- github.com/nats-io/nats-server (opens in a new tab)
- github.com/nats-io/nats-server/releases/tag/v2.12.12 (opens in a new tab)
- github.com/nats-io/nats-server/releases/tag/v2.14.3 (opens in a new tab)