A critical RabbitMQ OAuth2 vulnerability lets anyone who can reach the management port ask the broker for a signed access token, with whatever scope they like, and get one back. No password, no client secret, no prior foothold. If your identity provider hands the broker’s client administrator scopes (which is how the reference setups in RabbitMQ’s own OAuth2 guide work), that token is an admin key to both the management UI and every virtual host over AMQP.
The flaw is tracked as GHSA-cfvg-5q96-8mhm and scored 9.1 on CVSS v4. It affects RabbitMQ 4.4.0 and some recent 4.3 and 4.2 patch releases, but only when the management UI is wired to an OAuth2 provider as a confidential client. Fixes shipped quietly in 4.4.1 and 4.3.8 on November 16, 2026; the advisory followed on November 27. There’s no CVE yet.
| Advisory ID | GHSA-cfvg-5q96-8mhm (CVE pending) |
| Affected product | RabbitMQ server, management plugin OAuth2 token-endpoint proxy |
| Affected versions | 4.4.0; 4.3.3 to 4.3.7; 4.2.9 to 4.2.12 |
| Fixed versions | 4.4.1, 4.3.8 (open source); 4.2.13 (Enterprise Support only) |
| Severity | Critical, CVSS v4 9.1 (CWE-306, missing authentication) |
| Exploited in the wild | No known exploitation as of November 30, 2026 |
| CISA KEV | Not listed as of November 30, 2026 |
| Workaround | Yes: remove management.oauth_client_secret or put authentication in front of the management port |
| Published | November 27, 2026 |
TL;DR
- Check whether you run 4.4.0, 4.3.3–4.3.7 or 4.2.9–4.2.12 with
management.oauth_client_secretset. - Upgrade to 4.4.1 or 4.3.8. On community 4.2, move to 4.3.8 or 4.4.1; the 4.2 fix is commercial-only.
- Can’t patch today? Remove the client secret or block the management port from untrusted networks.
- After patching, audit users for unexpected administrators. Upgrading doesn’t remove them.
What happened
The issue sat in a small piece of glue code. When you enable OAuth2 single sign-on for the management UI and give RabbitMQ a client secret, the broker acts as a confidential OAuth2 client. The browser-based UI can’t hold that secret, so the management plugin exposes a proxy endpoint that forwards token requests to your identity provider and attaches the secret on the way.
That proxy was registered without any authentication check, and it relayed whatever the caller sent, grant type and scope included. The fix, merged on October 22 in pull request #17937, limits the proxy to the two grant types the UI actually uses during login: authorization_code and refresh_token.
| Date | Event |
|---|---|
| July 2026 | RabbitMQ 4.2.9 (July 20) and 4.3.3 ship with the token proxy; both are the first affected releases in their series |
| July 31, 2026 | Community support for the 4.2 series ends |
| October 22, 2026 | Fix merged on the main branch and backported to 4.3.x and 4.4.x |
| November 16, 2026 | RabbitMQ 4.4.1 and 4.3.8 released with the fix |
| November 27, 2026 | GHSA-cfvg-5q96-8mhm published alongside six other server advisories |
Note the 11-day gap between the releases and the advisory. Anyone who updates on a schedule, rather than on advisories, may already be fixed. Anyone who waits for a CVE feed to flag it is still waiting: as of today there isn’t one.
How the RabbitMQ OAuth2 vulnerability works
Think of the broker as a receptionist who holds the company’s master badge-printing card. The proxy was supposed to let employees who’d already started a login flow finish it. Instead, it printed a badge for anyone who walked up and asked, and let them write their own job title on it.
In practice, an unauthenticated HTTP POST to the token-endpoint path under /js/oidc-oauth/ with a client_credentials (or password) grant reaches the identity provider looking exactly like a legitimate request from RabbitMQ, secret and all. The provider signs a JWT. Whether that token is dangerous depends on what scopes your provider is willing to grant to the broker’s client:
- Permissive provider (administrator scopes allowed for the management client): full takeover. The reporter showed creating a persistent administrator account through the HTTP API.
- Data plane too: RabbitMQ’s OAuth2 backend accepts the same token as an AMQP 0-9-1 password, so the attacker can read, publish, purge and delete messages on any virtual host.
- Locked-down provider (client can’t get admin or wildcard scopes): the blast radius shrinks to whatever that client is allowed, but it’s still unauthenticated access you didn’t intend.
The CVSS v4 vector marks attack requirements as “present” because you need the OAuth2 management setup for any of this to apply. That’s fair, but don’t read it as “unlikely”: the advisory stresses that the vulnerable configuration is the documented one, not a misconfiguration.
Other RabbitMQ security advisories in the same batch
The same November 27 release cycle fixed six more server issues. None is as serious, but if you’re upgrading anyway, they’re a good reason not to stop at a partial patch:
| Advisory | Severity | Issue |
|---|---|---|
| GHSA-c22p-g5xq-x5jm | High | CSRF in the management API via text/plain bodies |
| GHSA-hqjp-fc45-wj4f | Medium | LDAP backend lets a username widen its own permissions |
| GHSA-4965-vg44-xv63 | Medium | AMQP 1.0 annotations crash consumer sessions |
| GHSA-6q46-pxw7-rfv2 | Low | Auth cache accepts expired OAuth JWTs for new management operations |
| GHSA-8c56-38wg-g99q | Low | Dead-letter exchange bypasses topic-level authorization |
| GHSA-w4p7-ffvp-qv8g | Low | Predictable direct reply-to key (fixed in 4.3.7 / 4.2.12) |
Several of these reach back to 3.13 and 4.1, where fixes (3.13.22, 4.1.18) are available only to commercial customers.
Am I affected by the RabbitMQ vulnerability?
You need all of the following for this specific flaw. Work through the list, then use the commands below to confirm.
Tick everything that applies to you
Ticked the first four? You're vulnerable; patch now. The last two decide how bad it gets. Ticks reset when you reload the page.
Check the server version (on the node, in a container, or in a Kubernetes pod)
# Bare metal / VM
sudo rabbitmq-diagnostics server_version
# Docker
docker exec <container> rabbitmq-diagnostics server_version
# Kubernetes (Cluster Operator)
kubectl exec -n <namespace> <cluster-name>-server-0 -c rabbitmq -- rabbitmq-diagnostics server_version
Check whether the vulnerable OAuth2 setup is configured
# Enabled plugins
sudo rabbitmq-plugins list -e | grep -E 'rabbitmq_management|rabbitmq_auth_backend_oauth2'
# OAuth2 management settings (adjust the path if you use a different config file)
sudo grep -E '^management\.oauth_(enabled|client_secret)' /etc/rabbitmq/rabbitmq.conf
# Kubernetes: the config lives in the RabbitmqCluster spec
kubectl get rabbitmqcluster <cluster-name> -n <namespace> -o yaml | grep -E 'oauth_(enabled|client_secret)'
Check who can reach the management port
sudo ss -tlnp | grep -E ':1567[12]'
If the listener is bound to 0.0.0.0 or [::] and no firewall, security group or proxy restricts it, assume anyone on that network can reach the proxy.
| Series | Affected | Fixed | Availability |
|---|---|---|---|
| 4.4.x | 4.4.0 | 4.4.1 | Open source and commercial |
| 4.3.x | 4.3.3 – 4.3.7 | 4.3.8 | Open source and commercial |
| 4.2.x | 4.2.9 – 4.2.12 | 4.2.13 | Enterprise Support only |
The 4.2 row is the trap. Community support for 4.2 ended on July 31, and the newest 4.2 image on Docker Hub is 4.2.9, which is affected. If you’re on community 4.2 with OAuth2 SSO, your free fix is a minor-version upgrade, not a patch bump.
Disclaimer: These steps are general guidance based on the vendor’s published advisory and are provided as-is. Every environment is different: test in a staging environment, take a full backup or snapshot first, and follow the vendor’s official documentation. SysOpsTechnix accepts no responsibility for outages, data loss or other damage resulting from applying these steps. See our Terms of Use.
How to fix the RabbitMQ OAuth2 vulnerability (upgrade to 4.4.1 or 4.3.8)

