Security alert · Critical
RabbitMQ: OAuth2 flaw in management plugin lets anyone mint admin tokens
· 5 minutes read · Centoculus Security Team
Known since
Affected: RabbitMQ 4.4.0, 4.3.3 to 4.3.7 and 4.2.9 to 4.2.12, only with OAuth2 login for the management UI and management.oauth_client_secret set
What happened
On 27 November 2026 the RabbitMQ maintainers published a security advisory for a critical vulnerability in the management plugin of RabbitMQ server. The advisory is GHSA-cfvg-5q96-8mhm. No CVE has been assigned yet. The project rates it Critical, with a CVSS score of 9.1.
Want to know why a server fails, not just that it does? Monitor your Linux servers from the inside.
The management plugin contains a proxy for OAuth2 token requests at /js/oidc-oauth/token-endpoint/<resource-server-id>. It forwards token requests from the login page to the identity provider. In the affected versions, the proxy:
- answers callers who have not authenticated,
- adds the broker's stored
management.oauth_client_secretto requests that do not include one, - passes all other parameters on unchanged, including the requested scope.
As a result, any network peer can make the broker act as its own confidential OAuth2 client and request a signed token with whatever scopes the identity provider grants that client. The researcher tested this on the official rabbitmq:4.4.0-management Docker image. Without any credentials, they obtained a token with administrator rights, created a persistent administrator account and used the same token to log in over AMQP 0-9-1. On AMQP, such a token gives access to queues and messages on all virtual hosts.
The Hacker News reports that no attacks have been reported so far. The fixed releases have been available since 16 November 2026.
RabbitMQ published six more server advisories on the same day. One is a high-severity cross-site request forgery (CSRF) in the management API, and the others are rated medium or low. The same fixed releases cover all of them.
Who is affected
This vulnerability is limited to specific versions and a specific configuration. A broker is affected only if all of the following apply:
- Version: RabbitMQ 4.4.0, 4.3.3 to 4.3.7, or 4.2.9 to 4.2.12.
- Plugins: the management plugin (
rabbitmq_management) and the OAuth2 backend (rabbitmq_auth_backend_oauth2) are both enabled. - Configuration: OAuth2 login is set up for the management UI as documented, with
management.oauth_client_secretconfigured. - Network: an attacker can reach the management port (15672 by default).
What a token obtained this way can do depends on your identity provider. Full administrator access requires a provider that grants the broker's client administrator scopes, as in the reference setups of the RabbitMQ OAuth2 guide.
Not affected by this flaw:
- brokers that use the default internal user database or LDAP for management logins,
- OAuth2 setups without
management.oauth_client_secret, - RabbitMQ 4.4.1, 4.3.8 and 4.2.13,
- 4.3 releases before 4.3.3 and 4.2 releases before 4.2.9. The vulnerable proxy was only added in 4.3.3, in July 2026.
These versions may still be affected by the other advisories published the same day.
What to do now
- Check whether you run an affected setup. See the next section. If OAuth2 is not configured for the management UI, this flaw does not affect you. You should still plan the update because of the other advisories.
- Update RabbitMQ.
- On 4.4, update to 4.4.1.
- On 4.3, update to 4.3.8.
- On 4.2, the fixed release 4.2.13 is only available to Broadcom's commercial customers, and community support for 4.2 ended on 31 July 2026. Community users should move to 4.3.8 or 4.4.1.
- If you use Docker images, change the image tag to the fixed version and recreate the container.
- In a cluster, update the nodes one after another as you normally would.
- If you cannot update right away, the advisory offers two temporary workarounds:
- Remove the
management.oauth_client_secretsetting fromrabbitmq.confand restart the node. Some identity providers need this secret for login or token refresh, so test whether the management login still works afterwards. - Put authentication in front of the management port, for example a reverse proxy that requires a login.
- Remove the
- Restrict network access to the management port. Allow port 15672 only from trusted admin networks or a VPN, not from the internet.
- Look for signs of misuse. Updating does not remove anything an attacker may already have created, such as an extra administrator account. Do the checks in the next section.
- Confirm the broker works after the update. Run
rabbitmq-diagnostics statusand check that your applications can connect and that the management login works.
How to check whether you are affected
- Version: run
rabbitmq-diagnostics server_version(orrabbitmqctl version), or check the version shown in the management UI. - Plugins: run
rabbitmq-plugins list -e. Check whether bothrabbitmq_managementandrabbitmq_auth_backend_oauth2are enabled. - Configuration: search
rabbitmq.conf(on Linux packages usually/etc/rabbitmq/rabbitmq.conf) formanagement.oauth_enabledandmanagement.oauth_client_secret, for example withgrep -n 'management.oauth' /etc/rabbitmq/rabbitmq.conf. You are affected only if OAuth2 is enabled and a client secret is set. - Proxy endpoint: the vulnerable proxy is at
/js/oidc-oauth/token-endpoint/on the management port. If your reverse proxy or the management plugin's HTTP access log records requests, look for POST requests to that path from unexpected addresses. - Unknown administrator accounts: run
rabbitmqctl list_users. Check for accounts you do not recognise, especially accounts with theadministratortag. Remove unauthorised accounts withrabbitmqctl delete_user <name>. Then review permissions, policies, virtual hosts and other recent changes. - Identity provider logs: look for token requests from the broker's OAuth2 client that use the
client_credentialsorpasswordgrant types. Normal management logins use onlyauthorization_codeandrefresh_token. The advisory does not explain how to tell whether tokens have already been obtained this way, so the identity provider's logs are the best place to look.
Sources
Related posts
Alerts ·
WordPress plugin vulnerabilities: 9 plugins, including Fluent Forms
Eleven newly disclosed vulnerabilities affect nine WordPress plugins, among them Fluent Forms and Click to Chat. Two flaws, in Essential Widgets and FireBox, allow takeover of administrator accounts and are rated 9.8.
Alerts ·
Zimbra: unpatched flaws let attackers keep mailbox access after password reset
Rapid7 published nine Zimbra flaws, five of them unpatched. One keeps an attacker in a mailbox after the password is reset. Zimbra 10.1.22 fixes none of the open five. Update anyway and check mailboxes for unexpected loginAs grants.
Alerts ·
Veeam Backup: critical flaws patched in August now under attack
The Canadian Centre for Cyber Security reports active attacks on two critical Veeam Backup vulnerabilities that were fixed in August. Backup servers that have not been updated since then are at risk.