{"id":"CVE-2026-58251","title":"NATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system","summary":"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 us…","severity":"medium","cvss":6.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","cwe":["CWE-285"],"vendor":"linuxfoundation","product":"nats-server","affected":["nats-server < 2.11.16","nats-server >= 2.12.0, < 2.12.7"],"patched":["nats-server 2.12.7"],"published":"2026-07-08","updated":"2026-07-13","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-58251","references":[{"url":"https://github.com/nats-io/nats-server/commit/013586288078def45a6788096924eb4d150db65c","label":"security-advisories@github.com"},{"url":"https://github.com/nats-io/nats-server/commit/79c2f6e9ff87f594596337b6427dda85c38d1fe1","label":"security-advisories@github.com"},{"url":"https://github.com/nats-io/nats-server/commit/b9ffb63b85e7db3d25a13b2e234f5f7f7c13164d","label":"security-advisories@github.com"},{"url":"https://github.com/nats-io/nats-server/releases/tag/v2.11.16","label":"security-advisories@github.com"},{"url":"https://github.com/nats-io/nats-server/releases/tag/v2.12.7","label":"security-advisories@github.com"},{"url":"https://github.com/nats-io/nats-server/releases/tag/v2.14.0","label":"security-advisories@github.com"},{"url":"https://github.com/nats-io/nats-server/security/advisories/GHSA-jx8g-9g95-6322","label":"security-advisories@github.com"}],"tags":["nvd"],"epss":0.00463,"epssPercentile":0.39237,"ingestedAt":"2026-07-13T15:27:34.282Z","slug":"CVE-2026-58251","body":"## Overview\n\nNATS 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.\n\n## Affected\n\n- `nats-server < 2.11.16`\n- `nats-server >= 2.12.0, < 2.12.7`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `nats-server 2.12.7`","depth":"sunlit","depthScore":36,"depthScoreParts":{"impact":35.8,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}