CVE-2026-58252 NATS Server: Subscribe Authz Bypass via Wildcard-Overlap

Medium 6.5 Published Updated

Authenticated users can bypass subject authorization rules via wildcard overlaps to read restricted messages 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-58252?

CVE-2026-58252 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 could receive messages on denied subjects when a wildcard subscription overlapped with a configured wildcard deny rule but was not a subset of it, and queue subscriptions could also affect delivery to legitimate queue consumers. 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-58252?

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-58252?

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-58252 being exploited?

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

Sources

Also known as AZL-92253, BIT-nats-2026-58252, DEBIAN-CVE-2026-58252, GHSA-wh7g-5m82-pmhr, JLSEC-2026-1152, MINI-q3w6-jpxw-hgc4 and 2 more.

Is CVE-2026-58252 in your software?

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

Check your SBOMs for free