{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:broadcom:rabbitmq_server:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "3.13.0"
              },
              {
                "fixed": "4.2.6"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "c73bcd30fcadd77f3ec354c686f969fc971ac940"
            },
            {
              "fixed": "8a56c37f099a7bf609a555de3f0ff8ed23964d20"
            },
            {
              "fixed": "709a14e49e06c138a8cd672c9809ca34a2767962"
            },
            {
              "fixed": "dc3d1aa4f5c3331a425ee599b45be9423a2e83fc"
            }
          ],
          "repo": "https://github.com/rabbitmq/rabbitmq-server",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-9q2j-2hq8-22r2"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57221.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "4.1.0"
          },
          {
            "fixed": "4.1.11"
          },
          {
            "introduced": "4.0.0"
          },
          {
            "fixed": "4.0.21"
          },
          {
            "introduced": "3.13.0"
          },
          {
            "fixed": "3.13.15"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "RabbitMQ is a messaging and streaming broker. Prior to 3.13.15, 4.0.20, 4.1.11, and 4.2.6, RabbitMQ does not perform authorization checks on passive queue.declare and exchange.declare AMQP 0-9-1 operations, allowing any authenticated user who can connect to a virtual host to enumerate queue and exchange names and read queue message and consumer counts. This issue is fixed in versions 3.13.15, 4.0.20, 4.1.11, and 4.2.6.",
  "id": "CVE-2026-57221",
  "modified": "2026-07-16T03:30:54.605494102Z",
  "published": "2026-07-10T20:24:27.921Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/rabbitmq/rabbitmq-server/releases/tag/v4.2.6"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57221.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/rabbitmq/rabbitmq-server/security/advisories/GHSA-9q2j-2hq8-22r2"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-57221"
    },
    {
      "type": "FIX",
      "url": "https://github.com/rabbitmq/rabbitmq-server/commit/709a14e49e06c138a8cd672c9809ca34a2767962"
    },
    {
      "type": "FIX",
      "url": "https://github.com/rabbitmq/rabbitmq-server/commit/dc3d1aa4f5c3331a425ee599b45be9423a2e83fc"
    },
    {
      "type": "FIX",
      "url": "https://github.com/rabbitmq/rabbitmq-server/pull/16085"
    },
    {
      "type": "FIX",
      "url": "https://github.com/rabbitmq/rabbitmq-server/pull/16090"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "RabbitMQ: Passive queue/exchange declaration bypasses authorization checks, leaking queue metadata to unprivileged users"
}