NEWS

Critical RabbitMQ OAuth2 Flaw Lets Anyone Mint Privileged Tokens Without Credentials

A CVSS 9.1 flaw in RabbitMQ's management OAuth2 proxy issues tokens to anonymous callers. Upgrade to 4.4.1 or 4.3.8; no CVE or attacks reported yet.

Dylan H.

News Desk

November 30, 2026
2 min read
Critical RabbitMQ OAuth2 Flaw Lets Anyone Mint Privileged Tokens Without Credentials

Summary

A critical vulnerability in the RabbitMQ message broker lets anyone who can reach the management port obtain signed access tokens without credentials, on deployments that use the management plugin's OAuth2 login. The advisory is GHSA-cfvg-5q96-8mhm. The project rates it CVSS 9.1, and a CVE assignment is pending.

How it works

The management plugin's OAuth2 token proxy answers unauthenticated callers. It adds the broker's stored client secret to requests that lack one and passes the requested scope through unchanged. An anonymous caller can therefore receive a signed token carrying whatever scopes the identity provider grants.

The vulnerable proxy arrived in 4.3.3, so the 4.3 and 4.2 ranges are affected, beginning with July releases. A researcher credited as shanz0ng demonstrated the attack against the official 4.4.0 Docker image, including creating a persistent admin account.

Conditions for exposure

  • The management and OAuth2 plugins are both enabled.
  • A client secret is configured, as in the documented OAuth2 setup.
  • The management port is reachable by the attacker.
  • Full admin access requires an identity provider that grants the broker's client administrator scopes.

Tokens accepted over AMQP reach queues and messages across all virtual hosts.

Exploitation status

No attacks have been reported so far.

Fixes

Releases 4.4.1 and 4.3.8 were published on November 16, and also cover six other RabbitMQ advisories released the same day. There is no community fix for the 4.2 branch: community support ended July 31, and 4.2.13 with the fix is available only through Broadcom's commercial support.

What to do

  1. Upgrade to 4.4.1 or 4.3.8, or the commercial 4.2.13.
  2. If you cannot upgrade, remove the management.oauth_client_secret setting or put authentication in front of the management port. Removing the secret can break some identity provider login or token refresh flows.
  3. Do not expose the management port to untrusted networks.
  4. Patching does not remove admin accounts created through the flaw. Audit users, permissions and virtual hosts for anything unexpected. The advisory does not describe how to detect tokens already minted, so review identity provider and proxy logs for unauthenticated requests to the management token endpoint.

Sources