RabbitMQ: Passive queue/exchange declaration bypasses authorization checks, leaking queue metadata to unprivileged users
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-57221
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 20:29 UTC · Revision 1
Source evidence
RabbitMQ: Passive queue/exchange declaration bypasses authorization checks, leaking queue metadata to unprivileged users
core-osv · Original sourcePublished 10 Jul 2026, 20:24 UTC
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.
osv:CVE-2026-57221
Complete source record
{
"id": "a4ddce2616e7d4321bfc1a6da6527d932b9bfe98a07cf65358f144a3ec559f36",
"url": "https://osv.dev/vulnerability/CVE-2026-57221",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "RabbitMQ: Passive queue/exchange declaration bypasses authorization checks, leaking queue metadata to unprivileged users",
"summary": "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.",
"evidence": "osv:CVE-2026-57221",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-57221",
"aliases": [
"CVE-2026-57221",
"GHSA-9q2j-2hq8-22r2"
],
"metrics": [
{
"type": "CVSS_V4",
"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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/rabbitmq/rabbitmq-server",
"type": "GIT",
"events": [
{
"introduced": "c73bcd30fcadd77f3ec354c686f969fc971ac940"
},
{
"fixed": "8a56c37f099a7bf609a555de3f0ff8ed23964d20"
},
{
"fixed": "709a14e49e06c138a8cd672c9809ca34a2767962"
},
{
"fixed": "dc3d1aa4f5c3331a425ee599b45be9423a2e83fc"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:broadcom:rabbitmq_server:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.13.0"
},
{
"fixed": "4.2.6"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "709a14e49e06c138a8cd672c9809ca34a2767962"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "dc3d1aa4f5c3331a425ee599b45be9423a2e83fc"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "8a56c37f099a7bf609a555de3f0ff8ed23964d20"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v4.2.6"
}
]
}
}
],
"versions": [
"v4.2.5",
"v4.2.4",
"v4.2.3",
"v4.2.2",
"v4.2.1",
"v4.2.0",
"v4.2.0-rc.1",
"v4.2.0-beta.4",
"v4.2.0-beta.3",
"v4.2.0-beta.2",
"v4.2.0-beta.1",
"v4.1.0-beta.4",
"v4.1.0-beta.3",
"v4.1.0-beta.2",
"v4.1.0-beta.1",
"v4.1.0-alpha",
"v3.13.0-rc.6",
"v3.13.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-57221.json"
}
}
],
"modified": "2026-10-28T02:30:23.391843389Z",
"provider": "osv",
"references": [
"https://github.com/rabbitmq/rabbitmq-server/releases/tag/v4.2.6",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57221.json",
"https://github.com/rabbitmq/rabbitmq-server/security/advisories/GHSA-9q2j-2hq8-22r2",
"https://nvd.nist.gov/vuln/detail/CVE-2026-57221",
"https://github.com/rabbitmq/rabbitmq-server/commit/709a14e49e06c138a8cd672c9809ca34a2767962",
"https://github.com/rabbitmq/rabbitmq-server/commit/dc3d1aa4f5c3331a425ee599b45be9423a2e83fc",
"https://github.com/rabbitmq/rabbitmq-server/pull/16085",
"https://github.com/rabbitmq/rabbitmq-server/pull/16090"
],
"provider_metadata": {
"cwe_ids": [
"CWE-862"
],
"cna_assigner": "GitHub_M",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"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",
"strategy": "StringRangeExpression"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57221.json"
}
},
"related_cves": [
{
"value": "CVE-2026-57221",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 489822,
"published_at": "2026-07-10T20:24:27.921+00:00"
}