News
RabbitMQ will request an OAuth token for a caller who never logged in (GHSA-cfvg-5q96-8mhm).
RabbitMQ brokers that sign the management UI in through OAuth2 with a client secret will attach that secret to token requests from callers who never logged in, and fixed builds have been out since November 16.

Impact
- What was impacted
- The RabbitMQ management plugin's OAuth2 token proxy, tracked as GHSA-cfvg-5q96-8mhm and rated Critical (9.1). A CVE assignment is still pending. It affects brokers that follow the documented OAuth2 setup for the management interface: the management plugin and the OAuth2 plugin are both enabled, and a client secret is configured. On those versions the proxy answers callers who never authenticated, adds the broker's stored client secret to a request that does not include one, and passes the requested scope through unchanged. What the signed token can do depends on the identity provider. Full administrator access requires a provider that grants the broker's own client administrator scopes. A token the broker accepts on AMQP can reach queues and messages on every virtual host, not only the management interface. Fixed releases 4.4.1 and 4.3.8 have been available since November 16. There is no community fix for the 4.2 branch. Release 4.2.13 is available only through Broadcom. Community support for 4.2 ended on July 31.
- Who was impacted
- Operators who expose a RabbitMQ management port and use OAuth2 login with a client secret. Teams whose identity provider grants that broker's OAuth client administrator scopes, because that is when a minted token is a full administrator. Applications and people who publish or read messages on that broker, because the same token works over AMQP across all virtual hosts. The report says no attacks targeting this flaw have been reported so far.
- What you need to do
- Upgrade to RabbitMQ 4.4.1 or 4.3.8. The fix was merged on October 22 and shipped on November 16. It limits the proxy to the authorization_code and refresh_token grants the management login uses. That November 16 release also covers the other six RabbitMQ server advisories published the same day. If you are still on 4.2, there is no community fix, and 4.2.13 comes only from Broadcom. If you cannot upgrade yet, remove the management.oauth_client_secret setting or put authentication in front of the management port. Some identity providers require that secret for login or token refresh, so removing it can break those flows. After you patch, look for administrator accounts you did not create. The update does not delete an account that was created through this flaw. The advisory does not say how to tell whether a token was already minted.
RabbitMQ's management plugin includes a proxy that forwards token requests from the OAuth2 login flow to the identity provider. On affected versions that proxy answers people who never logged in, adds the broker's stored client secret when the request has none, and leaves the requested scope as the caller sent it. An anonymous caller can therefore have the broker act as its own OAuth2 client and receive a signed token for whatever scopes the provider will grant that client. The flaw is GHSA-cfvg-5q96-8mhm, rated Critical at 9.1. A CVE is still pending. Only brokers that follow the documented OAuth2 setup are affected: the management and OAuth2 plugins are enabled, and a client secret is configured. The maintainers disclosed it late last week. No attacks targeting it have been reported so far.
What the token can do is decided by the identity provider. Administrator rights require a provider that gives the broker's client administrator scopes. A researcher credited as shanz0ng showed the issue on the official RabbitMQ 4.4.0 management Docker image: a token obtained with no credentials, administrator rights on that token, a persistent administrator account, and a login over AMQP with the same token. A token accepted on AMQP can reach the broker's queues and messages on every virtual host, not only the management screens.
Fixed releases 4.4.1 and 4.3.8 have been available since November 16. The change was merged on October 22. It restricts the proxy to the authorization_code and refresh_token grant types that the management login uses. The release shipped 11 days before the advisory went public. The 4.2 line has no community fix. Version 4.2.13 is sold through Broadcom's commercial RabbitMQ support, and community support for 4.2 ended on July 31. Operators who cannot upgrade yet can remove the management.oauth_client_secret setting or place authentication in front of the management port. The management plugin documentation says some identity providers need that secret for login or token refresh, so removing it can break those logins.
Installing the update does not undo earlier abuse. An administrator account created through the flaw stays in place, and the advisory does not explain how to tell whether tokens were already minted against a broker. This flaw is one of seven RabbitMQ server advisories published the same day. The other six are a high-severity cross-site request forgery in the management API, two rated medium, and three rated low. The November 16 release covers all seven. The vulnerable proxy is a recent addition: it arrived in the 4.3.3 release in July so OAuth2 logins would work in Safari, and the affected 4.3 and 4.2 ranges begin with releases from that month. Two earlier OAuth flaws, disclosed in July, included one that let unauthenticated callers read the same client secret and exchange it for an administrator token. This report is the later proxy flaw.
For your AI agent
Agent instructions — copy paste to Claude
You are helping me respond to GHSA-cfvg-5q96-8mhm in the RabbitMQ management plugin's OAuth2 token proxy. Do not send a token request to a broker. Do not mint a token, create an administrator account, or log in over AMQP to test this. Do not pull the RabbitMQ 4.4.0 management image in order to reproduce the demonstration. Do not write a proof of concept. Ask before you upgrade RabbitMQ, change management.oauth_client_secret, put a login in front of the management port, delete a user, rotate a secret, or take a broker offline. Facts from the report: - A critical flaw in the RabbitMQ message broker lets anyone who can reach the management port mint a privileged access token without credentials, on deployments that use the management plugin's OAuth2 login. The flaw is GHSA-cfvg-5q96-8mhm, rated Critical (9.1). A CVE assignment is pending. Do not invent a CVE. - The maintainers disclosed it late last week. Fixed releases 4.4.1 and 4.3.8 have been available since November 16. No attacks targeting it have been reported so far. Do not treat the absence of reports as proof a broker was untouched. - Only deployments that follow the documented OAuth2 setup for the management interface are affected: both the management plugin and the OAuth2 plugin are enabled, and a client secret is configured. Brokers that do not use that setup are outside this flaw. Do not claim every RabbitMQ broker is affected. - What a minted token can do depends on the identity provider. Full administrator access requires a provider that grants the broker's client administrator scopes. Do not assume every identity provider grants those scopes. - The management plugin includes a proxy that forwards token requests from the login flow to the identity provider. In 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 have the broker act as its own OAuth2 client and request a signed token with whatever scopes the provider grants. Do not send that request. - The researcher credited as shanz0ng demonstrated it on the official RabbitMQ 4.4.0 management Docker image: a token minted with no credentials, administrator rights on that token, a persistent administrator account, and a login over AMQP with the same token. A token accepted on AMQP reaches the broker's queues and messages across all virtual hosts, not only the management interface. Do not repeat that demonstration. - The fix was merged on October 22. It restricts the proxy to the authorization_code and refresh_token grant types the management login uses. The fixed release shipped on November 16, 11 days before the advisory went public. Do not invent a different fixed version. - There is no community fix for the 4.2 branch. Release 4.2.13 is available only through Broadcom, which sells commercial RabbitMQ support. Community support for 4.2 ended on July 31. The report does not give the year for that date. Do not invent one. - If an upgrade is not possible yet, the advisory gives two interim options: 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. Ask before you remove it. - Patching 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. Do not invent a detection query and present it as the vendor's method. - This is one of seven RabbitMQ server advisories published the same day. The others are a high-severity cross-site request forgery in the management API, two rated medium, and three rated low. The report does not name those six identifiers. Do not invent them. Upgrading to the November 16 release covers all seven. - The vulnerable proxy arrived in the 4.3.3 release in July to fix OAuth2 logins failing in Safari. The affected 4.3 and 4.2 ranges begin with releases from that month. The report does not name a year for that July. Do not invent one. The researcher used 4.4.0, and 4.4.1 is the fixed release on that line. - 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. This report is a different flaw. Do not merge the two, and do not invent identifiers for the July flaws. Context: - What was impacted: the RabbitMQ management OAuth2 token proxy on brokers that use the documented OAuth2 management login with a client secret. A token the broker accepts can also be used over AMQP against every virtual host. - Who should care: operators of those brokers, teams whose identity provider grants the broker's client administrator scopes, and anyone who depends on the queues behind that broker. - What to do: upgrade to 4.4.1 or 4.3.8, or use 4.2.13 from Broadcom if you are on 4.2. If you cannot upgrade yet, remove management.oauth_client_secret or require authentication in front of the management port, knowing the secret removal can break some logins. Then review administrator accounts the update will not delete. Do this in order. Prefer read-only checks first. Ask before any change that upgrades the broker, edits its configuration, deletes a user, rotates a secret, or takes a service offline. 1. Inventory - Record the RabbitMQ version, whether the management plugin and the OAuth2 plugin are enabled, and whether management.oauth_client_secret is set. Read only. Do not print the secret. Say only whether it is configured. - Record whether the management port is reachable without a separate login in front of it, and which identity provider the broker uses. Do not send a token request to check. - Record whether that provider grants the broker's OAuth client administrator scopes. If you cannot tell from the configuration I have given you, say so and stop. - List administrator accounts and when they were created, if the broker exposes that. Read only. The report does not say how to tell whether a token was minted. An unexpected administrator account is a lead, not proof. - Note whether you are on 4.4, 4.3, or 4.2. Fixed community releases named here are 4.4.1 and 4.3.8. On 4.2 the named build is 4.2.13 from Broadcom only. 2. Contain - If the broker matches the affected setup and is older than 4.4.1 or 4.3.8, leave it running until I agree. Propose the upgrade. Ask before you install it or restart the broker. - If an upgrade has to wait, propose either removing management.oauth_client_secret or placing authentication in front of the management port. Say that removing the secret can break login or token refresh for providers that require it. Ask before you change either control. - If you find an administrator account we did not create, name the account and stop. Ask before you disable or delete it. 3. Remediate - After I agree, upgrade to 4.4.1 or 4.3.8. If we are on 4.2, use 4.2.13 from Broadcom. Do not invent another fixed build. - The same November 16 release is what the report says covers the other six advisories from that day. Do not look up or apply different version numbers for those six unless I ask. Their identifiers are not in this report. - Do not rotate the OAuth client secret unless I ask. This report does not say the secret was read. A separate July flaw, which this report distinguishes, did allow unauthenticated callers to read that secret. If we have not patched since that July disclosure, say so as a separate question. Do not invent its identifier. 4. Verify - Report the running version, whether the OAuth2 management setup is still in use, whether management.oauth_client_secret is still set, and whether the management port still accepts connections with no login in front of it. - Report any administrator account you flagged and any change that is still waiting on my approval. 5. Report back - What matched, what you changed, and what this report left unnamed: a CVE, the other six advisory identifiers, a way to detect minted tokens, and the year for the July dates. Do not invent CVEs, advisory identifiers, patches, victim names, or exploit steps. If a check needs access I have not given you, say what you need and stop.