There’s one real fix for the RabbitMQ OAuth2 vulnerability: get onto a release with the patched proxy. Both 4.4.1 and 4.3.8 need Erlang/OTP 27.0 or later, so check that first if your Erlang comes from a separate package. In a cluster, upgrade one node at a time and let queues settle between nodes.
Step 1: Back up definitions and check feature flags
Exporting definitions saves users, vhosts, permissions, policies, queues and bindings (not messages). Take a VM snapshot or volume backup as well if you can. Before any minor-version jump, such as 4.2 to 4.3, make sure all stable feature flags are enabled; RabbitMQ refuses to start a node on the newer version otherwise.
Export definitions and enable feature flags (run on one node)
sudo rabbitmqctl export_definitions /root/rabbitmq-definitions-$(date +%F).json
sudo rabbitmqctl list_feature_flags
sudo rabbitmqctl enable_feature_flag all
Step 2: Upgrade Linux packages (Debian, Ubuntu, RHEL)
A RabbitMQ upgrade from packages is routine. This assumes you install from Team RabbitMQ’s apt or yum repositories, which carry current releases. On a cluster, drain the node first so client connections and queue leaders move elsewhere, upgrade, start it, and wait for it to rejoin before moving to the next node.
Debian / Ubuntu, one node at a time
sudo rabbitmq-upgrade drain
sudo apt-get update
sudo apt-get install --only-upgrade rabbitmq-server
sudo systemctl restart rabbitmq-server
sudo rabbitmq-upgrade revive
sudo rabbitmq-diagnostics server_version
RHEL, Rocky, AlmaLinux, Fedora, one node at a time
sudo rabbitmq-upgrade drain
sudo dnf upgrade rabbitmq-server
sudo systemctl restart rabbitmq-server
sudo rabbitmq-upgrade revive
sudo rabbitmq-diagnostics server_version
If you pinned a version in apt preferences or dnf versionlock, update the pin first, or the upgrade will silently do nothing.
Step 3: Update Docker containers
Official images are tagged by exact version. Floating tags like 4.4-management already point to 4.4.1, but only if you pull again. Pin the exact tag so you know what’s running.
docker-compose.yml (excerpt)
services:
rabbitmq:
image: rabbitmq:4.4.1-management # or rabbitmq:4.3.8-management
Pull and recreate the container
docker compose pull rabbitmq
docker compose up -d rabbitmq
docker compose exec rabbitmq rabbitmq-diagnostics server_version
Make sure your data directory (/var/lib/rabbitmq) is on a volume; otherwise recreating the container wipes the node’s state.
Step 4: Upgrade on Kubernetes (Cluster Operator)
With the RabbitMQ Cluster Operator, the image is set in the RabbitmqCluster resource. Changing it triggers a rolling restart of the StatefulSet, one pod at a time.
Point the cluster at the patched image
kubectl patch rabbitmqcluster <cluster-name> -n <namespace> --type merge \
-p '{"spec":{"image":"rabbitmq:4.4.1-management"}}'
kubectl rollout status statefulset/<cluster-name>-server -n <namespace>
If you deploy with Helm or GitOps instead, change the image tag in your values or manifests rather than patching live, or the next sync will roll you back. We covered keeping secrets out of manifests in our guide to running HashiCorp Vault on Kubernetes, which is a sensible home for the OAuth2 client secret too.
Step 5: Verify, then rotate the client secret
Confirm every node reports the fixed version and the cluster is healthy. Then rotate the management client’s secret in your identity provider and update management.oauth_client_secret. Tokens already minted through the proxy stay valid until they expire, and rotating doesn’t revoke them, but it does close the door if the secret was ever exposed elsewhere.
Health checks after the rolling upgrade
sudo rabbitmqctl cluster_status
sudo rabbitmq-diagnostics check_running
sudo rabbitmq-diagnostics check_local_alarms
sudo rabbitmq-diagnostics server_version
Temporary mitigations for the RabbitMQ OAuth2 vulnerability
The advisory lists two interim options. Both work; both have trade-offs.
- Remove
management.oauth_client_secretand restart. Without a secret to inject, the proxy can’t act as a confidential client. The catch: some identity providers require the secret for the login or refresh flow, so management SSO may break until you patch. - Put authentication in front of the management port, or simply make it unreachable from untrusted networks (firewall, security group, VPN-only, or an authenticating reverse proxy). The management UI has no business being on the internet anyway.
Two extra steps that aren’t in the advisory but follow from how the fix works: in your identity provider, disable the client_credentials and password grants for the RabbitMQ management client, since the UI only needs authorization code and refresh token flows; and stop granting that client administrator or wildcard scopes unless you truly need them. Test SSO login after either change.
Signs of compromise
The advisory doesn’t explain how to tell whether the RabbitMQ OAuth2 vulnerability was used against your broker, so you’ll have to piece it together. Start here:
- Identity provider logs are your best source. Look for token requests for the management client ID that used
client_credentialsorpasswordgrants, especially ones originating from the broker’s IP address. - Unexpected users. Run the commands below and compare against what you expect. Any internal user with the
administratortag you don’t recognize is a red flag; upgrading does not remove it. - Permissions, policies and shovels. New permissions, federation upstreams or shovels are a quiet way to copy messages out.
- Reverse proxy or load balancer logs for POST requests to the token-endpoint path under
/js/oidc-oauth/that didn’t come from a browser login flow. RabbitMQ doesn’t write HTTP access logs unlessmanagement.http_log_diris set.
Review users, permissions and dynamic shovels
sudo rabbitmqctl list_users
sudo rabbitmqctl list_permissions --vhost /
sudo rabbitmqctl list_vhosts
sudo rabbitmqctl list_parameters --vhost / | grep -Ei 'shovel|federation'
If you find anything you can’t explain, treat it as an incident rather than a cleanup job: isolate the management port, preserve logs, rotate the OAuth2 client secret and any credentials that passed through queues, then remove rogue accounts. Messages that crossed the broker may have been read, and some may have been forged, so warn the teams that own the consumers. We walked through a similar “auth bypass, then persistence” pattern in our vCenter authentication bypass write-up.
FAQ
Is there a CVE for the RabbitMQ OAuth2 vulnerability?
Not yet. The GitHub advisory lists no CVE and RabbitMQ’s security page says “CVE ID pending.” Track it by the advisory ID, GHSA-cfvg-5q96-8mhm, until one is assigned.
Is the RabbitMQ OAuth2 vulnerability being exploited?
No attacks have been reported as of November 30, 2026, and it isn’t in CISA’s Known Exploited Vulnerabilities catalog. The proof of concept wasn’t published, but the advisory describes the request in enough detail that writing one isn’t hard.
I don’t use OAuth2 for the management UI. Am I safe?
From this flaw, yes: without management.oauth_client_secret there’s no secret for the proxy to inject. You should still upgrade for the CSRF and LDAP fixes released alongside it.
Does upgrading remove an attacker’s admin account?
No. The patch stops new tokens from being minted; it doesn’t touch users, permissions or anything else an attacker created. Audit after you upgrade.
What should I do on RabbitMQ 4.2?
If you have a Broadcom commercial subscription, install 4.2.13. If you don’t, upgrade to 4.3.8 or 4.4.1, enabling all feature flags first. Community 4.2 releases won’t get this fix.
How do I check my RabbitMQ version quickly?
Run rabbitmq-diagnostics server_version on any node. The management UI also shows the version in its top-right corner once you’re logged in.
For a related look at how exposed secrets in management planes go wrong, see our recent post on the Azure API Management vulnerability.
Sources
- GitHub Security Advisory GHSA-cfvg-5q96-8mhm (RabbitMQ, November 27, 2026)
- RabbitMQ Security advisories index
- rabbitmq-server pull request #17937
- RabbitMQ 4.4.1 release notes and 4.3.8 release notes
- RabbitMQ release information and support timelines
- CISA Known Exploited Vulnerabilities catalog
- The Hacker News coverage
