Threat Intelligence

Critical RabbitMQ Flaw Lets Anyone Mint Admin Tokens Without a Password

The Hacker News · 30 Nov 2026
Key Takeaway If you run RabbitMQ with OAuth2 login for the management interface, upgrade to 4.4.1 or 4.3.8 and keep the management port off untrusted networks.

A critical vulnerability in the RabbitMQ message broker lets anyone who can reach the management port mint privileged access tokens without credentials. It affects deployments that use the management plugin's OAuth2 login. The flaw is tracked as GHSA-cfvg-5q96-8mhm, with a CVE assignment pending, and is rated Critical (9.1 on the CVSS scale). No attacks have been reported so far.

The problem sits in a proxy that forwards login token requests to the identity provider. In affected versions, the proxy answers callers who never authenticated, adds the broker's stored client secret to requests that lack one, and passes the requested scope through unchanged. An anonymous caller can therefore have the broker act as its own OAuth2 client and obtain a signed token. Only setups with both the management and OAuth2 plugins enabled and a client secret configured are affected. Full administrator access also depends on the identity provider granting the broker's client administrator scopes.

The researcher who reported the flaw, shanz0ng, demonstrated it on the official RabbitMQ 4.4.0 management Docker image. They minted a token with no credentials, confirmed it carried administrator rights, created a persistent administrator account, and logged in over AMQP with the same token. That access reaches queues and messages across all virtual hosts, not just the management interface.

Fixed releases 4.4.1 and 4.3.8 have been available since November 16. The fix restricts the proxy to the grant types the management login uses. There is no community fix for the 4.2 branch: 4.2.13 is available only through Broadcom, and community support for 4.2 ended on July 31. Operators who cannot upgrade can remove the management.oauth_client_secret setting or put authentication in front of the management port, though some identity providers need that secret for login or token refresh. Patching does not remove an administrator account created through the flaw, and the advisory does not explain how to tell whether tokens have already been minted.

Why it matters

The control that failed is the login flow itself: a proxy meant to help browsers sign in lets unauthenticated callers borrow the broker's own client secret, so network reachability of the management port becomes the only barrier. Because a token accepted over AMQP reaches queues and messages in every virtual host, the exposure goes well beyond the management interface. Teams on the unsupported 4.2 branch face a forced decision between a commercial patch and a migration, and since patching leaves any created admin account in place and the advisory offers no way to detect past minting, upgrading alone cannot be treated as remediation.

What to do

  • Upgrade RabbitMQ to 4.4.1 or 4.3.8, or to 4.2.13 via Broadcom if you are on the 4.2 branch.
  • Remove the management.oauth_client_secret setting, or place authentication in front of the management port, if you cannot upgrade yet.
  • Review the broker for administrator accounts you did not create, since patching does not remove them.
  • Restrict network access to the management port to trusted hosts only.

Summarised by CISO AI from The Hacker News, written with Claude Sonnet 5.5. We link back to every original so you can read it yourself.