Table of Contents
A critical RabbitMQ OAuth2 vulnerability lets an anonymous attacker mint privileged tokens and reach administrator functions without credentials, according to a RabbitMQ GitHub security advisory. The advisory is tracked as GHSA-cfvg-5q96-8mhm and carries a CVSS v4.0 score of 9.1. Patched releases exist, and the maintainers also describe a workaround.
The flaw sits in the management plugin’s OAuth2 token endpoint proxy. The proxy does not authenticate the caller, adds the configured client secret to the request on its own, and passes the requested scope through unchanged. A token minted this way is accepted by the management API and by AMQP, across virtual hosts.
Anyone who runs RabbitMQ with OAuth2 login on the management UI should pay attention, especially where the management port is reachable from untrusted networks. The advisory includes public proof of concept commands, so defenders should not assume attackers need to work out the technique themselves.
RabbitMQ OAuth2 Vulnerability: Key Takeaway
- A RabbitMQ OAuth2 vulnerability in the management plugin allows anonymous token minting, so patch to 4.4.1 or 4.3.8, or remove the client secret setting, as soon as possible.
Know which servers still need the patch. Tenable offers vulnerability management, which helps teams find unpatched systems across their environment.
See what is reachable on your network. Auvik provides network monitoring and management, which helps teams keep track of devices and services on their network.
What Happened: An Unauthenticated Token Proxy
RabbitMQ is a widely used message broker. Its management plugin provides a web interface and an HTTP API, and it can be configured to sign users in through an OAuth2 identity provider. For that login flow the plugin includes a token endpoint proxy, which relays requests between the browser and the identity provider.
The advisory is titled as an unauthenticated OAuth2 token endpoint proxy that allows anonymous privileged token minting. In plain terms, the proxy will answer anyone who can reach the management port. When the caller supplies no client secret, the proxy inserts the one stored in the broker configuration. It also relays the requested scope without limiting it to what the management interface needs.
The advisory classifies the weakness as CWE-306, missing authentication for critical functionality. The reporter, who is credited under the handle shanz0ng, suggested a higher score of 9.8 under CVSS 3.1 in the advisory text, while the published score is 9.1 under CVSS v4.0.
Timeline
- July 20, 2026: RabbitMQ 4.3.3 introduced the new token endpoint proxy to fix an OAuth 2 login problem in Safari, according to the 4.3.3 release notes.
- October 21 and 22, 2026: A pull request titled “Improve OAuth 2 login” was opened and merged into the main branch, with backports to the 4.4 and 4.3 lines the same day. The related commit limits the proxy to the grant types the management UI uses.
- November 16, 2026: Versions 4.4.1 and 4.3.8 were released, according to the RabbitMQ release information page.
- November 27, 2026: The advisory was published.
- November 30, 2026: The Hacker News reported on the flaw.
Affected and Fixed Versions
The advisory lists these ranges:
- RabbitMQ 4.4.0 up to but not including 4.4.1, 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.
The RabbitMQ security advisory index marks the 4.2.13 patch as available to enterprise support customers only. The release information page shows community support for the 4.2 line ended on July 31, 2026, so open source users on 4.2.x should plan to move to a supported line.
The attack surface is the management plugin with OAuth2 configured, including a client secret. The advisory describes the token endpoint proxy as the vulnerable component, so deployments without this configuration may not expose it. Administrators should confirm that against their own settings.
Who Is Affected
Teams that run RabbitMQ in the affected ranges with the management plugin and OAuth2 login enabled are the main audience. Risk rises when the management port is exposed beyond a trusted internal network, because the proxy needs no credentials.
Because a minted token works for both the management API and AMQP, the impact is not limited to the web interface. The advisory says the token is accepted across virtual hosts. Message brokers often sit between many internal services, so a takeover can reach queues, messages and connected applications.
Steps Administrators Can Take
The sources give two kinds of guidance. Both come from the advisory unless noted.
- Upgrade to RabbitMQ 4.4.1 or 4.3.8. Customers on 4.2.x should obtain 4.2.13 through their support channel.
- As a workaround, remove the management.oauth_client_secret setting, or place authentication in front of the management port.
- Be aware that removing the client secret can break sign in with some identity providers. The RabbitMQ management documentation says some providers require a client secret for the initial request or for token refresh.
- Review the broker for unexpected administrator accounts. The Hacker News reports that patching does not remove an administrator account created through the flaw.
The following are general hardening ideas, not statements from the source: restrict the management port to a management network or VPN, log and alert on new users and token requests, and rotate credentials stored on the broker if you suspect misuse.
Implications
Convenience features need the same scrutiny as core code
The proxy was added to fix a browser compatibility problem. A small usability change created an unauthenticated path to privileged tokens. Review new login helpers and proxies for access control before they ship, not after.
Public proof of concept shortens the patch window
The advisory contains step by step commands against the management port. Neither the advisory nor The Hacker News reports exploitation in the wild, but public instructions lower the skill needed. Treat internet facing brokers as urgent.
Patching does not undo a compromise
If the management port was reachable, check for new accounts, changed permissions and unusual connections. A fixed version closes the door but does not remove anything an attacker already created.
Broker access is a data and trust issue
Brokers carry business events and credentials between systems. Teams that follow zero trust principles should authenticate every request to a management interface, even on internal networks. For wider context on how fast critical flaws are being disclosed, see our roundup of critical security vulnerabilities.
Know which servers still need the patch. Tenable offers vulnerability management, which helps teams find unpatched systems across their environment.
See what is reachable on your network. Auvik provides network monitoring and management, which helps teams keep track of devices and services on their network.
Looking Forward
The maintainers have shipped fixes and published a workaround, which is the main work for defenders. The remaining question is how many exposed brokers run OAuth2 login with a client secret. The sources give no scan data or counts.
Several points are not yet known. No CVE has been assigned: the GitHub advisory says “No known CVE” while the RabbitMQ index says the CVE ID is pending. No source reports attacks, and no source says how many installations are exposed. The same day, the RabbitMQ index also lists six other rabbitmq-server advisories, so administrators should review all of them while upgrading.
Questions Worth Answering
What is the RabbitMQ OAuth2 vulnerability?
- It is a missing authentication flaw in the management plugin’s OAuth2 token endpoint proxy that lets anonymous callers obtain privileged tokens.
Does it have a CVE number?
- Not yet. The GitHub advisory says there is no known CVE, and the RabbitMQ index lists the CVE ID as pending. It is tracked as GHSA-cfvg-5q96-8mhm.
How severe is it?
- The advisory rates it Critical with a CVSS v4.0 score of 9.1. The reporter suggested 9.8 under CVSS 3.1.
Which RabbitMQ versions are affected?
- Versions 4.4.0 before 4.4.1, 4.3.3 before 4.3.8 and 4.2.9 before 4.2.13.
Which versions fix it?
- RabbitMQ 4.4.1 and 4.3.8 are available, and 4.2.13 is available through enterprise support.
Is it being exploited?
- No source reports exploitation in the wild. The advisory does include public proof of concept commands.
Is there a workaround?
- Yes. Remove management.oauth_client_secret, or put authentication in front of the management port. Removal can break some identity provider flows.
Does patching remove an attacker’s access?
- No. The Hacker News notes that an administrator account created through the flaw stays after an upgrade, so accounts should be reviewed.
Who found the flaw?
- The advisory credits the reporter shanz0ng.
Should the management port be public?
- The sources do not give a rule, but the flaw needs no credentials, so keeping the port off untrusted networks reduces exposure.
More tools worth a look: 1Password for logins, Optery for personal data removal and EasyDMARC for spoofed email.