The RabbitMQ project has disclosed a critical authentication flaw in the management plugin’s OAuth2 support. According to the GitHub security advisory GHSA-cfvg-5q96-8mhm, an endpoint that proxies requests to the identity provider’s token endpoint requires no authentication from the caller, so an anonymous user can make the broker obtain signed access tokens with scopes of the attacker’s choosing.
Fixed releases, RabbitMQ 4.4.1, 4.3.8 and 4.2.13, are available. The advisory carries no CVE identifier at the time of writing, and The Hacker News reports that no attacks targeting the flaw have been seen so far. Operators who run the management UI with OAuth2 should treat this as an urgent upgrade.
What happened
The advisory describes the issue as missing authentication for a critical function (CWE-306). The management plugin exposes a proxy at /js/oidc-oauth/token-endpoint/<resource-server-id> that forwards requests to the OAuth2 provider. The proxy does not check who is calling it, and it adds the broker’s configured client secret to the outgoing request. In effect, the broker acts as a confidential OAuth2 client on behalf of anyone who can reach the URL.
The advisory says the minted tokens are accepted by the management API and by the AMQP 0-9-1 listener using SASL PLAIN. That gives an attacker a route to both management-plane and data-plane access. The fix restricts which grant types the proxy will relay to authorization_code and refresh_token. The advisory credits a researcher known as shanz0ng, and The Hacker News says the researcher demonstrated the problem on the official RabbitMQ 4.4.0 Docker image.
Who is affected
According to the advisory, the affected ranges are:
- RabbitMQ 4.4.0 (fixed in 4.4.1)
- RabbitMQ 4.3.3 up to but not including 4.3.8 (fixed in 4.3.8)
- RabbitMQ 4.2.9 up to but not including 4.2.13 (fixed in 4.2.13)
Exposure requires the management and OAuth2 plugins to be enabled with a client secret configured, following the documented OAuth2 setup, according to The Hacker News. Full administrator access additionally depends on the identity provider granting the broker’s client the administrator scopes. The Hacker News also notes that community support for the 4.2 series ended on July 31, and that 4.2.13 is available only through Broadcom.
Severity and exploitation
GitHub’s CVSS v4.0 base score for the advisory is 9.1 (critical), with a network attack vector, low complexity and no privileges or user interaction required. The reporter suggested a CVSS v3.1 score of 9.8. No CVE has been assigned, and The Hacker News reports that no exploitation has been observed. The advisory was published on November 27, 2026, and the fixed releases shipped on November 16, according to The Hacker News, so a window of public knowledge now exists before many deployments have updated.
The Hacker News also points out that patching does not remove administrator accounts or other state already created through the flaw, and that the advisory does not explain how operators can tell whether tokens were minted. Seven RabbitMQ advisories were published the same day, including a high-severity CSRF issue in the management API, and the November 16 releases cover them all.
What defenders should do now
- Identify every RabbitMQ node and container image, including the official Docker images, and check whether the management and OAuth2 plugins are enabled with
management.oauth_client_secretset. - Upgrade to 4.4.1, 4.3.8 or 4.2.13 (the last through Broadcom if you are on the 4.2 series), or move to a supported release line.
- If you cannot upgrade immediately, remove
management.oauth_client_secretor place an authenticating reverse proxy or network control in front of the management port. The project warns that removing the secret can break login or token refresh with some identity providers. - Do not expose the management port to the internet. Restrict it to administrative networks or a VPN.
- Review users, permissions, virtual hosts, policies, shovels and federation links for unexpected changes, and check identity provider logs for token requests that you cannot match to real sign-ins.
- Rotate the OAuth2 client secret and any credentials stored in broker configuration or queues if you find suspicious access.
SCVM analysis
Message brokers are rarely the first thing people think of as an attack surface, yet they carry order data, credentials in job payloads and instructions that other systems trust. This flaw is notable because the authentication feature itself, a helper meant to make single sign-on easier, was the weak point: a proxy that holds a secret and answers anyone effectively hands that secret’s authority to the network. The advisory also notes that the vulnerable proxy arrived in 4.3.3, so the exposure is tied to relatively recent releases and a specific configuration, which should help teams scope their response quickly. The harder part is the lack of guidance on detecting past abuse, so assume that any internet-reachable, OAuth2-enabled management port should be audited as well as patched.
Sources
- RabbitMQ: GHSA-cfvg-5q96-8mhm security advisory
- The Hacker News: Critical RabbitMQ OAuth2 Flaw Could Grant Admin Access Without Credentials
About this article: produced by the SCVM Newsroom with AI assistance from the public sources linked above, enriched with NVD, FIRST EPSS and CISA KEV data, and checked by automated quality controls under our editorial policy. Spotted an error? Request a correction.

