{"id":"CVE-2026-58252","state":"PUBLISHED","title":"NATS Server: Subscribe Authz Bypass via Wildcard-Overlap","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.","publishedAt":"2026-07-08T19:46:10.380Z","updatedAt":"2026-07-09T13:34:28.023Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["nats-io nats-server"],"affected":[{"vendor":"nats-io","product":"nats-server","versions":[{"version":"< 2.11.16","status":"affected"},{"version":">= 2.12.0-preview.1, < 2.12.7","status":"affected"}]}],"references":["https://github.com/nats-io/nats-server/security/advisories/GHSA-wh7g-5m82-pmhr","https://github.com/nats-io/nats-server/commit/8ced85a11497f86704a95d960281480ce037386b","https://github.com/nats-io/nats-server/commit/a42a6d1e258eb5c3a2190384d31965a4b715e854","https://github.com/nats-io/nats-server/commit/e611ca9604697b02d8f22beb76037400a9cf72e6","https://github.com/nats-io/nats-server/releases/tag/v2.11.16","https://github.com/nats-io/nats-server/releases/tag/v2.12.7","https://github.com/nats-io/nats-server/releases/tag/v2.14.0"],"weaknesses":["CWE-285"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/58xxx/CVE-2026-58252.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-58252","state":"PUBLISHED","datePublished":"2026-07-08T19:46:10.380Z","dateUpdated":"2026-07-09T13:34:28.023Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-29T21:54:30.330Z"},"containers":{"cna":{"title":"NATS Server: Subscribe Authz Bypass via Wildcard-Overlap","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"nats-io","product":"nats-server","versions":[{"version":"< 2.11.16","status":"affected"},{"version":">= 2.12.0-preview.1, < 2.12.7","status":"affected"}]}],"references":[{"url":"https://github.com/nats-io/nats-server/security/advisories/GHSA-wh7g-5m82-pmhr","name":"https://github.com/nats-io/nats-server/security/advisories/GHSA-wh7g-5m82-pmhr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nats-io/nats-server/commit/8ced85a11497f86704a95d960281480ce037386b","name":"https://github.com/nats-io/nats-server/commit/8ced85a11497f86704a95d960281480ce037386b","tags":["x_refsource_MISC"]},{"url":"https://github.com/nats-io/nats-server/commit/a42a6d1e258eb5c3a2190384d31965a4b715e854","name":"https://github.com/nats-io/nats-server/commit/a42a6d1e258eb5c3a2190384d31965a4b715e854","tags":["x_refsource_MISC"]},{"url":"https://github.com/nats-io/nats-server/commit/e611ca9604697b02d8f22beb76037400a9cf72e6","name":"https://github.com/nats-io/nats-server/commit/e611ca9604697b02d8f22beb76037400a9cf72e6","tags":["x_refsource_MISC"]},{"url":"https://github.com/nats-io/nats-server/releases/tag/v2.11.16","name":"https://github.com/nats-io/nats-server/releases/tag/v2.11.16","tags":["x_refsource_MISC"]},{"url":"https://github.com/nats-io/nats-server/releases/tag/v2.12.7","name":"https://github.com/nats-io/nats-server/releases/tag/v2.12.7","tags":["x_refsource_MISC"]},{"url":"https://github.com/nats-io/nats-server/releases/tag/v2.14.0","name":"https://github.com/nats-io/nats-server/releases/tag/v2.14.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-285","lang":"en","description":"CWE-285: Improper Authorization","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-08T19:46:54.572Z"},"source":{"advisory":"GHSA-wh7g-5m82-pmhr","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-09T13:34:18.644909Z","id":"CVE-2026-58252","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-09T13:34:28.023Z"}}]}}}