CVE-2026-58251

NATS Server: Queue Subscribe Authz Bypass

Published Jul 8, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
NATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.14.0, 2.12.7, and 2.11.16, an authenticated user with subscription deny permissions could bypass a plain subject deny rule by using a queue subscription, because queue-specific deny evaluation could override the plain subject deny result when the queue name itself was not denied. This issue is fixed in versions 2.14.0, 2.12.7, and 2.11.16.

Analysis

AI-generated

Technical impact

The vulnerability allows authenticated users with subscription deny permissions to subvert plain subject deny rules by using queue subscriptions with a queue that is not denied. The queue subscription can access messages on a subject that should be blocked. This creates an authorization bypass that lets an attacker read or otherwise consume data they should not be able to reach. The weakness is an access control flaw (CWE-285).

Affected Systems

Affected versions are NATS Server releases prior to 2.14.0, 2.12.7, and 2.11.16. These releases support queue subscriptions and ACLs that can be exploited. Upgrading to any of the fixed releases removes the bypass.

Risk and Exploitability

The CVSS score of 6.5 indicates a medium severity impact. The EPSS score is <1%, indicating a very low but nonzero likelihood of exploitation, and the vulnerability is not listed in the CISA KEV catalog. Attackers must be authenticated to the server and possess the appropriate ACL permissions to trigger the bypass, so exploitation is limited to environments where such permissions are granted. Nonetheless, this flaw compromises authorization controls and can expose confidential data.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade NATS Server to version v2.14.0, v2.12.7, or v2.11.16 to apply the fix.
  • If an upgrade cannot be applied immediately, remove or restrict subscription deny permissions that enable queue subscriptions to sensitive subjects.
  • Consider disabling queue subscriptions entirely for subjects that require strict access control or implement additional subject‑level deny rules that explicitly cover queue names.

Generated by OpenCVE AI on July 31, 2026 at 13:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Nats
Nats nats Server
Vendors & Products Nats
Nats nats Server
Type Values Removed Values Added
Metrics ssvc

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

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.0, 2.12.7, and 2.11.16, an authenticated user with subscription deny permissions could bypass a plain subject deny rule by using a queue subscription, because queue-specific deny evaluation could override the plain subject deny result when the queue name itself was not denied. This issue is fixed in versions 2.14.0, 2.12.7, and 2.11.16.
Title NATS Server: Queue Subscribe Authz Bypass
Weaknesses CWE-285
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-285

    Improper Authorization

  • CWE-551

    Incorrect Behavior Order: Authorization Before Parsing and Canonicalization

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 9, 2026, 1:40 PM
Reserved
Jun 29, 2026, 9:54 PM
Status
Analyzed
Published
Jul 8, 2026, 8:16 PM
Modified
Oct 25, 2026, 5:10 PM
Severity
Moderate
Public date
Jul 8, 2026, 7:40 PM