Research

RabbitMQ's OAuth2 Login Mints Admin Tokens for Anyone Who Asks, and Erlang/OTP's TLS Client Trusts a Server With No Certificate (CVE-2026-124286). Upgrade Both.

RabbitMQ's OAuth2 Login Mints Admin Tokens for Anyone Who Asks, and Erlang/OTP's TLS Client Trusts a Server With No Certificate (CVE-2026-124286). Upgrade Both.

What to do first. Two critical bugs landed in the same stack this week, and the second one sits underneath the first. If you run RabbitMQ with OAuth2 login on the management UI, upgrade to RabbitMQ 4.4.1 or 4.3.8 today, or remove the management.oauth_client_secret line from rabbitmq.conf until you can. If you run anything on Erlang/OTP that makes outbound TLS connections (RabbitMQ, Elixir and Phoenix apps, ejabberd, CouchDB, your own Erlang services), move OTP to 29.0.3, 28.5.0.9 or 27.3.4.14 or later. OTP 28 is the line to check hardest: the fix had already shipped on 29 and 27 as unrelated hardening and was missed on 28.

Neither bug is in CISA's Known Exploited Vulnerabilities catalog (catalog version 2026.11.27, checked today), and neither advisory reports exploitation in the wild. That is the window. The RabbitMQ advisory includes a four-step working proof of concept, so the window is not wide.

Bug one: RabbitMQ hands out privileged tokens to anonymous callers (GHSA-cfvg-5q96-8mhm)

The RabbitMQ maintainers published GitHub advisory GHSA-cfvg-5q96-8mhm on November 27, 2026, rated critical, CVSS 4.0 score 9.1. No CVE id is assigned to it as of today. The title says it plainly: "Unauthenticated OAuth2 token-endpoint proxy allows anonymous privileged token minting."

What it does, in the advisory's words: the management plugin exposes the OAuth2 token-endpoint proxy at /js/oidc-oauth/token-endpoint/(resource-server-id) "without any caller authentication." When the caller does not supply a client secret, the broker appends its own configured management.oauth_client_secret and forwards the request to your identity provider. Every other form field, including scope, is relayed verbatim. So the broker acts "as a confidential OAuth2 client on behalf of any anonymous network peer."

The consequence, all marked "verified in testing" by the reporter: one unauthenticated POST with grant_type=client_credentials returns a signed token with the attacker's chosen scope. That token works on the management API (the PoC shows /api/whoami answering with the administrator tag and a new persistent administrator account created with a PUT to /api/users). It also works on the AMQP 0-9-1 listener when placed in the SASL PLAIN password field, which means every queue on every vhost can be read, forged, purged and deleted. Management port compromise becomes data plane compromise.

Who is exposed: deployments using the documented OAuth2 single sign-on setup for the management UI, meaning the oauth2 auth backend enabled, a resource server configured, and management.oauth_client_secret set. The advisory stresses that "no operator misconfiguration is involved; the affected setup is the documented one." How bad the token is depends on what your identity provider will grant that client. The reference setups in RabbitMQ's own OAuth2 guide grant administrator scopes.

Affected and fixed, per the advisory's version table:

  • 4.4.0 is affected. Fixed in 4.4.1.
  • 4.3.3 through 4.3.7 are affected. Fixed in 4.3.8.
  • 4.2.9 through 4.2.12 are affected. Fixed in 4.2.13. (We found public GitHub releases for 4.4.1 and 4.3.8, both dated November 16, 2026. We did not find a public 4.2.13 tag on GitHub; if you are on the 4.2 line, get it through your Broadcom support channel.)

The fix is RabbitMQ pull request 17937, "Improve OAuth 2 login," merged October 22. It restricts what the proxy will relay to the authorization_code and refresh_token grant types. The fixed releases shipped November 16, and the advisory followed November 27. The 4.4.1 release notes do not name the security fix, so anyone who skipped 4.4.1 because the notes looked routine should go back.

Interim mitigations, from the advisory: remove management.oauth_client_secret from the config, or put authentication in front of the management port. The cheaper and better version of the second one is to make sure port 15672 is not reachable from anywhere it does not need to be. A message broker's admin UI does not belong on the internet in the first place.

