CVE-2026-58252 NATS Server: Subscribe Authz Bypass via Wildcard-Overlap
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.
| Package | Affected | Fixed in |
|---|---|---|
nats Bitnami | All versions | 2.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.
Other vulnerabilities in nats-io nats-server
- CVE-2022-28357 NATS nats-server allows directory traversal via unintended path to a management action
- CVE-2026-58253 NATS Server: Route API Auth Bypass
- CVE-2022-24450 Incorrect Authorization in NATS nats-server
- CVE-2026-33216 NATS has MQTT plaintext password disclosure
- CVE-2026-58207 NATS Server: Remote crash via integer overflow in Connz pagination
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.