CVE-2026-58214: V2 · NATS Server MQTT subscribe permission bypass exposes internal QoS 2 metadata
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 19 Nov 2026, 17:21 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 18 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
A patch is available and should be applied. Upgrade affected NATS Server versions to 2.12.12 or 2.14.3 or later to remediate this issue. There are no known workarounds for deployments requiring MQTT. Deployments not using MQTT are not affected and require no action.
Description
An authenticated MQTT client in NATS Server versions v2.14.2, v2.12.7 and below could bypass subscribe permissions to access internal MQTT delivery subjects. This exposure reveals MQTT QoS 2 protocol metadata for sessions within the account, though message payloads remain protected. The vulnerability arises from incomplete restrictions on internal MQTT subjects. Fixed versions are 2.12.12 and 2.14.3. No workaround exists for deployments requiring MQTT; upgrading is necessary.
References
- github.com/nats-io/nats-server/security/advisories/GHSA-4g68-3pwx-5vfj (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-58214 (opens in a new tab)
- github.com/nats-io/nats-server/commit/297b166be60fe13144084eed4b25201ead03204a (opens in a new tab)
- github.com/nats-io/nats-server/commit/34b09657bb596d5f850eaa5cfc97ea6b2f989a97 (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)