Skip to content
Critical RabbitMQ OAuth2 Flaw Could Grant Admin Access Without Credentials

Critical RabbitMQ OAuth2 Flaw Could Grant Admin Access Without Credentials

Thehackernews • November 30, 2026

A critical vulnerability in the RabbitMQ message broker allows anyone who can reach the management port to mint privileged access tokens without credentials on deployments that use the management plugin's OAuth2 login.

The maintainers disclosed the flaw late last week, and fixed releases 4.4.1 and 4.3.8 have been available since November 16.

The flaw is tracked as GHSA-cfvg-5q96-8mhm, with a CVE assignment pending. The project rates it as Critical (9.1 on the CVSS scale), and no attacks targeting it have been reported so far.

Only deployments that follow the documented OAuth2 setup for the management interface are affected, with both the management and OAuth2 plugins enabled and a client secret configured.

What a minted token can do depends on the identity provider, and full administrator access requires a provider that grants the broker's client administrator scopes.

The management plugin includes a proxy that forwards token requests from the login flow to the identity provider, as detailed in the project's security advisory .

In the affected versions, that 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 request a signed token with whatever scopes the provider grants.

The researcher credited as shanz0ng, who reported the flaw, demonstrated it on the official RabbitMQ 4.4.0 management Docker image: minting a token with no credentials, confirming it carried administrator rights, creating a persistent administrator account, and logging in over AMQP with the same token. A token accepted on AMQP reaches the broker's queues and messages across all virtual hosts, not just the management interface.

The fix, merged on October 22 in a fix pull request , restricts the proxy to the authorization_code and refresh_token grant types the management login uses. The fixed release was shipped on November 16, 11 days before the advisory went public, per the project's release information .

There is no community fix for the 4.2 branch: 4.2.13 is available only through Broadcom, which sells commercial RabbitMQ support, and community support for 4.2 ended on July 31.

Operators who cannot upgrade yet have two interim options from the advisory: remove the management.oauth_client_secret setting, or place authentication in front of the management port. The management plugin documentation notes that some identity providers require that secret for login or token refresh, so removing it can break those flows.

Patching narrows what the proxy relays but does not undo earlier abuse: an administrator account created through the flaw is not removed by the update. The advisory does not explain how operators can determine whether tokens have already been minted against their broker.

The flaw is one of seven RabbitMQ server advisories published the same day, listed in the project's security advisory index . The others include a high-severity cross-site request forgery in the management API, two rated medium, and three rated low, and upgrading to the November 16 release covers them all.

The vulnerable proxy is a recent addition: it arrived in the 4.3.3 release in July to fix OAuth2 logins failing in Safari, per its release notes , and the affected 4.3 and 4.2 ranges begin with releases from that month. Two earlier OAuth flaws in RabbitMQ, disclosed in July, included one that let unauthenticated callers read the same client secret and exchange it for an administrator token.

The full story

This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.

RabbitMQ OAuth2 Proxy Flaw Allows Unauthenticated Admin Token Minting (GHSA-cfvg-5q96-8mhm) RabbitMQ maintainers disclosed GHSA-cfvg-5q96-8mhm, a critical missing-authentication flaw (CWE-306, CVSS v4.0 9.1) in the management plugin's OAuth2 token-endpoint proxy. According to the advisory and reporting, the proxy accepted unauthenticated requests and injected the broker's configured client secret, allowing anonymous callers to obtain signed tokens with attacker-chosen scopes on deployments following the documented OAuth2 management setup. The researcher, credited as shanz0ng, reportedly demonstrated on the RabbitMQ 4.4.0 management Docker image that a minted token granted administrator rights, could create a persistent admin account, and could authenticate over AMQP 0-9-1 to access queues and messages across virtual hosts. Full administrator access depends on the identity provider granting the client administrator scopes. Affected versions listed are 4.4.0, 4.3.3 through 4.3.7, and 4.2.9 through 4.2.12; fixed releases are 4.4.1, 4.3.8, and 4.2.13. Reporting states fixed 4.4.x and 4.3.x releases shipped November 16, eleven days before the November 27 advisory, and that 4.2.13 is available only through Broadcom. No CVE identifier has been assigned in the sources, and no has been reported. Patching does not remove any admin accounts already created through the flaw, and the advisory does not describe how to detect prior token minting. Interim mitigations are removing the management.oauth_client_secret setting (which may break some identity-provider flows) or placing authentication in front of the management port. 5 sources 76