Vulnerability · Published Jul 8, 2026 · Assigned by GitHub_M
CVE-2026-58209NATS Server: MQTT retained and QoS replay bypass subscribe deny filters
Medium 4.3
In plain English
A medium-severity incorrect authorization in nats-server from nats-io. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
NATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.14.3 and 2.12.12, MQTT retained message delivery and QoS1+ durable replay could deliver messages whose original topics matched a subscriber configured subscribe deny rule because these delivery paths did not consistently recheck the concrete original topic before sending the MQTT PUBLISH to the subscriber. This issue is fixed in versions 2.14.3 and 2.12.12.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | nats-server | no fix listed | DEBIAN-CVE-2026-58209 |
| Debian:13 | nats-server | no fix listed | DEBIAN-CVE-2026-58209 |
| Debian:14 | nats-server | 2.14.3-1 | DEBIAN-CVE-2026-58209 |
| Ubuntu:24.04:LTS | nats-server | no fix listed | UBUNTU-CVE-2026-58209 |
| Ubuntu:25.10 | nats-server | no fix listed | UBUNTU-CVE-2026-58209 |
| Ubuntu:26.10 | nats-server | no fix listed | UBUNTU-CVE-2026-58209 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| nats-io | nats-server | < 2.12.12>= 2.14.0-RC.1, < 2.14.3 |
Weakness: CWE-863 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
References
- https://github.com/nats-io/nats-server/security/advisories/GHSA-7qmq-8cc4-hxwg x_refsource_CONFIRM
- https://github.com/nats-io/nats-server/commit/181b1f51f40b9954c57e9d478e051fb257679356 x_refsource_MISC
- https://github.com/nats-io/nats-server/commit/1c429b6fdc5afd4188cc5faf1127f6334896cd87 x_refsource_MISC
- https://github.com/nats-io/nats-server/releases/tag/v2.12.12 x_refsource_MISC
- https://github.com/nats-io/nats-server/releases/tag/v2.14.3 x_refsource_MISC