The RabbitMQ team published six security advisories on November 27, 2026, and several include full proof-of-concept details. The most severe is a RabbitMQ authentication bypass rated critical. It lets anonymous users mint privileged OAuth2 tokens through the management plugin. RabbitMQ 4.4.1 fixes all six.
TL;DR
The flaws include the token-minting bypass, a cross-site request forgery (CSRF) in the Management API and an LDAP regex injection. The advisories publish reproduction steps and a CSRF exploit script. No exploitation in the wild has been reported, and no CVE IDs have been assigned yet.
Why It Matters
The Exploit Details Are Public
The RabbitMQ security advisories are unusually detailed. The CSRF advisory ships a runnable script, and others cite exact source lines and test results. As a result, attackers can study each bug without reversing the patch.
Message Brokers Sit at the Core
RabbitMQ moves data between services in many enterprise systems. A takeover lets attackers read, inject or drop messages. Moreover, a minted admin token works on both the management API and AMQP listeners.
How the Attacks Work
Anonymous OAuth2 Token Minting (Critical)
RabbitMQ 4.4.0 exposes an OAuth2 token-endpoint proxy “without any caller authentication.” The proxy adds the broker’s configured client secret to any request it relays. So the broker “acts as a confidential OAuth2 client on behalf of any anonymous network peer.”
With a permissive identity provider, an attacker can request a token with any scope, including administrator. This RabbitMQ authentication bypass only affects deployments that use the documented OAuth2 setup for the management UI.
RabbitMQ CSRF in the Management API (High)
The Management API uses HTTP Basic authentication with no anti-CSRF tokens. It also accepts JSON bodies sent as text/plain, which skips browser CORS preflight checks. Therefore, a malicious website can make a logged-in admin’s browser publish or consume messages.
LDAP Regex Injection (Medium)
The LDAP backend inserts usernames into ACL regular expressions without escaping them. A username containing regex characters can widen its own permissions to other users’ queues. The project had already fixed this pattern in two other backends, but missed LDAP.
Other Fixes
- Expired JWTs (Low): with the auth cache plugin, expired OAuth tokens stay valid for up to 15 seconds.
- Dead-letter bypass (Low): dead-lettering skips topic-level permission checks.
- AMQP 1.0 crash (Medium): a crafted message annotation crashes consumer sessions and dead-letter workers.
Who Found the Bugs
Independent researchers reported most of the flaws. They include shanz0ng (token minting), Pierpaolo1223 (RabbitMQ CSRF) and titaniumtushar (LDAP). Anthropic’s OSS Scanner found the AMQP 1.0 crash, according to its advisory.
Affected Versions
- RabbitMQ 4.4.0: fixed in 4.4.1
- RabbitMQ 4.3.x: fixed in 4.3.8
- RabbitMQ 4.2.x: fixed in 4.2.13
- RabbitMQ 4.1.x: fixed in 4.1.18
- RabbitMQ 3.13.x: fixed in 3.13.22
The token-minting bug affects 4.2.9 and later only. The dead-letter bypass reaches back to 3.7.0.
Patch and Mitigation
Upgrade to RabbitMQ 4.4.1 or the fixed release for your branch. Until then, consider these steps:
- Block public access to the management plugin, especially its OAuth2 endpoints.
- Restrict your OAuth2 provider so the RabbitMQ client cannot get admin scopes through client_credentials or password grants.
- Avoid browsing untrusted sites while logged in to the management UI.
- Audit LDAP usernames for regex characters such as | and *.
Finally, rotate OAuth2 client secrets if your management plugin was reachable from untrusted networks. That limits damage from any RabbitMQ authentication bypass abuse that went unnoticed.
Support Our Threat Intelligence
Find our vulnerability reports and weekly recaps helpful? Support our work today and unlock a 100% ad-free reading experience!