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

Home › CVE › Go

CVE-2026-58209 — NATS Server MQTT retained messages and QoS replay bypass subscription deny rules

Medium · CVSS 4.3EPSS 0.3% 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

Research article

NATS Server MQTT Authorization Bypass Vulnerability (CVE-2026-58209)

CVECVE-2026-58209
Vendor and productgo:github.com/nats-io/nats-server/v2
PublishedNovember 21, 2026 17:20 UTC
Research cut-offNovember 21, 2026 17:05 UTC
Sources reviewed5: NVD record (last modified 2026-10-25); CISA KEV catalog; GitHub advisory (2026-11-20); vendor advisory page (github.com); FIRST EPSS (2026-11-20)

Executive summary

CVE-2026-58209 affects the nats-server MQTT implementation, allowing unauthorized message delivery due to incorrect authorization checks [1]. The CVSS 3.1 score is 4.3 MEDIUM, with a vector of AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N, scored by security-advisories@github.com [1]. The vulnerability impacts versions < 2.12.12 and >= 2.14.0-RC.1, < 2.14.3 [1]. The reviewed sources do not report exploitation [2]. The main action is to upgrade to a fixed version [3].

Key points

  • CVE-2026-58209 affects the MQTT implementation of nats-server, allowing unauthorized message delivery [1].
  • The CVSS 3.1 score is 4.3 MEDIUM, with a vector of AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N, scored by security-advisories@github.com [1].
  • The vulnerability impacts versions < 2.12.12 and >= 2.14.0-RC.1, < 2.14.3 [1].
  • The reviewed sources do not report exploitation [2].
  • The main action is to upgrade to a fixed version [3].

Vulnerability identification

FieldValue
CVE IDCVE-2026-58209 [1]
Vendornats-io [1]
Productnats-server [1]
CWECWE-863 (Incorrect Authorization) [1]
CVSS 3.14.3 MEDIUM, scored by security-advisories@github.com [1]
Published2026-07-08T20:16:53 [1]
Last Modified2026-10-25T17:10:00 [1]
Record StatusAnalyzed [1]

Vulnerability description

The flaw relates to how NATS Server handles MQTT retained messages and QoS1+ durable replay, where messages that should be restricted by deny rules are still transmitted to subscribers [3]. The issue arises because the MQTT delivery process fails to re-evaluate the original topic against deny rules before sending a PUBLISH message to a subscriber [3].

Attack surface and exploitation prerequisites

The CVSS vector indicates that the vulnerability requires network access (AV:N), low privilege (PR:L), and no user interaction (UI:N). It has a limited impact on confidentiality (C:L) with no effect on integrity or availability [1].

Impact analysis

The CVSS score highlights that the vulnerability primarily affects confidentiality, with no impact on system integrity or availability [1]. The advisory explains that this flaw enables messages that should be blocked to reach subscribers [3].

Affected products and versions

Affected VersionFixed Version
< 2.12.122.12.12 [1]
≥ 2.14.0-RC.1, < 2.14.32.14.3 [1]

Exploitation and threat intelligence status

CVE-2026-58209 is not included in the CISA KEV catalog as of 2026-11-21 [2]. The EPSS score for this vulnerability is 0.0034 (0.34%), with a percentile of 0.2847 [5]. This score is a statistical estimate and does not confirm active exploitation [5].

Detection and exposure assessment

Users can assess their exposure by verifying whether their installed version of nats-server falls within the vulnerable range: < 2.12.12 or ≥ 2.14.0-RC.1, < 2.14.3 [1].

Remediation

The vulnerability is resolved in versions v2.14.3 and v2.12.12 [3]. Deployments using MQTT are not protected by any known workaround and must be upgraded to a fixed release [3].

Remediation checklist

  1. Upgrade nats-server to version 2.12.12 or 2.14.3 to resolve the vulnerability [3].
  2. Check if your deployment uses MQTT and ensure it is upgraded to a fixed version [3].
  3. Verify that all affected systems are patched and no longer running vulnerable versions (general guidance, not from the sources).

