RabbitMQ Patched a 9.1 OAuth2 Flaw on 16 November. Is Your Management Port Open?
The RabbitMQ project rated a flaw in the management plugin's OAuth2 login as 9.1 on the CVSS scale. Fixed releases have been available since 16 November 2026. The public advisory followed on 27 November, under GHSA-cfvg-
The RabbitMQ project rated a flaw in the management plugin's OAuth2 login as 9.1 on the CVSS scale. Fixed releases have been available since 16 November 2026. The public advisory followed on 27 November, under GHSA-cfvg-5q96-8mhm. There is still no CVE number. The Hacker News reported the same advisory on 30 November. According to the project, nobody has reported attacks against this flaw so far.
On an affected broker that uses the documented OAuth2 setup for the management interface, anyone who can reach the management port can obtain a privileged access token without credentials. What that token can do depends on the identity provider. If the provider grants the broker's client administrator scopes, the token can mean full administrator access. The message broker can also accept the same token. In that case it can reach queues and messages, not only the management UI.
This is not every RabbitMQ install. It applies when you enable the management and OAuth2 plugins and configure a client secret. That is the documented confidential-client setup, not a misconfiguration.
Who is affected
The official advisory lists these ranges:
- RabbitMQ 4.4.0
- RabbitMQ 4.3.3 through 4.3.7
- RabbitMQ 4.2.9 through 4.2.12
The fixed releases are 4.4.1, 4.3.8, and 4.2.13. 4.2.13 is available only through Broadcom's commercial support. Community support for the 4.2 line ended on 31 July 2026. If you are still on a community 4.2 release, the advisory does not offer a community patch. The path is to move to a fixed 4.3 or 4.4 release.
The vulnerable proxy is a recent addition. It arrived in 4.3.3 in July, to fix OAuth2 logins that failed in Safari. The affected 4.3 and 4.2 ranges therefore begin with releases from that month.
The same 16 November releases also cover six other RabbitMQ server advisories published on the same day. Those include a high-severity CSRF issue in the management API. One upgrade covers all seven.
Why the management port matters
The flaw is reachable by anyone who can talk to the management port. If that port stays on a private network, the circle of people who can try this is much smaller. If it is reachable from the internet, that circle is much larger.
The default management port is 15672. The site does not need that port on the public internet in order to work. Many teams still leave it open, because it is convenient to open the UI from anywhere.
What to do now
If you run RabbitMQ behind a site or an app, start here:
- Check the RabbitMQ version in production.
- Upgrade to 4.4.1 or 4.3.8. If you have Broadcom support on the 4.2 line, upgrade to 4.2.13. If you are on community 4.2, plan a move to a fixed 4.3 or 4.4 release.
- Check whether the management UI or port is reachable from the internet. If it does not need to be, restrict it with a firewall, a VPN, or an authenticating reverse proxy.
- If you cannot upgrade today, the advisory offers two interim steps: remove the management.oauth_client_secret setting, or place authentication in front of the management port. Some identity providers need that secret for login or token refresh, so removing it can break those flows.
- After you upgrade, review administrator accounts and recent privileged activity. The fix stops the proxy from minting new tokens this way. It does not remove an administrator account someone already created. The advisory does not explain how to tell whether someone already minted tokens.
If an agency or a host runs the broker for your site, send them this list today. Ask which version is in production, whether they turned on OAuth2 for the management interface, and whether the management port is reachable from the internet.
None of these steps, on their own or together, means the broker is safe. An account created before the upgrade still works until you remove it.
A pattern we have already covered
This is another case where a management or login path is reachable without the credentials you would expect. We wrote about two web-server flaws that can let attackers in without a password. We also wrote about an OpenSSH login bypass that also starts with a version check, and about billing software used by many web hosts that needed no login. If a management port does not need to face the internet, take it off the internet.
Where an outside scan fits
You can also run a website security check on a domain you own or have explicit permission to test. The free Quick engine, as listed on HackerMe's pricing page, checks the site from the outside. That includes security headers, TLS, DNS records, technology fingerprinting, known-CVE signals, exposed sensitive files and a general open-port check. It only takes 7 minutes to know.
The scan cannot tell you whether this flaw applies to your RabbitMQ version. It cannot confirm that an open port is the RabbitMQ management interface, and it cannot detect this specific OAuth2 flaw. There is still no CVE number. Check the broker version, and whether the management port is reachable from the internet, yourself. Treat the scan as one outside check, not a clean bill of health.
FAQ
Two short answers to the questions this story usually raises.
Does this affect every RabbitMQ server?
No. It applies only when you use the documented OAuth2 setup for the management interface, with the management and OAuth2 plugins on and a client secret in place.
If I upgrade today, am I done?
Upgrading is the main fix, and it also covers the other advisories shipped in the same release. It does not remove an administrator account already created through the flaw. Review those accounts, and take the management port off the internet if it does not need to be there.
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.