CVE-2026-58209: V2 · NATS Server MQTT retained messages and QoS replay bypass subscription deny rules
Affects github.com/nats-io/nats-server/v2Source GCVE Database
Not known to be exploited · CVSS 4.3 Medium : upgrade to 2.12.12 when convenient.
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:L/UI:N/S:U/C:L/I:N/A:NExploitation 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 affected NATS Server instances to version 2.12.12 or 2.14.3 or later to apply the official fix. There are no known workarounds for deployments requiring MQTT. Deployments not using MQTT are not affected and require no action.
Description
NATS Server versions up to 2.12.11 and between 2.14.0-RC.1 and before 2.14.3 contain a vulnerability in MQTT retained message and QoS1+ durable delivery. This flaw allows delivery of messages on topics that should be denied by subscription deny rules, bypassing normal live delivery checks. The issue affects MQTT subscribers with broad wildcard permissions but specific topic denials. Fixed in versions 2.12.12 and 2.14.3.
References
- github.com/nats-io/nats-server/security/advisories/GHSA-7qmq-8cc4-hxwg (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-58209 (opens in a new tab)
- github.com/nats-io/nats-server/commit/181b1f51f40b9954c57e9d478e051fb257679356 (opens in a new tab)
- github.com/nats-io/nats-server/commit/1c429b6fdc5afd4188cc5faf1127f6334896cd87 (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)