Skip to content
Start with Identity

RabbitMQ OAuth2 proxy flaw let anonymous callers mint admin tokens with the broker's client secret

RabbitMQ advisory GHSA-cfvg-5q96-8mhm (CVSS 4.0 9.1) says the management plugin's OAuth2 token proxy answered unauthenticated callers and added the broker's stored client secret, so anyone could get an IdP-signed token with chosen scopes. Fixed in 4.4.1, 4.3.8 and 4.2.13.

By SWI Community TeamNov 27, 2026Updated Nov 30, 2026

RabbitMQ published advisory GHSA-cfvg-5q96-8mhm on November 27, rated CVSS 4.0 9.1, for an OAuth2 token-endpoint proxy in the management plugin that runs "without any caller authentication" (RabbitMQ). The proxy forwards a caller's request to the identity provider's token endpoint and, when no client secret is supplied, appends the broker's configured management.oauth_client_secret. Any anonymous network peer can therefore make the broker act as a confidential OAuth2 client and, if the provider allows it, get a signed JWT with the scopes it asks for. The token works on the management API and, as a SASL PLAIN password, on AMQP 0-9-1, because audience validation is not tied to the listener. Affected: 4.4.0, 4.3.3 to 4.3.7 and 4.2.9 to 4.2.12. Fixed: 4.4.1, 4.3.8 and 4.2.13. No CVE is assigned yet, and The Hacker News reports no known attacks.

Why it matters

A client secret is meant to prove the caller is the client. Here the broker lent its secret to anyone who asked, so the identity provider issued tokens to strangers in the broker's name. Two defenses would each have limited the damage: an IdP that grants the broker's client only the scopes it needs, and tokens whose audience is checked per listener.

Upgrade, then list admin users created since July, because patching does not remove accounts made through the flaw. If you cannot upgrade, remove management.oauth_client_secret or put authentication in front of the management port. In the identity provider, restrict the RabbitMQ client to the authorization code flow with PKCE, cap its scopes, and review token issuance logs for client-credentials or password grants from that client.

Source: RabbitMQ advisory, The Hacker News

Last reviewed By SWI Community TeamSuggest a correctionHow we research
Independent analysis. No vendor sponsorship. Editorial policy · Report a correction