Skip to navigation

Threat reportVulnerabilityTL-2026-7071

RabbitMQ Management Plugin OAuth2 Token Proxy Missing Authentication (GHSA-cfvg-5q96-8mhm) Allows Unauthenticated Admin Access

criticalPATCHED

A missing-authentication flaw (CWE-306) in the RabbitMQ management plugin's OAuth2 token-endpoint proxy accepts unauthenticated requests and appends the broker's configured management.oauth_client_secret before relaying them to the identity provider, letting an anonymous peer mint a privileged JWT. In the reporter's testing the token created an administrator account through the management API and was accepted by the AMQP 0-9-1 listener.

By

Key facts

IdentifiersTL-2026-7071, CVE-2026-57219, CVE-2026-67410
Also known asGHSA-cfvg-5q96-8mhm
SeverityCRITICAL
CVSS9.1 (CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N)
First disclosed
EPSSCVE-2026-57219: 2.0% (81.6th percentile); CVE-2026-67410: 0.6% (43.4th percentile)
Affected productsBroadcom / VMware (RabbitMQ) RabbitMQ Server (management plugin with OAuth2)
Weaknesses (CWE)CWE-306
MITRE ATT&CK techniquesT1078 Valid Accounts, T1098 Account Manipulation, T1136 Create Account, T1190 Exploit Public-Facing Application, T1213 Data from Information Repositories, T1485 Data Destruction, T1528 Steal Application Access Token, T1550.001 Application Access Token, T1565 Data Manipulation
MotivationUNKNOWN
Target sectorstechnology, finance, telecoms, retail, health
Target regionsGlobal
Detection rules9 (1 shown free)
Sources9 cited sources

Detection coverage

As of 2026-11-30, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-7071 across Splunk SPL, Microsoft KQL and Sigma, covering 11 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: RabbitMQ Management OAuth2 Token-Endpoint Proxy POST (GHSA-cfvg-5q96-8mhm) — Exploitation

Detects POST requests to the RabbitMQ management plugin's OAuth2 token-endpoint proxy (/js/oidc-oauth/token-endpoint/<resource-server-id>). On vulnerable builds (4.4.0, 4.3.3-4.3.7, 4.2.9-4.2.12) this route performs no caller authentication and appends management.oauth_client_secret before relaying to the identity provider, letting an anonymous peer mint a privileged JWT. Requests are scoped by internal/external source so externally sourced hits can be triaged first. Legitimate SSO logins via the management UI also use this route, so baseline against known admin sources.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1190, T1528
  • Data sources: web_access_logs, reverse_proxy_logs, rabbitmq_management_http_log
  • Severity: high
  • Confidence: medium

Splunk SPL

index=web sourcetype=access_combined earliest=-24h method=POST uri_path="/js/oidc-oauth/token-endpoint/*" | eval src_scope=if(cidrmatch("10.0.0.0/8",clientip) OR cidrmatch("172.16.0.0/12",clientip) OR cidrmatch("192.168.0.0/16",clientip),"internal","external") | stats count AS requests min(_time) AS first_seen max(_time) AS last_seen values(status) AS http_status values(useragent) AS user_agents values(uri_path) AS token_proxy_paths BY clientip src_scope host | eval first_seen=strftime(first_seen,"%Y-%m-%dT%H:%M:%SZ"), last_seen=strftime(last_seen,"%Y-%m-%dT%H:%M:%SZ"), detection="TL-2026-7071 GHSA-cfvg-5q96-8mhm RabbitMQ OAuth2 token-endpoint proxy POST (T1190/T1528)" | sort - requests

Microsoft KQL

CommonSecurityLog
| where TimeGenerated > ago(24h)
| where RequestMethod =~ "POST"
| where RequestURL contains "/js/oidc-oauth/token-endpoint/"
| summarize Requests = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated), UserAgents = make_set(RequestClientApplication, 10), Urls = make_set(RequestURL, 10) by SourceIP, DestinationIP, DestinationPort
| project FirstSeen, LastSeen, SourceIP, DestinationIP, DestinationPort, Requests, UserAgents, Urls
| order by Requests desc

Sigma

