Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-66073 Overview
CVE-2026-66073 is a resource exhaustion vulnerability in RabbitMQ, an open-source messaging and streaming broker. The management API endpoint PUT /api/queues/:vhost/:name (along with exchanges and bindings endpoints) accepts a node JSON field that is converted into an Erlang atom without first validating cluster membership. Each unique value permanently leaks one atom from the Erlang virtual machine's finite atom table. An authenticated user with the management tag on a single virtual host can send roughly 900,000 crafted requests to crash the VM with a system_limit error, causing a cluster-wide outage affecting all tenants.
Critical Impact
An authenticated low-privilege tenant can crash the entire RabbitMQ cluster, denying service to all tenants sharing the broker.
Affected Products
- RabbitMQ Server versions 3.13.0 through 3.13.14
- RabbitMQ Server versions 4.0.0 through 4.0.19 and 4.1.0 through 4.1.10
- RabbitMQ Server versions 4.2.0 through 4.2.5
Discovery Timeline
- 2026-09-25 - CVE-2026-66073 published to the National Vulnerability Database (NVD)
- 2026-09-28 - Last updated in NVD database
Technical Details for CVE-2026-66073
Vulnerability Analysis
The vulnerability is a resource exhaustion flaw [CWE-400] in the RabbitMQ management plugin. The Erlang virtual machine maintains a finite atom table with a default limit of approximately 1,048,576 entries. Atoms are never garbage collected, so uncontrolled atom creation from untrusted input permanently consumes memory until the VM crashes.
The affected management API endpoints accept a node field in the JSON request body. The handler passes this value through rabbit_nodes:make and then list_to_atom, which creates a new atom entry for every unique input. Because there is no cluster membership validation before atom creation, every unique string provided by an attacker consumes a slot in the atom table.
Exploitation requires only the management tag and access to a single virtual host, which is the lowest privilege level in a multi-tenant RabbitMQ deployment. Once the atom table is exhausted, the broker halts with a system_limit error and all tenants lose messaging service.
Root Cause
A March 2026 refactoring (commit ea61ce2563) introduced safe helpers in rabbit_mgmt_nodes.erl (parse_node_name, safe_atom, and require_node_name) built on binary_to_existing_atom. These helpers were applied to several callers, including quorum queue replica operations, wm_auth_attempts, wm_node_memory_ets, get_sort_reverse, and rabbit_federation_mgmt. The helper was not applied to get_node/1 in rabbit_mgmt_util.erl:880-885, which is the primary code path invoked by direct_request/6 for queue, exchange, and binding creation.
Attack Vector
An attacker authenticates to the HTTP management API with any account carrying the management tag and permissions on at least one vhost. The attacker then issues PUT requests to /api/queues/:vhost/:name (or the exchanges or bindings endpoints) with a unique random string in the node JSON field for each request. Each request leaks one atom. After approximately 900,000 requests, the Erlang VM exhausts its atom table and terminates.
%% Patch excerpt: deps/rabbitmq_auth_backend_oauth2/src/rabbit_auth_backend_oauth2.erl
%% Shows the general remediation pattern used throughout the fix
tags_from(DecodedToken) ->
Scopes = maps:get(?SCOPE_JWT_FIELD, DecodedToken, []),
TagScopes = filter_matching_scope_prefix_and_drop_it(Scopes, ?TAG_SCOPE_PREFIX),
- lists:usort(lists:map(fun rabbit_data_coercion:to_atom/1, TagScopes)).
+ lists:usort(lists:filtermap(fun safe_to_atom/1, TagScopes)).
+
+safe_to_atom(Bin) ->
+ try
+ {true, rabbit_data_coercion:to_existing_atom(Bin)}
+ catch
+ error:badarg -> false
+ end.
Source: RabbitMQ server commit 7f64311. The patch replaces unchecked atom coercion with to_existing_atom, which only resolves to atoms that already exist and raises badarg otherwise.
Detection Methods for CVE-2026-66073
Indicators of Compromise
- Sustained high-volume PUT traffic to /api/queues/, /api/exchanges/, or /api/bindings/ originating from a single authenticated management user
- Rapid growth of the Erlang atom count reported by erlang:system_info(atom_count) or RabbitMQ metrics
- Broker crash logs containing system_limit referencing atom table exhaustion
Detection Strategies
- Monitor the atom table utilization metric exposed by the RabbitMQ Prometheus plugin and alert when atoms exceed a baseline threshold
- Correlate management API access logs by user and endpoint to identify abnormal request rates against queue, exchange, and binding creation routes
- Inspect request bodies for randomized or non-cluster node field values that do not match known cluster node names
Monitoring Recommendations
- Enable the RabbitMQ management access log and ship events to a centralized SIEM for behavioral analytics
- Track per-user API request rates and establish rate baselines for the management tag user class
- Alert on sudden drops in broker uptime or node restarts across the cluster that follow management API activity spikes
How to Mitigate CVE-2026-66073
Immediate Actions Required
- Upgrade RabbitMQ to a fixed version: 3.13.15, 4.0.20, 4.1.11, or 4.2.6
- Audit all accounts carrying the management tag and remove unneeded privileges
- Restrict network access to the management API (default port 15672) to trusted administrative networks
Patch Information
The fix is available in RabbitMQ 3.13.15, 4.0.20, 4.1.11, and 4.2.6. See the RabbitMQ 4.2.6 release notes and the GitHub Security Advisory GHSA-6v53-r759-jrvx. The patch extends the safe_atom helper to get_node/1 in rabbit_mgmt_util.erl and replaces list_to_atom with binary_to_existing_atom on the vulnerable code path.
Workarounds
- Block or rate-limit PUT requests to /api/queues/, /api/exchanges/, and /api/bindings/ at a reverse proxy until the patch can be applied
- Reduce exposure by disabling the management plugin on broker nodes that do not require HTTP administration
- Increase the Erlang atom table limit using +t as a short-term buffer, understanding this delays but does not prevent exhaustion
# Example: restrict management API access via firewall (Linux nftables)
nft add rule inet filter input tcp dport 15672 ip saddr != 10.0.0.0/24 drop
# Example: temporarily raise the Erlang atom table limit (not a fix)
export RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS="+t 5242880"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

