# GO-2026-7010: NATS Server MQTT retained messages and QoS replay bypass subscription deny rules in github.com/nats-io/nats-server/v2

- Database: Go
- Also known as: BIT-NATS-2026-58209
- Published: 2026-11-23
- Modified: 2026-11-23

## Tracked as

- [CVE-2026-58209](https://cve.now/CVE-2026-58209.md): NATS Server authorization bypass in MQTT retained message delivery

## Also published as

- [GHSA-7QMQ-8CC4-HXWG](https://cve.now/GHSA-7QMQ-8CC4-HXWG.md) (GitHub)

## Affected versions

- github.com/nats-io/nats-server/v2 (Go): fixed in 2.12.12; from 2.14.0-RC.1, fixed in 2.14.3

## Description

NATS Server MQTT retained messages and QoS replay bypass subscription deny rules in github.com/nats-io/nats-server/v2

## References

- https://github.com/nats-io/nats-server/security/advisories/GHSA-7qmq-8cc4-hxwg
- https://nvd.nist.gov/vuln/detail/CVE-2026-58209
- https://github.com/nats-io/nats-server/commit/181b1f51f40b9954c57e9d478e051fb257679356
- https://github.com/nats-io/nats-server/commit/1c429b6fdc5afd4188cc5faf1127f6334896cd87
- https://github.com/nats-io/nats-server/releases/tag/v2.12.12
- https://github.com/nats-io/nats-server/releases/tag/v2.14.3

Page: https://cve.now/GO-2026-7010

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
