Skip to main content
Vulnerability Database/CVE-2026-67410

CVE-2026-67410: RabbitMQ OAuth2 Secret Disclosure Vulnerability

CVE-2026-67410 is an information disclosure flaw in RabbitMQ that exposes OAuth2 client secrets through an unauthenticated endpoint. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-67410 Overview

CVE-2026-67410 is an information disclosure vulnerability in RabbitMQ, a widely deployed messaging and streaming broker. The flaw exists in the Management UI when OAuth2 authentication is configured with an identity provider (IdP) flow that requires a client secret. The oauth_client_secret configuration value is embedded in JavaScript served by the unauthenticated endpoint /js/oidc-oauth/bootstrap.js. Any network-reachable user can retrieve the OAuth2 client secret without authentication. The issue is classified as [CWE-200: Exposure of Sensitive Information to an Unauthorized Actor]. Affected versions span from 4.2.0 up to the fixed releases 4.3.3 and 4.2.9.

Critical Impact

Unauthenticated attackers who can reach the RabbitMQ management port can retrieve the OAuth2 client secret, enabling token theft and client impersonation against the configured identity provider.

Affected Products

  • RabbitMQ Server 4.2.0 through 4.2.8
  • RabbitMQ Server 4.3.0 through 4.3.2
  • RabbitMQ Management plugin (rabbitmq_management) when OAuth2 is enabled with a client-secret flow

Discovery Timeline

  • 2026-09-25 - CVE-2026-67410 published to NVD
  • 2026-09-28 - Last updated in NVD database

Technical Details for CVE-2026-67410

Vulnerability Analysis

The RabbitMQ Management UI exposes a bootstrap JavaScript file at /js/oidc-oauth/bootstrap.js. The handler for this route is registered as a plain Cowboy handler without any authentication middleware. When OAuth2 is configured for the Management UI, the server inlines runtime configuration values into the generated JavaScript so the single-page application can initiate the OpenID Connect authorization code flow. The vulnerable code path includes the server-side oauth_client_secret value in that payload. Because the endpoint is reachable without credentials, the client secret becomes retrievable by anyone who can connect to the management port, typically TCP 15672.

Root Cause

The root cause is a design error in rabbit_mgmt_oauth_bootstrap.erl (lines 35-50), which copies the oauth_client_secret into the response payload alongside non-sensitive OAuth2 metadata such as oauth_client_id and oauth_initiated_logon_type. The route registration in rabbit_mgmt_dispatcher.erl (lines 45-49) wires the handler without the authentication wrapper used by other management endpoints. The upstream fix removes the client secret from client-visible configuration and introduces a server-side token proxy endpoint so the secret never leaves the broker.

Attack Vector

An unauthenticated remote attacker issues a single HTTP GET request to /js/oidc-oauth/bootstrap.js on the management interface. The response body contains the OAuth2 client secret as a JavaScript assignment. With the client ID and secret, the attacker can complete the authorization code exchange using a stolen or intercepted authorization code, mint access tokens, or impersonate the RabbitMQ client against the identity provider for other integrated workloads.

javascript
// Patch excerpt: removal of client secret from browser-exposed config
// deps/rabbitmq_management/priv/www/js/oidc-oauth/helper.js
        if (!resource_server.oauth_client_id) {
          resource_server.oauth_client_id = authSettings.oauth_client_id
        }
-        if (!resource_server.oauth_client_secret && resource_server.oauth_client_id
-            && authSettings.oauth_client_secret) {
-          resource_server.oauth_client_secret = authSettings.oauth_client_secret
-        }
        if (!resource_server.oauth_initiated_logon_type) {
          if (authSettings.oauth_initiated_logon_type) {
            resource_server.oauth_initiated_logon_type = authSettings.oauth_initiated_logon_type

Source: RabbitMQ Security Patch Commit

Detection Methods for CVE-2026-67410

Indicators of Compromise

  • Unauthenticated HTTP GET requests to /js/oidc-oauth/bootstrap.js originating from unexpected source IP addresses or non-browser user agents such as curl, wget, or custom scripts.
  • OAuth2 token issuance events at the identity provider using the RabbitMQ client_id from source addresses that do not correspond to the RabbitMQ broker host.
  • Unexpected authorization code redemption attempts referencing the RabbitMQ redirect URI.

Detection Strategies

  • Inventory all RabbitMQ 4.2.x and 4.3.x deployments and check whether management.oauth_enabled is true and oauth_client_secret is configured.
  • Review reverse proxy and web server logs for any access to the /js/oidc-oauth/bootstrap.js path that is not preceded by a legitimate browser session to /.
  • Correlate IdP audit logs with the RabbitMQ node's egress IP to identify token requests that did not originate from the broker.

Monitoring Recommendations

  • Alert on any external, non-corporate network access to the RabbitMQ management port (default 15672).
  • Monitor the identity provider for anomalous grant_type=authorization_code exchanges using the RabbitMQ client_id.
  • Rotate and audit the OAuth2 client secret after patching; treat any pre-patch exposure window as a potential compromise of the secret.

How to Mitigate CVE-2026-67410

Immediate Actions Required

  • Upgrade to RabbitMQ 4.3.3 or 4.2.9, which remove the client secret from the browser-exposed bootstrap payload.
  • Rotate the OAuth2 client_secret at the identity provider after upgrading, assuming the prior value is compromised.
  • Restrict network access to the Management UI port (15672) to administrative networks or VPN-only segments.
  • Review IdP logs for any suspicious token issuance tied to the RabbitMQ client identity since 4.2.0 was deployed.

Patch Information

The upstream fix is tracked in RabbitMQ Security Advisory GHSA-f9f2-q3jf-wfj3 and shipped in RabbitMQ 4.3.3 and RabbitMQ 4.2.9. The code change is implemented in commit 60a85d3 and commit 869f800, which introduce a server-side token proxy endpoint and remove the secret from the client bootstrap.

Workarounds

  • Switch the OAuth2 flow to Proof Key for Code Exchange (PKCE) without a client secret where supported by the IdP.
  • Terminate the Management UI behind a reverse proxy that enforces authentication before any request reaches the broker, including static JavaScript assets.
  • Disable the rabbitmq_management plugin on brokers that do not require the web UI, exposing only AMQP and the HTTP API as needed.
bash
# Verify installed RabbitMQ version and upgrade
rabbitmqctl version

# Debian/Ubuntu example
apt-get update && apt-get install --only-upgrade rabbitmq-server=4.3.3-1

# Confirm the management plugin is loaded only where required
rabbitmq-plugins list -e | grep rabbitmq_management

# Restrict management port exposure via firewall
iptables -A INPUT -p tcp --dport 15672 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 15672 -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.