Evidence gaps

  • The sources do not describe the affected component's internals.
  • The sources do not mention a workaround.
  • The sources do not provide detection steps beyond version checking.
  • The sources do not list any fixed version for non-MQTT deployments.
  • The sources do not describe the attack lifecycle or scenarios.

References

  1. CVE-2026-58209 record. NIST National Vulnerability Database (NVD), 2026-10-25. https://nvd.nist.gov/vuln/detail/CVE-2026-58209. Accessed 2026-11-21. CVE record with CVSS scores, affected versions, and CPE configurations
  2. Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-21. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-21. CISA KEV catalog status indicating no exploitation is reported
  3. GHSA-7qmq-8cc4-hxwg / CVE-2026-58209 — NATS Server MQTT retained messages and QoS replay bypass subscription deny rules. GitHub Security Advisory Database, 2026-11-20. https://github.com/advisories/GHSA-7qmq-8cc4-hxwg. Accessed 2026-11-21. GitHub advisory details on the vulnerability, affected versions, and remediation
  4. Vendor advisory page (github.com). github.com. https://github.com/nats-io/nats-server/security/advisories/GHSA-7qmq-8cc4-hxwg. Accessed 2026-11-21. Vendor advisory page with additional details on the vulnerability and affected versions
  5. EPSS score for CVE-2026-58209. FIRST, 2026-11-20. https://api.first.org/data/v1/epss?cve=CVE-2026-58209. Accessed 2026-11-21. EPSS score and its statistical nature

Written with AI assistance from the 5 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

Severity breakdown

Medium · 4.3 CVSS 3.1 base score from the CNA (github.com)

An attacker with a normal user account can exploit this over the network, without any user action.

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

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

Weakness

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 MQTT support includes retained messages and QoS1+ durable delivery. NATS subscription permissions can allow broad wildcard subscriptions while denying more sensitive subjects.

Problem Description

MQTT retained message delivery and QoS1+ durable replay could deliver messages whose original topics matched a subscriber's configured subscribe deny rules.

Normal live delivery applied the delivery-time deny check. These MQTT delivery paths did not consistently recheck the concrete original topic before sending the MQTT PUBLISH to the subscriber.

The issue affects MQTT subscribers with broad wildcard subscribe permissions where more specific topics are denied. Normal live delivery can be blocked while retained or replayed delivery still sends the denied topic.

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

No known workaround for deployments that require MQTT. Upgrade to a fixed release. Deployments not using MQTT are not affected.

References

Source: GHSA-7qmq-8cc4-hxwg / CVE-2026-58209, GitHub Advisory Database, licensed CC BY 4.0.

Affected

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

Frequently asked questions

What is CVE-2026-58209?

CVE-2026-58209 affects the nats-server MQTT implementation, allowing unauthorized message delivery due to incorrect authorization checks. The CVSS 3.1 score is 4.3 MEDIUM, with a vector of AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N, scored by security-advisories@github.com. The vulnerability impacts versions < 2.12.12 and >= 2.14.0-RC.1, < 2.14.3. The reviewed sources do not report exploitation. Weakness type: Incorrect Authorization (CWE-863).

How severe is CVE-2026-58209?

CVE-2026-58209 has a CVSS 3.1 base score of 4.3 (medium), from the CNA (github.com). An attacker with a normal user account can exploit this over the network, without any user action.

Is CVE-2026-58209 being exploited?

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

Which versions are affected by CVE-2026-58209?

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-58209?

Upgrade nats-server to version 2.12.12 or 2.14.3 to resolve the vulnerability. Check if your deployment uses MQTT and ensure it is upgraded to a fixed version. Verify that all affected systems are patched and no longer running vulnerable versions (general guidance, not from the sources).

Timeline & sources

References

Related vulnerabilities & news