title: RabbitMQ Management OAuth2 Token-Endpoint Proxy POST (GHSA-cfvg-5q96-8mhm)
id: 7c1e4a52-3b9d-4f6a-8e21-5d0a9b7c3f01
status: experimental
description: Detects POST requests to the RabbitMQ management OAuth2 token-endpoint proxy. On vulnerable versions the route is unauthenticated and the broker injects management.oauth_client_secret, allowing anonymous minting of a privileged JWT.
references:
    - https://github.com/rabbitmq/rabbitmq-server/security/advisories/GHSA-cfvg-5q96-8mhm
    - https://github.com/rabbitmq/rabbitmq-server/pull/17937
author: Threadlinqs Team
date: 2026/11/30
tags:
    - attack.initial-access
    - attack.t1190
    - attack.credential-access
    - attack.t1528
logsource:
    category: webserver
detection:
    selection:
        cs-method: 'POST'
        cs-uri-stem|contains: '/js/oidc-oauth/token-endpoint/'
    condition: selection
falsepositives:
    - Legitimate interactive SSO logins through the RabbitMQ management UI (authorization_code exchange)
    - Authorized vulnerability scanning of the management listener
level: high

Known false positives:

  • Legitimate interactive SSO logins through the RabbitMQ management UI also POST to the token-endpoint proxy
  • Authorized vulnerability scans or red-team activity against the management listener on TCP 15672

Tuning notes: RabbitMQ does not write HTTP access logs by default; enable management.http_log_dir or log at the authenticating reverse proxy in front of port 15672 and point index/sourcetype at that source. Baseline known admin source IPs and browser user agents, then alert on external sources or non-browser clients. Prioritize hosts running 4.4.0, 4.3.3-4.3.7 or 4.2.9-4.2.12 with management.oauth_enabled = true. Patched builds (4.4.1, 4.3.8, 4.2.13) still show the route, so keep this as a hunting signal after patching.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account)
  • RabbitMQ Three-Stage Exploit Chain: Token Mint, whoami Check, Privileged User Write · unlock with TL Creds
  • RabbitMQ Queue Purge via Management API (Data Destruction With Token Session) · unlock with TL Creds
  • Identity Provider Token Issuance to RabbitMQ Management Client From Unexpected Source · unlock with TL Creds
  • Scripted Client POST to RabbitMQ OAuth2 Token-Endpoint Proxy · unlock with TL Creds
  • RabbitMQ Management API User, Tag or Permission Write · unlock with TL Creds
  • RabbitMQ Management API Message Read or Publish (Data Access and Tampering) · unlock with TL Creds
  • RabbitMQ New User Created or Administrator Tag Set (Persistence After Token Minting) · unlock with TL Creds
  • RabbitMQ AMQP 0-9-1 Login by Unexpected Principal or Broad Vhost Spread (Minted JWT Reuse) · unlock with TL Creds

Indicators of compromise

As of 2026-11-30, Threadlinqs Intelligence tracks 11 indicators of compromise for TL-2026-7071.

11 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

No in-the-wild exploitation is reported and no CVE has been assigned.

GHSA-cfvg-5q96-8mhm (titled 'Unauthenticated OAuth2 token-endpoint proxy allows anonymous privileged token minting') was published by RabbitMQ maintainer michaelklishin on 2026-11-27 and credits reporter shanz0ng. The management plugin exposes an OAuth2 token-endpoint proxy at /js/oidc-oauth/token-endpoint/<resource-server-id> without authenticating the caller. The route is defined in rabbit_mgmt_dispatcher.erl, and the proxy module rabbit_mgmt_oauth_token_proxy.erl lacks the is_authorized/3 callback. The proxy forwards the unauthenticated request body to the identity provider's token endpoint and, when the caller supplies no client secret, appends the configured management.oauth_client_secret. The broker therefore acts as a confidential OAuth2 client for anyone who can reach the management port, and an anonymous peer can obtain a signed JWT with attacker-chosen scope from a permissive identity provider.

Exploitation requires the documented OAuth2 management integration: rabbitmq_management and rabbitmq_auth_backend_oauth2 enabled, management.oauth_enabled = true with a client ID and management.oauth_client_secret set, an OAuth2 provider with a resource server, and a provider that grants the client administrator scopes. The advisory states no operator misconfiguration is required beyond this documented setup. Token privileges depend on what the identity provider allows that client to request.

