Critical RabbitMQ OAuth2 flaw could grant admin access
RabbitMQ 4.4.0's documented OAuth2 management setup could let anonymous callers mint privileged tokens. Fixed releases are available.
RabbitMQ maintainers have fixed a critical OAuth2 authentication bypass that could let an unauthenticated caller mint privileged access tokens on a narrowly configured management deployment. The issue affects RabbitMQ 4.4.0 installations using the management plugin's documented OAuth2 integration, with the OAuth2 backend enabled and a client secret configured. 1
The flaw sits in the management plugin's token-endpoint proxy. In 4.4.0, the route accepted requests without first checking whether the caller was authenticated. The proxy could then add RabbitMQ's stored client secret to a request and relay attacker-controlled parameters, including the requested scope, to the identity provider. 1
That combination meant the broker could act as its own confidential OAuth2 client for an anonymous network peer. The practical impact depended on the identity provider's permissions, but a permissive configuration could return a signed token with administrator scopes. RabbitMQ's advisory says the resulting token could be accepted by both the management API and the AMQP listener, creating a route to management takeover and access to queues across virtual hosts. 1
The advisory's proof of concept used the official RabbitMQ 4.4.0 management image. It demonstrated token minting without credentials, administrator access and the creation of a persistent administrator account. Those are test results from the maintainers' advisory, not evidence that this specific flaw has been exploited in the wild. The Hacker News reports that no attacks targeting it had been reported when the issue was disclosed. 12
The fixed versions
RabbitMQ fixed the proxy in 4.4.1 by restricting the relayed grant types to the authorization_code and refresh_token flows used by the management login. RabbitMQ's release information lists 4.4.1 as released on 16 November 2026, while 4.3.8 shipped the same day for the 4.3 series. The Hacker News also reports that 4.3.8 contains the relevant fix. 123
Administrators should upgrade to 4.4.1 or 4.3.8 where applicable, then review their identity-provider configuration and management-port exposure. RabbitMQ lists two interim mitigations for operators who cannot upgrade immediately: remove management.oauth_client_secret, or put authentication in front of the management port. Removing the secret may disrupt providers that require it for login or token refresh, so it should be tested against the deployment's sign-in flow. 1
An upgrade also does not undo earlier abuse. If an attacker created accounts or obtained tokens before the patch, those credentials and access paths need a separate review. The advisory does not provide a universal detection method for tokens minted through the vulnerable proxy, making provider, broker and network logs particularly important.
Our opinion
This is a high-priority patch for the affected OAuth2 setup, but not a reason to treat every RabbitMQ server as compromised. The precondition matters: the documented management OAuth2 configuration must be present, and the management port must be reachable by the attacker. Operators should establish whether those conditions apply, upgrade promptly, rotate or revoke suspicious credentials, and put the management interface behind an additional access-control layer while the review is under way.