Description
RabbitMQ is a messaging and streaming broker. Prior to versions 3.13.17, 4.0.22, 4.1.13, and 4.2.6, match_origin/1 returned the bare reflected Origin and allowed credentials even when the wildcard "" was configured, so the response echoed the attacker's origin together with Access-Control-Allow-Credentials. The affected code is rabbit_mgmt_cors.erl. When the management plugin is configured with a wildcard CORS origin (cors_allow_origins = ""), the handler reflects the request Origin back in Access-Control-Allow-Origin and also sends Access-Control-Allow-Credentials: true. A malicious web page that a signed-in administrator visits can then use that administrator's cached HTTP Basic credentials to issue authenticated, state-changing requests to the management API. Preconditions include The management plugin is configured with the wildcard cors_allow_origins = "*", which is an explicit operator misconfiguration A target administrator has a cached HTTP Basic-auth session in the browser. This issue is fixed in versions 3.13.17, 4.0.22, 4.1.13, and 4.2.6.
Published: 2026-09-23
Score: 7.6 High
EPSS: n/a
KEV: No
Impact: Unauthorized state‑changing API access via cached credentials
Action: Immediate Patch
AI Analysis

Impact

The vulnerability exists in the RabbitMQ management plugin’s CORS handling logic. When the configuration allows any origin, the server reflects the request’s Origin header straight back as the Access‑Control‑Allow‑Origin value and also returns Access‑Control‑Allow‑Credentials: true, even though the configuration uses a wildcard. As a result, a malicious web page that a signed‑in administrator visits can trigger cross‑origin requests that the browser automatically authenticates with the administrator’s cached HTTP Basic credentials. This permits an attacker to perform unauthorized, state‑changing operations on the management API through the privileged administrator’s session. The weakness is a misuse of CORS headers and credential leakage (CWE‑942).

Affected Systems

RabbitMQ messaging and streaming broker, specifically the rabbitmq-server product. Versions affected include any releases prior to 3.13.17, 4.0.22, 4.1.13, and 4.2.6 when the management plugin is configured with the wildcard cors_allow_origins="*". Administrators who have cached HTTP Basic authentication in the browser are able to be coerced by the vulnerability.

Risk and Exploitability

The CVSS score of 7.6 indicates moderate‑to‑high severity. The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires a user‑agent that has a cached administrator credential and a malicious page to trigger the cross‑origin request; therefore the likelihood of a widespread, automated attack is lower, but within an environment where administrators use browsers with cached credentials and the management plugin is misconfigured, the risk is significant.

Generated by OpenCVE AI on September 23, 2026 at 21:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update RabbitMQ to version 3.13.17, 4.0.22, 4.1.13, or 4.2.6 or later, where the issue is fixed.
  • Reconfigure the management plugin to specify explicit allowed origins instead of using the wildcard value for cors_allow_origins.
  • Ensure administrators do not keep HTTP Basic credentials cached in browsers or consider additional authentication mechanisms such as token‑based or key‑based authentication that are not automatically reused by the browser.
  • If an immediate update is not possible, apply a temporary configuration change to disable Access‑Control‑Allow‑Credentials for the management API or remove the management plugin from public‑facing interfaces.

Generated by OpenCVE AI on September 23, 2026 at 21:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 23 Sep 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Rabbitmq
Rabbitmq rabbitmq-server
Vendors & Products Rabbitmq
Rabbitmq rabbitmq-server

Wed, 23 Sep 2026 20:15:00 +0000

Type Values Removed Values Added
Description RabbitMQ is a messaging and streaming broker. Prior to versions 3.13.17, 4.0.22, 4.1.13, and 4.2.6, match_origin/1 returned the bare reflected Origin and allowed credentials even when the wildcard "" was configured, so the response echoed the attacker's origin together with Access-Control-Allow-Credentials. The affected code is rabbit_mgmt_cors.erl. When the management plugin is configured with a wildcard CORS origin (cors_allow_origins = ""), the handler reflects the request Origin back in Access-Control-Allow-Origin and also sends Access-Control-Allow-Credentials: true. A malicious web page that a signed-in administrator visits can then use that administrator's cached HTTP Basic credentials to issue authenticated, state-changing requests to the management API. Preconditions include The management plugin is configured with the wildcard cors_allow_origins = "*", which is an explicit operator misconfiguration A target administrator has a cached HTTP Basic-auth session in the browser. This issue is fixed in versions 3.13.17, 4.0.22, 4.1.13, and 4.2.6.
Title RabbitMQ: CORS * reflects Origin with Allow-Credentials
Weaknesses CWE-942
References
Metrics cvssV4_0

{'score': 7.6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Rabbitmq Rabbitmq-server
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-23T19:59:58.788Z

Reserved: 2026-07-23T23:25:28.897Z

Link: CVE-2026-66070

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-23T20:17:12.850

Modified: 2026-09-23T20:17:12.850

Link: CVE-2026-66070

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-23T21:30:07Z

Weaknesses
  • CWE-942

    Permissive Cross-domain Security Policy with Untrusted Domains