CVE-2026-58251 NATS Server: Queue Subscribe Authz Bypass

Medium 6.5 Published Updated

Authenticated users can bypass subscription deny permissions via queue subscriptions, allowing unauthorized message access in NATS Server.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-58251?

CVE-2026-58251 is a medium-severity authentication bypass vulnerability in nats-io nats-server, published on 8 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-285

Which versions are affected by CVE-2026-58251?

1 open source package ship an affected version, including nats. It affects 1 product.

PackageAffectedFixed in
nats BitnamiAll versions2.11.16, 2.12.7

Products include Linuxfoundation Nats-Server.

How do I fix CVE-2026-58251?

Upgrade nats to a fixed version for your release line: 2.11.16 or 2.12.7.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2026-58251 being exploited?

There is no known exploitation of CVE-2026-58251 in the wild and no public exploit code.

Sources

Also known as AZL-92244, BIT-nats-2026-58251, DEBIAN-CVE-2026-58251, GHSA-jx8g-9g95-6322, JLSEC-2026-1151, MINI-6x3w-g856-jcc2 and 2 more.

Is CVE-2026-58251 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free