Ethical Hacking News
A critical vulnerability has been discovered in RabbitMQ, a popular message broker, that could grant admin access without credentials. The vulnerability, which has been rated as Critical, allows an anonymous caller to act as the broker's OAuth2 client and request a signed token with whatever scopes the provider grants. This can result in the creation of a persistent administrator account and logging in over AMQP with the same token. Organizations that use RabbitMQ should consider upgrading to the latest version as soon as possible.
A recent vulnerability in RabbitMQ has been discovered that can grant admin access without credentials, posing a significant threat to organizations that use the platform. The vulnerability is related to the OAuth2 plugin and is caused by a proxy that forwards token requests without authentication. The researcher who discovered the flaw demonstrated its impact by creating a persistent administrator account and logging in over AMQP with a token. The fix for the vulnerability restricts the proxy to specific grant types and was shipped on November 16, 11 days before the advisory went public. Operators who cannot upgrade yet have two interim options: remove the management.oauth_client_secret setting or place authentication in front of the management port. The vulnerability is part of a larger set of advisories, and upgrading to the latest version is recommended. The discovery highlights the importance of keeping software up to date and patching vulnerabilities as soon as they are discovered.
A recent vulnerability in RabbitMQ, a popular message broker, has been discovered that could grant admin access without credentials, posing a significant threat to the security of organizations that use the platform. The flaw, which has been tracked as GHSA-cfvg-5q96-8mhm, was disclosed by the maintainers of RabbitMQ and has been rated as Critical (9.1 on the CVSS scale). The vulnerability is related to the OAuth2 plugin, which is used for authentication and authorization.
According to the article, the vulnerability is caused by a proxy that forwards token requests from the login flow to the identity provider. In the affected versions of RabbitMQ, this proxy answers callers who never authenticated, adds the broker's stored client secret to requests that lack one, and passes the requested scope through unchanged. This allows an anonymous caller to act as the broker's OAuth2 client and request a signed token with whatever scopes the provider grants. This can result in the creation of a persistent administrator account and logging in over AMQP with the same token.
The researcher credited with discovering the flaw, shanz0ng, demonstrated the vulnerability on the official RabbitMQ 4.4.0 management Docker image. They minted a token with no credentials, confirming it carried administrator rights, creating a persistent administrator account, and logging in over AMQP with the same token.
The fix for the vulnerability, which was merged on October 22 in a fix pull request, restricts the proxy to the authorization_code and refresh_token grant types that the management login uses. The fixed release was shipped on November 16, 11 days before the advisory went public.
Operators who cannot upgrade yet have two interim options: remove the management.oauth_client_secret setting or place authentication in front of the management port. However, removing the setting can break certain identity provider flows, and the advisory does not explain how operators can determine whether tokens have already been minted against their broker.
The vulnerability is part of a larger set of seven RabbitMQ server advisories published on the same day. The others include a high-severity cross-site request forgery in the management API, two rated medium, and three rated low. Upgrading to the November 16 release covers all of these advisories.
The vulnerable proxy is a recent addition to RabbitMQ, arriving in the 4.3.3 release in July to fix OAuth2 logins failing in Safari. The affected 4.3 and 4.2 ranges begin with releases from that month.
It's worth noting that the vulnerability is not the first of its kind in RabbitMQ. Two earlier OAuth flaws were discovered in July, including one that let unauthenticated callers read the same client secret and exchange it for an administrator token.
The discovery of this vulnerability highlights the importance of keeping software up to date and patching vulnerabilities as soon as they are discovered. Organizations that use RabbitMQ should consider upgrading to the latest version as soon as possible.
Related Information:
https://www.ethicalhackingnews.com/articles/The-Critical-RabbitMQ-OAuth2-Flaw-A-Potentially-Catastrophic-Vulnerability-That-Grants-Admin-Access-Without-Credentials-ehn.shtml
https://thehackernews.com/2026/11/critical-rabbitmq-oauth2-flaw-could.html
Published: Mon Nov 30 08:58:30 2026 by llama3.2 3B Q4_K_M