Threat reportVulnerabilityTL-2026-7081
Critical RabbitMQ OAuth2 Management Token Proxy Flaw Allows Unauthenticated Admin Token Minting (GHSA-cfvg-5q96-8mhm, CVE pending)
The RabbitMQ management plugin's OAuth2 token-endpoint proxy answers unauthenticated callers and appends the broker's stored client secret to their requests, letting an anonymous caller obtain a signed token with whatever scopes the identity provider grants. Where the provider grants the broker client administrator scopes, this yields full admin access over the management API and AMQP across all virtual hosts.
Key facts
| Identifiers | TL-2026-7081, CVE-2026-57219, CVE-2026-67410 |
|---|---|
| Also known as | GHSA-cfvg-5q96-8mhm |
| Severity | CRITICAL |
| CVSS | 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) |
| EPSS | CVE-2026-57219: 2.0% (81.6th percentile); CVE-2026-67410: 0.6% (43.4th percentile) |
| Affected products | Broadcom / VMware (RabbitMQ) RabbitMQ Server (management plugin with OAuth2) |
| Weaknesses (CWE) | CWE-306 |
| MITRE ATT&CK techniques | T1078 Valid Accounts, T1136 Create Account, T1190 Exploit Public-Facing Application, T1213 Data from Information Repositories, T1528 Steal Application Access Token, T1550.001 Use Alternate Authentication Material: Application Access Token, T1552 Unsecured Credentials |
| Motivation | UNKNOWN |
| Target sectors | technology, finance, telecoms, health, retail, cloud services |
| Target regions | Global |
| Detection rules | 9 (1 shown free) |
| Sources | 10 cited sources |
Detection coverage
As of 2026-11-30, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-7081 across Splunk SPL, Microsoft KQL and Sigma, covering 9 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 OAuth2 Token Proxy Anonymous Token Minting from Non-Internal Source (GHSA-cfvg-5q96-8mhm) — Exploitation
Detects POST requests to the RabbitMQ management plugin OAuth2 token-endpoint proxy (/js/oidc-oauth/token-endpoint/ plus the resource-server-id suffix) from non-RFC1918 sources. The vulnerable proxy (rabbit_mgmt_oauth_token_proxy.erl, no is_authorized/3) answers anonymous callers and appends the broker's management.oauth_client_secret, so any external POST here is a token-minting attempt; HTTP 200 responses indicate a token was likely issued (CWE-306). Behaviour-first: keys on the vulnerable route, method and source rather than a payload hash.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1190, T1528
- Data sources: splunk:web:access_combined, reverse_proxy_access_logs, rabbitmq_management_http
- Severity: critical
- Confidence: high
Splunk SPL
index=web sourcetype=access_combined method=POST uri_path="/js/oidc-oauth/token-endpoint/*" earliest=-24h
| where NOT (cidrmatch("10.0.0.0/8",clientip) OR cidrmatch("172.16.0.0/12",clientip) OR cidrmatch("192.168.0.0/16",clientip))
| stats count AS requests, count(eval(status=200)) AS token_issued, values(status) AS statuses, values(uri_path) AS paths, min(_time) AS first_seen, max(_time) AS last_seen BY clientip, host
| eval severity=if(token_issued>0,"critical","high"), first_seen=strftime(first_seen,"%F %T"), last_seen=strftime(last_seen,"%F %T")
| table first_seen last_seen clientip host requests token_issued statuses paths severityMicrosoft KQL
CommonSecurityLog
| where TimeGenerated > ago(24h)
| where RequestMethod =~ "POST"
| where RequestURL has "/js/oidc-oauth/token-endpoint/"
| where not(ipv4_is_private(SourceIP))
| summarize Requests=count(), FirstSeen=min(TimeGenerated), LastSeen=max(TimeGenerated), Urls=make_set(RequestURL, 10) by SourceIP, DestinationIP, DeviceVendor, DeviceProduct
| project FirstSeen, LastSeen, SourceIP, DestinationIP, DeviceVendor, DeviceProduct, Requests, UrlsSigma
title: RabbitMQ OAuth2 Token Proxy Anonymous Token Request (GHSA-cfvg-5q96-8mhm)
id: 7c1e4a52-3b8d-4f6a-9e21-5d0a8b7c3f10
status: experimental
description: Detects POST requests to the RabbitMQ management OAuth2 token-endpoint proxy from non-internal sources. The vulnerable proxy lacks authentication and appends the broker client secret, allowing anonymous minting of privileged tokens.
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'
c-uri|contains: '/js/oidc-oauth/token-endpoint/'
filter_internal:
c-ip|cidr:
- '10.0.0.0/8'
- '172.16.0.0/12'
- '192.168.0.0/16'
- '127.0.0.0/8'
condition: selection and not filter_internal
falsepositives:
- Legitimate OAuth2 browser logins routed through an external reverse proxy or load balancer that masks the client address (the fixed versions still serve authorization_code and refresh_token grants on this path)
- External penetration tests or vulnerability scanners
level: criticalKnown false positives:
- Legitimate OAuth2 login flows (authorization_code / refresh_token) proxied via this path when the client IP is masked by an external proxy or CDN
- Authorized external vulnerability scans or penetration tests against the management port
Tuning notes: Set index/sourcetype to wherever the reverse proxy or management listener access log lands and map clientip to the true client (X-Forwarded-For). Replace the RFC1918 allowlist with your actual management/jump-host ranges. On patched brokers (4.4.1/4.3.8/4.2.13) legitimate logins still hit this path, so baseline by source and add a body field check (grant_type=client_credentials|password) if request bodies are logged. Any HTTP 200 from an untrusted source on an unpatched broker should be treated as a confirmed token mint.
- RabbitMQ OAuth2 Client-Secret Recon Followed by Token Endpoint Minting · unlock with TL Creds
- RabbitMQ Management API User Creation (PUT /api/users) from Non-Internal Source · unlock with TL Creds
- Public Inbound Connection to RabbitMQ Management (15672) or AMQP (5672) Listener on Endpoint · unlock with TL Creds
- RabbitMQ Token Endpoint Request with client_credentials or password Grant · unlock with TL Creds
- RabbitMQ Management API Definitions Export or Message Fetch from Non-Internal Source · unlock with TL Creds
- Firewall Allowed Public Traffic to RabbitMQ Management and AMQP Ports · unlock with TL Creds
- RabbitMQ Administrator User Created or Tagged via Broker Log (Post-Token-Minting Persistence) · unlock with TL Creds
- RabbitMQ AMQP Connection Accepted from Non-Internal Source (Minted JWT in SASL PLAIN) · unlock with TL Creds
Indicators of compromise
As of 2026-11-30, Threadlinqs Intelligence tracks 9 indicators of compromise for TL-2026-7081.
Technical analysis
Fixed in 4.4.1, 4.3.8 and 4.2.13.
GHSA-cfvg-5q96-8mhm (no CVE assigned at publication, CWE-306 Missing Authentication for Critical Functionality) affects the RabbitMQ management plugin when deployed using the documented OAuth2 setup: management and OAuth2 plugins enabled and management.oauth_client_secret configured. The management plugin exposes a token-endpoint proxy at /js/oidc-oauth/token-endpoint/<resource-server-id> (the proof of concept uses port 15672). The proxy was added in 4.3.3 (July 2026) to fix OAuth2 logins failing in Safari.
Root cause: the route in rabbit_mgmt_dispatcher.erl is registered without an authentication context, and rabbit_mgmt_oauth_token_proxy.erl does not implement the is_authorized/3 callback that other authenticated management resources implement, so it is reachable anonymously. The proxy appends the configured client secret to requests that lack one and relays other form parameters, including scope, unchanged. An anonymous request with grant_type=client_credentials or grant_type=password can therefore cause the broker to act as its own OAuth2 client and obtain a signed JWT with attacker-chosen scope from a permissive identity provider.
Impact: the minted token works against the management HTTP API and, when placed in the SASL PLAIN password field, against the AMQP 0-9-1 listener. The reporter (shanz0ng) demonstrated, on the official 4.4.0 management Docker image, minting a token with no credentials, confirming administrator rights, creating a persistent administrator account, and logging in over AMQP with the same token, giving queue operations on any virtual host. Full admin access requires an identity provider that grants the broker client administrator scopes. Patching does not remove administrator accounts created through the flaw, and the advisory does not describe how operators can tell whether tokens were already minted.
The fix (PR #17937, merged 2026-10-22, backported to 4.3.x and 4.4.x) restricts the proxy to the authorization_code and refresh_token grant types used by the management login. Fixed releases shipped 2026-11-16; the advisory was published 2026-11-27. The 4.2 branch has no community fix (community support ended July 31); 4.2.13 is available through Broadcom commercial support. No exploitation in the wild was reported at publication. The flaw follows two OAuth flaws disclosed in July 2026 (CVE-2026-57219, an obsolete GET /api/auth endpoint leaking the client secret, and CVE-2026-67410, client secret exposure via /js/oidc-oauth/bootstrap.js).
MITRE ATT&CK techniques by tactic:
Privilege Escalation
Persistence
Initial Access
T1190 Exploit Public-Facing Application
Collection
T1213 Data from Information Repositories
Credential Access
T1528 Steal Application Access Token; T1552 Unsecured Credentials
Lateral Movement
T1550.001 Use Alternate Authentication Material: Application Access Token
Remediation
Patches
- RabbitMQ 4.4.1
- RabbitMQ 4.3.8
- RabbitMQ 4.2.13 (Broadcom commercial support only)
Immediate actions
- Upgrade to RabbitMQ 4.4.1 or 4.3.8 (4.2.13 via Broadcom commercial support for the 4.2 branch)
- Audit the broker for unexpected administrator users and rotate management.oauth_client_secret, since patching does not remove accounts created via the flaw
- Review access logs for unauthenticated requests to /js/oidc-oauth/token-endpoint/ on the management port
Workarounds
- Remove management.oauth_client_secret (may break IdPs that require the secret for login or token refresh)
- Place authentication in front of the management port
Longer-term hardening
- Do not expose the management port (15672) to untrusted networks
- Configure the identity provider so the broker's client does not receive administrator scopes unless required
- Monitor administrator user creation and AMQP logins using OAuth2 tokens
Affected and fixed versions
- Broadcom / VMware (RabbitMQ) — RabbitMQ Server (management plugin with OAuth2)
Vulnerable versions: 4.4.0 up to but not including 4.4.1; 4.3.3 up to but not including 4.3.8; 4.2.9 up to but not including 4.2.13
Fixed in: 4.4.1; 4.3.8; 4.2.13
Timeline
- Two earlier RabbitMQ OAuth/management flaws (CVE-2026-57219, CVE-2026-57221) publicly reported by Miggo; fixed in 4.3.0, 4.2.6, 4.1.11, 4.0.20 and 3.13.15
- Community support for the RabbitMQ 4.2 branch ended; later 4.2.13 fix is available only through Broadcom commercial support
- Fix PR #17937 'Improve OAuth 2 login' opened by lhoguin
- PR #17937 merged to main (commit cf3a94c) restricting the OAuth 2 token proxy to authorization_code and refresh_token grants; backported to 4.3.x and 4.4.x
- RabbitMQ 4.4.1 and 4.3.8 released with the fix
- GHSA-cfvg-5q96-8mhm published (Critical, CVSS v4.0 9.1, CWE-306), crediting shanz0ng; no CVE assigned
- The Hacker News reports the flaw; no attacks observed at publication
Sources cited
- GHSA-cfvg-5q96-8mhm: Unauthenticated OAuth2 token-endpoint proxy allows anonymous privileged token minting GitHub · Advisory · 2026-11-27
- CVE-2026-57219 (OSV) - RabbitMQ GET /api/auth client secret exposure osv.dev · Advisory
- CVE-2026-67410 (Tenable) - RabbitMQ OAuth2 client secret exposed via bootstrap.js Tenable · Advisory
- RabbitMQ release information rabbitmq.com · Vendor report
- RabbitMQ security advisories index rabbitmq.com · Vendor report
- RabbitMQ management plugin documentation rabbitmq.com · Vendor report
- rabbitmq-server PR #17937: Improve OAuth 2 login (fix) GitHub · Code repository · 2026-10-22
- RabbitMQ v4.3.3 release notes GitHub · Code repository
- Critical RabbitMQ OAuth2 Flaw Could Grant Admin Access Without Credentials (The Hacker News) The Hacker News · News · 2026-11-30
- RabbitMQ Flaws Could Leak OAuth Secrets (The Hacker News) The Hacker News · News · 2026-07-14
AI-drafted from 10 cited sources; published ; last updated —.