All posts

Critical vulnerability

Critical vulnerability in RabbitMQ (GHSA-cfvg-5q96-8mhm)

RabbitMQ · Servers and applications

GHSA-cfvg-5q96-8mhm

Unauthenticated OAuth2 token-endpoint proxy allows anonymous privileged token minting

Severity
Critical 9.1
Published
27 Nov 2026
Fixed in
4.2.13, 4.3.8, 4.4.1
Weakness
Missing authentication (CWE-306)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read data · Change data

The management plugin in RabbitMQ 4.4.0 exposes the OAuth2 token-endpoint proxy at /js/oidc-oauth/token-endpoint/ without any caller authentication.

On deployments configured per the documented OAuth2 management setup, the broker acts as a confidential OAuth2 client on behalf of any anonymous network peer. With a permissive provider (such as the reference setups in the OAuth2 guide that grant administrator scopes), an unauthenticated POST with grant_type=client_credentials (or password) returns a signed JWT with attacker-chosen scope.

The minted token is accepted by the management API, and also by the AMQP 0-9-1 listener when placed in the SASL PLAIN password position (deps/rabbitmq_auth_backend_oauth2/src/rabbit_auth_backend_oauth2.erl:433-442 reads the token from the password property), because audience validation only resolves a resource server and is not bound to the listening plane.

From rabbitmq/rabbitmq-server's security advisory. Shortened; the full text is there.
SoftwareAffected versions
RabbitMQServers and applications
  • From 4.4.0 before 4.4.1
  • From 4.3.3 before 4.3.8
  • From 4.2.9 before 4.2.13
Everything about GHSA-cfvg-5q96-8mhm

From NVD, the CVE Program, OSV.dev with the GitHub Advisory Database, WPVulnerability, WordPress's security advisories and CISA's Known Exploited Vulnerabilities catalog, as they stood when this was written. Each vulnerability's own page has its latest rating and fix. This product uses the NVD API but is not endorsed or certified by the NVD.