Critical CVSS 9.1 Security news
RabbitMQ: anyone who can reach the management port can mint an admin token through the OAuth2 proxy
On 27 November 2026 the RabbitMQ maintainers disclosed a critical flaw (CVSS 4.0 9.1) in the management plugin. On deployments that use OAuth2 login, anyone who can reach the management port can get the broker to obtain a signed token with whatever privileges they ask for - and then take over both the management plane and message queues in every virtual host. Fixed releases 4.4.1 and 4.3.8 shipped on 16 November. No exploitation has been reported.
Key points
- Affects: the RabbitMQ management plugin when OAuth2 login with a client secret is enabled. The maintainers say this is the documented setup, not a misconfiguration.
- The bug: the proxy to the identity provider's token endpoint requires no authentication and appends the broker's own client secret to anonymous requests, so an attacker gets a signed JWT with a scope of their choosing.
- Impact: full management-plane takeover, including persistent admin accounts, plus reading, forging and deleting messages in every vhost over AMQP.
- Fixed in 4.4.1 and 4.3.8 (16 Nov 2026). The 4.2 series is out of community support; its fix, 4.2.13, is only available under commercial support. No CVE has been assigned yet.
What happened
On 27 November 2026 the RabbitMQ maintainers published security advisory GHSA-cfvg-5q96-8mhm, rated critical, CVSS 4.0 9.1. The flaw sits in the management plugin, in the code that handles OAuth2 login. Fixed releases 4.4.1 and 4.3.8 had already gone out on GitHub on 16 November; the advisory followed eleven days later. No CVE has been assigned yet. The issue was reported by a researcher going by shanz0ng.
The maintainers do not mention exploitation. But if you run RabbitMQ with OAuth2 login and the management port is reachable from a wider network, patch now - the advisory is detailed.
Technical details
The management plugin includes a proxy to the identity provider's token endpoint (path /js/oidc-oauth/token-endpoint/<id>), used by the web UI during login. According to the advisory:
- the route is registered without authentication - unlike the rest of the management API, it does not check who is calling (CWE-306),
- it forwards the request body to the identity provider, and if the caller does not supply a client secret, the broker appends its configured
management.oauth_client_secret, - all other parameters, including
scope, pass through unchanged.
The broker therefore acts as a confidential OAuth2 client on behalf of any anonymous peer. If the identity provider allows the client to use the client credentials or password grant and grants it administrator scopes (as in the reference examples in the docs), it returns a signed JWT with the scope the attacker chose. That token works against the management API and against AMQP 0-9-1 (as the SASL PLAIN password), because audience validation is not tied to the listener.
We do not go further into exploitation.
Who is affected
- RabbitMQ 4.4.0 (fixed in 4.4.1), 4.3.3 through 4.3.7 (fixed in 4.3.8) and 4.2.9 through 4.2.12 (fixed in 4.2.13).
- Only deployments with
management.oauth_enabledon, a client ID andmanagement.oauth_client_secretconfigured, theoauth2auth backend enabled, and an identity provider that grants the client admin scopes. The maintainers say no misconfiguration is needed - the documented setup is enough. - The attacker must reach the management port (15672 by default). Instances with management only on an internal network are exposed to anyone who gets inside it.
The 4.2 series left community support on 31 July 2026; the newest public 4.2 release on GitHub is 4.2.9, and the 4.2.13 fix is available only under commercial support.
How to tell if you were compromised
The maintainers did not publish formal indicators. They suggest reviewing:
- identity provider logs - token requests with the
client_credentialsorpasswordgrant coming from the broker host, especially with unexpected scopes, - management access logs - unauthenticated requests to
/js/oidc-oauth/token-endpoint/.
We would also (our advice, not the maintainers'): review users and permissions (rabbitmqctl list_users, rabbitmqctl list_permissions) and look for admin accounts nobody created.
What to do
- Upgrade to 4.4.1 or 4.3.8. The fix restricts the proxy to the
authorization_codeandrefresh_tokengrants. - If you cannot upgrade right away, the maintainers offer two workarounds: remove
management.oauth_client_secret(with some identity providers this breaks login or token refresh), or put authentication in front of the management port (reverse proxy, VPN, firewall). - After patching, audit admin accounts and permissions - the upgrade does not remove accounts created with a minted token.
- On the identity provider side, check whether the broker's client really needs the
client_credentialsandpasswordgrants and admin scopes.
Timeline
- 20 Jul 2026 - RabbitMQ 4.3.3 and 4.2.9 ship the vulnerable proxy.
- 19 Oct 2026 - the 4.4.0 series is released (also affected).
- 16 Nov 2026 - fixed releases 4.4.1 and 4.3.8.
- 27 Nov 2026 - advisory GHSA-cfvg-5q96-8mhm published (CVSS 4.0 9.1); no CVE assigned yet.
- 30 Nov 2026 - no exploitation reported by the maintainers.
FAQ
How do I know whether OAuth2 is enabled for the management UI?
Look for management.oauth_enabled = true and a management.oauth_client_secret line in rabbitmq.conf. If the first is missing or false, the management plugin is not using this login proxy. If OAuth2 is on but no client secret is set, the broker does not inject anything into requests.
Is upgrading enough?
Upgrading closes the hole but does not undo anything an attacker already did. An admin account created with a minted token survives the upgrade. Review users and permissions (rabbitmqctl list_users) and your identity provider's logs.
We run 4.2 without commercial support. What now?
Community support for 4.2 ended on 31 July 2026, and the fixed 4.2.13 is only available to commercial customers. In practice that means moving to 4.3.8 or 4.4.1, or applying a workaround in the meantime - removing the client secret or putting authentication in front of the management port.
Sources
Spotted a mistake? Let us know and we will correct it openly.