A critical security vulnerability has been uncovered in the widely used RabbitMQ message broker that could allow unauthenticated attackers with access to the management port to mint privileged access tokens. Disclosed late last week, the flaw impacts deployments that utilize the management plugin’s OAuth2 login configuration, effectively bypassing authentication hurdles and potentially granting full administrative control over affected messaging systems.
Tracked under the identifier GHSA-cfvg-5q96-8mhm with a pending CVE assignment, the vulnerability has been classified by project maintainers as critical, scoring an alarming 9.1 out of 10.0 on the Common Vulnerability Scoring System (CVSS). Fortunately, security researchers and project maintainers have confirmed that no active exploitation campaigns targeting this specific vulnerability have been reported in the wild as of yet.
The security issue specifically affects environments that follow the officially documented OAuth2 setup for the RabbitMQ management interface. For a deployment to be vulnerable, both the management plugin and the OAuth2 plugin must be enabled, and a client secret must be properly configured within the system. The scope of what a freshly minted token can achieve largely depends on the specific identity provider in use; however, achieving full administrator access requires an identity provider that is configured to grant the broker’s client administrator-level scopes.
Understanding the Flaw in the Management Plugin Proxy
According to the official security advisory published by the RabbitMQ maintainers, the root of the problem lies within the management plugin’s internal proxy mechanism. This proxy is designed to seamlessly forward token requests originating from the standard user login flow directly to the configured identity provider.
In the affected versions of the software, however, this proxy behaves improperly when interacting with unauthenticated callers. Specifically, the vulnerable proxy responds to callers who have never presented valid credentials, automatically injects the broker’s stored client secret into incoming requests that lack one, and passes the requested authorization scope through to the identity provider completely unchanged.
This oversight allows any anonymous caller to trick the broker into acting as its own OAuth2 client. By exploiting this behavior, an attacker can request and successfully obtain a cryptographically signed token with whatever broad scopes the identity provider is willing to grant, entirely bypassing standard authentication gates.

Demonstration and Potential Impact Across Virtual Hosts
The security researcher credited with discovering and reporting the vulnerability, operating under the alias shanz0ng, successfully demonstrated the flaw using the official RabbitMQ 4.4.0 management Docker image. The proof-of-concept demonstrated how an attacker could mint an access token without providing any credentials, verify that the token carried full administrative privileges, use those privileges to create a persistent administrator account, and subsequently log in over the Advanced Message Queuing Protocol (AMQP) utilizing the exact same token.
Security experts emphasize that the implications of this vulnerability extend far beyond the web-based management interface. Because a successfully minted token is also accepted on the AMQP port, an unauthorized actor gaining access in this manner can reach the broker’s underlying message queues and intercept or manipulate messages across all virtual hosts configured on the server, rather than being restricted solely to administrative dashboard utilities.
Fixes, Patches, and Software Lifecycles
In response to the discovery, project maintainers merged a fix via a dedicated pull request on October 22. This corrective patch significantly restricts the proxy functionality, ensuring that it only handles the specific authorization_code and refresh_token grant types that are legitimately required and utilized by the management login flow.
Fixed releases, specifically versions 4.4.1 and 4.3.8, were successfully built and made publicly available to users on November 16, exactly eleven days before the public security advisory was formally released, adhering to standard responsible disclosure timelines outlined in the project’s release information.
However, support status varies across different software branches. Notably, there is no community fix planned or available for the older 4.2 branch. Version 4.2.13 is restricted exclusively to customers utilizing commercial support through Broadcom, given that community support for the entire 4.2 branch officially concluded on July 31.
Mitigation Options and Post-Exploitation Risks
For system operators and administrators who are unable to apply the necessary software upgrades immediately, the project’s security advisory outlines two interim workaround options. Administrators can choose to remove the management.oauth_client_secret configuration setting or place a separate, robust authentication layer directly in front of the management port.

The official management plugin documentation notes, however, that certain identity providers strictly require the client secret during login or token refresh cycles, meaning that removing the setting entirely run the risk of breaking legitimate authentication workflows.
Furthermore, security analysts point out a critical consideration regarding remediation: while patching the software successfully narrows what the proxy can relay moving forward, it does not automatically remediate earlier malicious activity. Any rogue administrator account that was previously created through the exploitation of this vulnerability will not be removed or disabled by simply applying the software update. Moreover, the project’s advisory does not currently provide detailed guidance on how operators can retrospectively audit their systems to determine whether forged tokens were minted against their brokers before the patch was applied.
Context Within Recent RabbitMQ Security Updates
This critical privilege escalation flaw was disclosed alongside a broader batch of security advisories, representing one of seven distinct RabbitMQ server issues published simultaneously in the project’s security index. The accompanying advisories include a high-severity cross-site request forgery vulnerability affecting the management API, alongside two medium-severity and three low-severity issues. Upgrading the server infrastructure to the November 16 release completely addresses and resolves all seven vulnerabilities simultaneously.
The vulnerable proxy code itself was a relatively recent addition to the codebase, having been introduced in the 4.3.3 release back in July. That initial modification was implemented to resolve issues where OAuth2 logins were failing when accessed via the Safari web browser. Consequently, the affected 4.3 and 4.2 software ranges begin with releases issued that month. This discovery also follows a pair of earlier OAuth-related security flaws disclosed in July, one of which similarly allowed unauthenticated callers to read the client secret and exchange it for administrator privileges.
