RabbitMQ OAuth2 Flaw GHSA-cfvg-5q96-8mhm: Upgrade to 4.4.1, 4.3.8 or 4.2.13
RabbitMQ's management OAuth2 proxy lets anyone ask for a privileged token. Fixed in 4.4.1, 4.3.8 and 4.2.13.

Underlined words are defined in the KBY Lexicon. Tap or click one to see what it means.
RabbitMQ has published a critical advisory, GHSA-cfvg-5q96-8mhm, for a missing authentication check in the management plugin’s OAuth2 token proxy. On affected setups, anyone who can reach the management port can ask the proxy for a privileged token. Upgrade to RabbitMQ 4.4.1, 4.3.8 or 4.2.13.
The flaw affects only brokers that use the documented OAuth2 setup, and no attacks have been reported so far. If your management port is reachable from untrusted networks and OAuth2 is switched on, treat the upgrade as urgent.
#What the advisory says is wrong
The RabbitMQ maintainers published the advisory on 27 November and rate it Critical. GitHub shows a CVSS 4.0 score of 9.1. The weakness is classed as CWE-306, missing authentication for a critical function. The advisory says no CVE number exists yet, so GHSA-cfvg-5q96-8mhm is the identifier to search for.
The affected code is the OAuth2 token-endpoint proxy inside the management plugin. It answers requests on a path that has no check on who is calling. When a caller does not send a client secret, the proxy adds the one configured on the broker. It then passes the caller’s requested scope on unchanged.
Put together, an anonymous caller can obtain a token signed by your identity provider, carrying whatever scope the provider is willing to grant that client. The advisory says the minted token is accepted by the management API and also by the AMQP 0-9-1 listener. We are not repeating the proof of concept.
#Which versions and settings are affected
The advisory lists three affected ranges and three fixed releases. Check the line you run, because the 4.2 fix is easy to miss.
| Release line | Affected | Fixed in |
|---|---|---|
| 4.4 | 4.4.0 | 4.4.1 |
| 4.3 | 4.3.3 up to 4.3.7 | 4.3.8 |
| 4.2 | 4.2.9 up to 4.2.12 | 4.2.13 |
The advisory sets out the settings that make a broker exposed. You need management.oauth_enabled turned on and management.oauth_client_secret set. You also need auth_backends.1 set to oauth2, with a resource server defined. A broker that does not use OAuth2 for its management interface is not described as affected.
Whether the result is full admin access depends on your identity provider. The advisory notes that a permissive provider, one that hands out administrator scopes to this client, is needed for administrative access. A strict provider limits what an attacker can mint, but we would not rely on that alone.
#The catch for 4.2 users
The Hacker News reports that the 4.2 fix is available only through Broadcom commercial support, because community support for 4.2 ended on 31 July 2026. The RabbitMQ release page we read lists 4.2.9 as the newest 4.2 release and does not show 4.2.13.
The advisory itself does not make that point, so we are attributing it to The Hacker News. If you run 4.2 without a support contract, plan a move to 4.3 or 4.4. Until then, use the interim mitigations below.
#What to do first
Start by finding out whether you are exposed at all. Then upgrade, and only then look back for signs that someone got there first.
- List your brokers and their versions. Include test and staging brokers, because they often keep the management port open.
- Check each one for the three settings above. A broker without OAuth2 on its management interface is not in the advisory’s scope.
- Upgrade to 4.4.1, 4.3.8 or 4.2.13. The advisory points to pull request 17937 as the fix.
- If you cannot upgrade today, remove
management.oauth_client_secretor put authentication in front of the management port. Those are the advisory’s interim mitigations. - Close the management port to untrusted networks, whatever else you do.
Following along? Tap a step’s number to tick it off.
The Hacker News warns that removing the client secret can break identity providers that need it for login or token refresh. Test that change before you roll it out widely. Putting a reverse proxy with authentication in front of the port is the gentler interim step.
#Our view: patching is not the end of it
We think the awkward part of this advisory is what it does not give you. Patching closes the route, but the advisory does not explain how to tell whether a token was minted before you upgraded. The Hacker News makes the same point, and adds that patching does not remove an admin account already created through the flaw.
That leaves a practical job for anyone whose management port was exposed. Review the administrator accounts and permissions on each broker. Look at the management API and AMQP connection logs for sign-ins you do not recognise. Check your identity provider’s logs for tokens issued to the broker’s client around the time the port was reachable.
We also think the dates matter. The fixed releases 4.4.1 and 4.3.8 shipped on 16 November, according to the RabbitMQ release page. The advisory was published eleven days later, on 27 November. Anyone who patched promptly is fine. Anyone who waited for the advisory had an exposed window we cannot size.
We expect a CVE number to follow, and with it scanner signatures and a place on exploited-vulnerability lists. If you want to know when it appears, see how we count CISA’s exploited-vulnerabilities list. What would change our view is a report of attacks, which would turn this from an urgent patch into an incident.
#What is not yet known
- A CVE number. The advisory says none is assigned, and we did not confirm one in the National Vulnerability Database.
- Whether anyone is exploiting it. The advisory does not say, and The Hacker News says no attacks have been reported.
- How to detect a token minted through the flaw. Neither source gives a method.
- Whether the 4.2.13 release will reach community users.
The advisory credits a researcher who goes by shanz0ng and notes that the report was submitted with AI assistance. That does not change what you need to do. The maintainers have confirmed the flaw and shipped fixes.
Evidence trail
Sources and verification
Primary documentation and external technical references used in this article.
About this page
Credited to
Dates
Published
Corrections
No corrections are listed for this page. Some review sweeps corrected pages without naming each one; those are in the corrections log.
Found this useful? Follow KBY for more like it.
Recommended reading
More from KBY that goes with this story.

Education ITClassroom management software for schools: check what your devices already include
8 min read

More news
All newsWas this useful?
Reports go to the site owner and are used to correct pages. Corrections are listed at /corrections.
Get new fixes by email.
For IT teams: new runbooks, configuration traps and fixes, and the Microsoft and Apple deadlines coming up, about twice a week.




Comments
Add a thoughtful note on RabbitMQ OAuth2 Flaw GHSA-cfvg-5q96-8mhm: Upgrade to 4.4.1, 4.3.8 or 4.2.13. Comments are checked for spam and held for moderation before appearing.