CriticalVulnerabilityPatch available

RabbitMQ OAuth2 token proxy flaw gives anonymous admin tokens

RabbitMQ management OAuth2 token proxy lets unauthenticated callers mint admin tokens; upgrade to 4.4.1, 4.3.8 or 4.2.13.

Published
Fixed in
RabbitMQ 4.4.1, 4.3.8, 4.2.13
Exploitation
No. GBHackers and Cyber Security News say the advisory reports no exploitation in the wild, and The Hacker News says no attacks targeting it have been reported so far.

What happened

RabbitMQ maintainers published advisory GHSA-cfvg-5q96-8mhm on November 27, 2026, rated Critical. The GitHub advisory describes an OAuth2 token-endpoint proxy in the management plugin that is reachable without any caller authentication. The proxy appends the configured management.oauth_client_secret to requests that lack a secret and relays other caller-supplied parameters, including scope, unchanged. The broker therefore acts as its own confidential OAuth2 client for an anonymous caller.

GBHackers reports that the advisory gives a CVSS v4.0 score of 9.1, lists no known CVE identifier and classifies the flaw as CWE-306 (Missing Authentication for Critical Functionality). The Hacker News says a CVE assignment is pending. This advisory therefore cites no CVE. The reporter’s original suggestion was a CVSS 3.1 score of 9.8, with the maintainers free to finalize it, per the GitHub advisory.

What a minted token can do depends on the identity provider. The GitHub advisory says that with a permissive provider, an unauthenticated request returns a signed token with the caller’s chosen scope. In testing, that token was accepted by the management API and by the AMQP 0-9-1 listener. The reported test results were:

  • Creating a persistent administrator account.
  • Full queue operations on any virtual host.

The Hacker News credits the researcher shanz0ng and says the demonstration used the official RabbitMQ 4.4.0 management Docker image.

On exploitation, the outlets differ slightly in wording. GBHackers and Cyber Security News say the advisory documents what was possible in testing and does not report exploitation in the wild. The Hacker News says no attacks targeting the flaw have been reported so far. Cyber Security News adds that an exposed management interface does not by itself confirm a breach.

The Hacker News also says the vulnerable proxy was added in release 4.3.3 in July, and that this is one of seven RabbitMQ server advisories published the same day.

Am I affected?

You are likely affected if all of the following apply:

  • You run RabbitMQ 4.4.0, 4.3.3 through 4.3.7, or 4.2.9 through 4.2.12. These ranges come from the GitHub advisory, GBHackers and Cyber Security News. The Hacker News does not list the ranges in full and says the affected 4.3 and 4.2 ranges begin with releases from July.
  • The management and OAuth2 plugins are enabled and a client secret is configured. The Hacker News says only deployments following the documented OAuth2 setup are affected, and GBHackers says the configuration must use a confidential client.
  • An attacker can reach the management listener over the network.

Exposure of administrator rights depends on your identity provider. The Hacker News says full administrator access requires a provider that grants the broker’s client administrator scopes. Cyber Security News says that if the provider grants RabbitMQ administrator rights, the token can carry them.

Cyber Security News also notes a separate high-severity management API advisory from the same day, with fixes in 4.1.18 and 3.13.22. That flaw relies on a signed-in user’s browser. Teams on those older branches should read it even if they are outside the ranges above.

What to do now

  1. Check the installed version on every broker node and compare it with the affected ranges above.
  2. Upgrade to 4.4.1, 4.3.8 or 4.2.13, depending on your branch. The Hacker News says there is no community fix for 4.2: 4.2.13 is available only through Broadcom, and community support for 4.2 ended on July 31.
  3. Confirm every node runs a patched release. The fix restricts the proxy to the authorization_code and refresh_token grant types, per the GitHub advisory.
  4. If you cannot upgrade yet, use one of the interim options in the advisory: place authentication in front of the management listener, or remove management.oauth_client_secret. The Hacker News notes some identity providers need that secret for login or token refresh, so check that single sign-on still works before removing it.
  5. Review identity provider logs for unexpected token issuance, and broker records for unfamiliar administrator accounts or unusual queue activity (Cyber Security News, GBHackers).
  6. Do not treat patching as cleanup. The Hacker News says an administrator account created through the flaw is not removed by the update, and that the advisory does not explain how to tell whether tokens were already minted against a broker.

Sources