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.
Published: 2026-07-08
Score: 4.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises in NATS Server’s handling of MQTT retained messages and QoS1+ durable replay. Because the server does not re‑evaluate the concrete original topic before sending a PUBLISH to a subscriber, messages whose original topics match a subscriber’s deny rule can still be delivered. This bypass undermines the intended filtering and allows messages that should be blocked to reach recipients. The flaw is an Access Control Weakness (CWE-863) that results in unintended message delivery.

Affected Systems

The impacted product is nats‑io NATS Server. Versions older than 2.14.3 and 2.12.12 are vulnerable. Upgrading to 2.14.3, 2.12.12, or any later release resolves the issue.

Risk and Exploitability

With a CVSS score of 4.3 the vulnerability is of moderate severity. The EPSS score is less than 1%, indicating a very low exploitation probability, and the vulnerability is not listed in CISA's KEV catalog. The likely attack vector is remote, via network access to the broker, by publishing a retained MQTT message or triggering a QoS replay that contains a topic matching a subscriber’s deny rule. The exploit does not provide direct code execution or data exfiltration, but it allows an attacker to bypass configured access controls and deliver unsolicited messages to subscribers.

Generated by OpenCVE AI on July 29, 2026 at 13:32 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade NATS Server to version 2.14.3, 2.12.12, or any later release.
  • If immediate upgrading is not possible, disable MQTT retained message delivery and QoS replay features through the server configuration.
  • Restrict publishing of retained messages and QoS replay to authorized users by tightening authentication and authorization policies and reviewing subscription deny rules.

Generated by OpenCVE AI on July 29, 2026 at 13:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 10 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
First Time appeared Nats
Nats nats Server
Vendors & Products Nats
Nats nats Server

Thu, 09 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 08 Jul 2026 20:15:00 +0000

Type Values Removed Values Added
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.
Title NATS Server: MQTT retained and QoS replay bypass subscribe deny filters
Weaknesses CWE-863
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}


Subscriptions

Nats Nats Server
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-09T13:31:07.445Z

Reserved: 2026-06-29T17:09:25.872Z

Link: CVE-2026-58209

cve-icon Vulnrichment

Updated: 2026-07-09T13:30:52.376Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T13:45:02Z

Weaknesses