The reporter validated the issue on the official rabbitmq:4.4.0-management Docker image in three stages: minting a token with no credentials, confirming administrator privileges through the management API, and using the token for a privileged write (creating an administrator account, which persists beyond token lifetime) and for AMQP data-plane access. The AMQP 0-9-1 listener accepted the token supplied as the SASL PLAIN password because audience validation is not bound to the listening plane, giving access across all vhosts (reading queued messages, publishing fraudulent messages, purging queues). The full standalone PoC was sent privately and is not public.

The fix (PR #17937) restricts the relayed grant types to authorization_code and refresh_token and ships in 4.4.1, with backports 4.3.8 and 4.2.13. Interim mitigations are removing management.oauth_client_secret (after checking SSO impact) or placing an authentication layer in front of the management port. Scoring: CVSS v4.0 9.1 (CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N) per the advisory; the reporter suggested CVSS 3.1 9.8. Two related observations (provider responsibility for fabricated code or refresh-token relays, and an iss assertion) were triaged separately. This flaw is distinct from earlier RabbitMQ management OAuth client-secret disclosure issues (e.g., CVE-2026-57219 / GHSA-pj24-8j6m-vq9q and CVE-2026-67410 / GHSA-f9f2-q3jf-wfj3).

MITRE ATT&CK techniques by tactic:

Initial Access

T1078 Valid Accounts; T1190 Exploit Public-Facing Application

Privilege Escalation

T1098 Account Manipulation

Persistence

T1136 Create Account

Collection

T1213 Data from Information Repositories

Impact

T1485 Data Destruction; T1565 Data Manipulation

Credential Access

T1528 Steal Application Access Token

Lateral Movement

T1550.001 Application Access Token

Remediation

Patches

  • Upgrade to RabbitMQ 4.4.1, 4.3.8 or 4.2.13 (PR #17937 restricts relayed grant types to authorization_code and refresh_token)

Immediate actions

  • Restrict network access to the RabbitMQ management listener to trusted administrative networks
  • Review identity provider logs for token issuance to the RabbitMQ management client that was not initiated by an interactive sign-in
  • Audit RabbitMQ users for unfamiliar administrator accounts and review permissions on all vhosts

Workarounds

  • Remove management.oauth_client_secret (verify impact on SSO first)
  • Place an authentication layer in front of the management port

Longer-term hardening

  • Do not expose the management plugin to untrusted networks; front it with an authenticating reverse proxy
  • Limit the scopes the identity provider grants to the RabbitMQ management OAuth client
  • Use a public PKCE client where a confidential client is not required

Affected and fixed versions

  • Broadcom / VMware (RabbitMQ) — RabbitMQ Server (management plugin with OAuth2)
    Vulnerable versions: 4.4.0; 4.3.3 - 4.3.7; 4.2.9 - 4.2.12
    Fixed in: 4.4.1; 4.3.8; 4.2.13

Timeline

  • Related RabbitMQ management OAuth issue CVE-2026-57219 (GHSA-pj24-8j6m-vq9q, client secret disclosure via unauthenticated endpoint) published; distinct from this flaw
  • PR #17937 'Improve OAuth 2 login' opened by lhoguin with commits 'OAuth 2 token proxy: only relay the management UI''s grant types' and 'Management: don''t crash on malformed login forms'
  • PR #17937 merged to main (commit cf3a94c) by michaelklishin; backports #17950 (v4.4.x) and #17956 (v4.3.x) merged the same day
  • Fixed versions 4.4.1, 4.3.8 and 4.2.13 listed in the advisory; the fix restricts proxied grant types to authorization_code and refresh_token
  • Advisory documents reporter's three-stage PoC against rabbitmq:4.4.0-management (token mint, admin confirmation, privileged write plus AMQP access); full PoC withheld and available on request
  • RabbitMQ maintainer michaelklishin publishes GHSA-cfvg-5q96-8mhm (Critical, CWE-306, CVSS v4.0 9.1), crediting reporter shanz0ng; no CVE assigned
  • GBHackers reports the flaw, noting controlled testing only and no exploitation in the wild, and recommends reviewing IdP token issuance and broker admin accounts

Sources cited

Previous and next in vulnerability

AI-drafted from 9 cited sources; published ; last updated —.

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats