NATS Server: Subscribe Authz Bypass via Wildcard-Overlap
Summary
| CVE | CVE-2026-58252 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-08 20:16:54 UTC |
| Updated | 2026-07-08 20:16:54 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 6.5 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Problem Types: CWE-285 | CWE-285 CWE-285: Improper Authorization
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| 3.1 | CNA | DECLARED | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Nats-io | Nats-server | affected < 2.11.16 | Not specified |
| CNA | Nats-io | Nats-server | affected >= 2.12.0-preview.1, < 2.12.7 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/nats-io/nats-server/releases/tag/v2.12.7 | [email protected] | github.com | |
| github.com/nats-io/nats-server/releases/tag/v2.14.0 | [email protected] | github.com | |
| github.com/nats-io/nats-server/commit/8ced85a11497f86704a95d960281480ce0... | [email protected] | github.com | |
| github.com/nats-io/nats-server/releases/tag/v2.11.16 | [email protected] | github.com | |
| github.com/nats-io/nats-server/commit/a42a6d1e258eb5c3a2190384d31965a4b7... | [email protected] | github.com | |
| github.com/nats-io/nats-server/security/advisories/GHSA-wh7g-5m82-pmhr | [email protected] | github.com | |
| github.com/nats-io/nats-server/commit/e611ca9604697b02d8f22beb76037400a9... | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.