Bug two: Erlang/OTP's TLS 1.2 client accepts a server that never shows a certificate ([CVE-2026-124286](https://analytics.dugganusa.com/api/v1/dredd/kev-gap?cve=CVE-2026-124286))

The Erlang/OTP team published GHSA-7mff-v332-665j on November 24, 2026, rated critical, CVSS 4.0 score 9.1, weakness CWE-347 (improper verification of a cryptographic signature). It carries CVE-2026-124286, and it is the subject of the headline, not a side mention. It was one of ten OTP advisories published that day (one critical, three high, five medium, one low); the others are denial-of-service and parsing bugs in binary_to_term, the XML scanner, inets, SNMP and the AArch64 JIT, and they are fixed in the same patch releases.

What it does, quoting the advisory: "An Erlang/OTP TLS client configured with full server authentication completes a TLS 1.2 handshake, for example an ECDHE_RSA cipher suite, when a malicious server sends no Certificate message and an unsigned ServerKeyExchange." In plain terms, the client asks for a certificate, never gets one, and connects anyway.

Impact, per the advisory: "An attacker in a man-in-the-middle position can therefore impersonate any TLS server to an affected client, and read and modify all traffic, even when the client is configured for full server authentication." That includes the textbook-correct configuration with verify_peer, the system CA store and server name indication set. The attacker picks the cipher suite, so it does not matter what key type the real server uses. The advisory states that "any client that offers TLS 1.2 and one of the affected key exchanges is vulnerable, which is the case for the default client configuration."

What is not affected, per the advisory: TLS 1.3 connections, cipher suites with no ServerKeyExchange (RSA key transport, ECDH_RSA, ECDH_ECDSA), and servers. This is a client-side bug. Your Erlang service accepting inbound TLS is fine. Your Erlang service calling out over TLS is the one that can be fooled.

Affected and fixed, per the advisory: every OTP from 17.0 on, ssl application 5.3.4 and later. Fixed in OTP 29.0.3, 28.5.0.9 and 27.3.4.14, which correspond to ssl 11.7.3, 11.6.0.8 and 11.2.12.10. OTP 26 and older have no listed fix. If you are still there, this is the push to move.

Workaround, per the advisory: restrict clients to TLS 1.3 (versions set to tlsv1.3 only). It also describes a last-resort option of offering only static RSA key transport suites on TLS 1.2, and says itself this is "not recommended": no forward secrecy, and many servers will refuse it.

Why the two belong in one post

RabbitMQ is an Erlang application. Every RabbitMQ node runs on an Erlang/OTP runtime, and that runtime's TLS client is what RabbitMQ uses when it reaches out: to fetch signing keys from your identity provider's JWKS endpoint for OAuth2, to connect federation and shovel links to remote brokers over TLS, to talk to LDAP over TLS, and for peer discovery. The connection is our reading of how RabbitMQ works, not something either advisory states: neither advisory mentions the other. But the practical point stands on its own. Patching RabbitMQ to 4.4.1 does not patch the Erlang underneath it, and the RabbitMQ release notes set only a minimum Erlang version (27.0 for the 4.3 and 4.4 lines), not a patched one. If your broker runs on OTP 28 below 28.5.0.9, the OAuth2 fix is in and the TLS client below it is still open.

One detail from the RabbitMQ advisory's own test environment: the official rabbitmq:4.4.0-management Docker image the reporter used ran Erlang/OTP 29.1.2, which is past the 29.0.3 fix for the TLS bug. Container users who pull official images are likely ahead on bug two. Distribution packages and hand-built runtimes are where to look.

Am I affected? Check these tonight

RabbitMQ version. Run rabbitmqctl version on each node, or rabbitmq-diagnostics status. Anything at 4.4.0, 4.3.3 to 4.3.7, or 4.2.9 to 4.2.12 is in range.

Is OAuth2 login on? In rabbitmq.conf, look for management.oauth_enabled = true together with a management.oauth_client_secret line. A grep for "management.oauth_client_secret" across your config directory (usually /etc/rabbitmq) answers the question fastest. Then run rabbitmq-plugins list -e and check whether rabbitmq_auth_backend_oauth2 is enabled. All three present and an affected version means you are exposed to bug one. If you use the advanced.config Erlang-term format instead, look for oauth_client_secret under the rabbitmq_management section.

