{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.11.16"
              },
              {
                "introduced": "2.12.0"
              },
              {
                "fixed": "2.12.7"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "8a6b7cd9ac62105dcc9db70e589932d3b2548b36"
            },
            {
              "introduced": "fc6ec648d806652d282d2f0edb6cb9f22c895572"
            },
            {
              "fixed": "b4ce0f990e42bc6f24df0c40eafbc4c8a2ac5b6c"
            },
            {
              "fixed": "8ced85a11497f86704a95d960281480ce037386b"
            },
            {
              "fixed": "a42a6d1e258eb5c3a2190384d31965a4b715e854"
            },
            {
              "fixed": "e611ca9604697b02d8f22beb76037400a9cf72e6"
            },
            {
              "fixed": "0cbd01caf8f29011c26273ff7662addd3830396a"
            }
          ],
          "repo": "https://github.com/nats-io/nats-server",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-wh7g-5m82-pmhr"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-285"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58252.json"
  },
  "details": "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.",
  "id": "CVE-2026-58252",
  "modified": "2026-07-16T03:31:15.811672312Z",
  "published": "2026-07-08T19:46:10.380Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/nats-io/nats-server/releases/tag/v2.11.16"
    },
    {
      "type": "WEB",
      "url": "https://github.com/nats-io/nats-server/releases/tag/v2.12.7"
    },
    {
      "type": "WEB",
      "url": "https://github.com/nats-io/nats-server/releases/tag/v2.14.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58252.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/nats-io/nats-server/security/advisories/GHSA-wh7g-5m82-pmhr"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-58252"
    },
    {
      "type": "FIX",
      "url": "https://github.com/nats-io/nats-server/commit/8ced85a11497f86704a95d960281480ce037386b"
    },
    {
      "type": "FIX",
      "url": "https://github.com/nats-io/nats-server/commit/a42a6d1e258eb5c3a2190384d31965a4b715e854"
    },
    {
      "type": "FIX",
      "url": "https://github.com/nats-io/nats-server/commit/e611ca9604697b02d8f22beb76037400a9cf72e6"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "NATS Server: Subscribe Authz Bypass via Wildcard-Overlap"
}