RabbitMQ's CORS configuration API contains a semantic trap that turns the intuitive operator solution to CORS errors directly into a credential reflection vulnerability. When operators encounter CORS blocking issues in the management UI, the most natural 'fix' is setting cors_allow_origins to something permissive. But RabbitMQ treats `
CVE-2026-66070
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedRabbitMQ is a messaging and streaming broker. Prior to versions 3.13.17, 4.0.22, 4.1.13, and 4.2.6, match_origin/1 returned the bare reflected Origin and allowed credentials even when the wildcard "" was configured, so the response echoed the attacker's origin together with Access-Control-Allow-Credentials. The affected code is rabbit_mgmt_cors.erl. When the management plugin is configured with a wildcard CORS origin (cors_allow_origins = ""), the handler reflects the request Origin back in Access-Control-Allow-Origin and also sends Access-Control-Allow-Credentials: true. A malicious web page that a signed-in administrator visits can then use that administrator's cached HTTP Basic credentials to issue authenticated, state-changing requests to the management API. Preconditions include The management plugin is configured with the wildcard cors_allow_origins = "*", which is an explicit operator misconfiguration A target administrator has a cached HTTP Basic-auth session in the browser. This issue is fixed in versions 3.13.17, 4.0.22, 4.1.13, and 4.2.6.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysisA detailed technical summary for this CVE is being prepared.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 3.13.0, < 3.13.17>= 4.0.0, < 4.0.22>= 4.1.0, < 4.1.13>= 4.2.0, < 4.2.6CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped3.13.174.0.224.1.13
3.13.17, 4.0.22, 4.1.13, or 4.2.6 (choose the appropriate version based on your current major branch)
- 1. Backup your current RabbitMQ configuration files (rabbitmq.conf, advanced.conf, and enabled plugins)
- 2. Identify your current RabbitMQ version using `rabbitmqctl status` or checking the management UI
- 3. If running version 3.13.x: upgrade to version 3.13.17 or later
- 4. If running version 4.0.x: upgrade to version 4.0.22 or later
- 5. If running version 4.1.x: upgrade to version 4.1.13 or later
- 6. If running version 4.2.x: upgrade to version 4.2.6 or later
- 7. After upgrade, verify the management plugin loads without errors
- 8. Test CORS functionality to confirm the fix is working correctly
Generated from the published advisory — verify against the referenced sources before acting.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-66070 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesRabbitMQ's CORS configuration API contains a semantic trap that turns the intuitive operator solution to CORS errors directly into a credential reflection vulnerability. When operators encounter CORS blocking issues in the management UI, the most natural 'fix' is setting `cors_allow_origins` to something permissive. But RabbitMQ treats `
Practitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-66070 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data