Was the token endpoint hit? Search your reverse proxy or load balancer logs, and RabbitMQ's HTTP access log if you enabled it, for POST requests to /js/oidc-oauth/token-endpoint/ that did not come from a browser session doing a normal login. Then look at your identity provider's token logs for client_credentials or password grants issued to the RabbitMQ management client: a single-page login flow should only ever produce authorization_code and refresh_token grants, so anything else is worth a hard look. Finally, run rabbitmqctl list_users and look for accounts you did not create, especially with the administrator tag.

Erlang/OTP version, the exact one. On a RabbitMQ node, rabbitmq-diagnostics erlang_version prints the full runtime version. For any other Erlang install, erl -noshell -eval 'io:format("~s~n", [erlang:system_info(otp_release)]), halt().' gives only the major release (for example 28), which is not enough. For the full version, read the file releases/(major)/OTP_VERSION under the Erlang root directory; erl -noshell -eval 'io:format("~s~n", [code:root_dir()]), halt().' prints that root. A full version like 28.4.2 is affected; 28.5.0.9 or later is fixed. For Elixir apps, elixir --version shows the OTP major it runs on, and the same OTP_VERSION file gives the rest.

ssl application version, if you ship releases and want the library number: erl -noshell -eval 'application:load(ssl), {ok, V} = application:get_key(ssl, vsn), io:format("~s~n", [V]), halt().' Fixed is ssl 11.7.3, 11.6.0.8 or 11.2.12.10 on their respective lines.

Do your clients use TLS 1.2 at all? If a service's ssl options pin versions to tlsv1.3 only, bug two cannot reach it. Default client options offer TLS 1.2, so unless someone set that on purpose, assume they do.

How we know, and what we could not see

We read both primaries directly: the RabbitMQ GitHub security advisory GHSA-cfvg-5q96-8mhm (with its version table, root cause and proof of concept) and the Erlang/OTP GitHub security advisory GHSA-7mff-v332-665j for CVE-2026-124286. We checked the RabbitMQ release tags and pull request 17937 on GitHub for dates, and the CISA KEV JSON for listing status. The Hacker News covered both on November 30; its text agrees with the primaries.

Exploitation: neither advisory reports exploitation in the wild, and neither is in CISA KEV. The only prior Erlang/OTP entry in KEV is the 2025 SSH bug, CVE-2025-32433, added on Monday, June 9, 2025. Our deterministic gap list also showed no VulnCheck KEV listing for CVE-2026-124286 in the last five days.

Our edge: we searched every edge instrument we have for the RabbitMQ management paths (/js/oidc-oauth, /api/whoami, /api/overview) since October 15: 728,710 edge block records, 124,881 edge canary records and 1,178 origin honeypot captures. Zero matches in all three. Read that carefully. We do not run RabbitMQ, our zones do not expose port 15672, and we have no canary trap for RabbitMQ, so zero means we were not probed on those paths on our web zones, not that nobody is scanning for brokers. Bug two is a TLS handshake flaw used from a man-in-the-middle position: it has no HTTP path at all, and our edge cannot observe it either way.

Indicators: none published in the sources we read, so we added none to the feed. Neither advisory names attackers or infrastructure.

Not verified: we did not run either proof of concept. We did not independently confirm the 4.2.13 release, which is not on RabbitMQ's public GitHub releases. The point that RabbitMQ's outbound TLS connections inherit bug two is our reading of RabbitMQ's architecture, not a statement in either advisory, and we did not test it.

Sources

Read next: the last time the Erlang world made headlines, it was the package registry itself. Hex.pm Was Breached Through a Bug That Sat in Its Code Since 2016.


Every indicator in this post is in the feed. Free.

1.58M+ IOCs, STIX 2.1 / TAXII, 88% novel vs ThreatFox, exploited-CVE leads ahead of CISA. No credit card — a free API key in 30 seconds, and you can audit every claim above against the live endpoints.

Get your free key → analytics.dugganusa.com/stix/register