CVE-2026-66077
MediumCVSS 6.1Exploitation Probability (EPSS)
Low risk8th percentile - higher than 8% of all known CVEs
Summary
In the RabbitMQ management UI (versions prior to 3.13.15, 4.0.20, 4.1.11, and 4.2.6), TLS client certificate details such as Subject and Issuer DN are rendered without HTML escaping. The vulnerability is reachable when a TLS listener is configured with verify_peer and an attacker holds a CA-signed client certificate with an arbitrary Subject CN. When an administrator views that connection in the UI, the injected script executes in the admin's browser session, leading to account takeover.
Risk Assessment
An attacker with a client certificate signed by a trusted CA can execute arbitrary JavaScript in the administrator's browser, enabling full account takeover, user creation, and definition export. This is especially risky in deployments using mTLS for client authentication.
Recommendation
Upgrade RabbitMQ to version 3.13.15, 4.0.20, 4.1.11, or 4.2.6, which contain the fix. Additionally, consider restricting the ability to obtain client certificates with arbitrary Subject CNs and strengthening the management UI's CSP policy.
Other vulnerabilities in RabbitMQ
See all- CVE-2026-67237Critical
RabbitMQ versions from 4.2.0 until 4.2.8 and 4.3.2 had set_token_auth/2 inserting a bearer token from the Authorization header or access_token cookie into OAuth bootstrap JavaScript without escaping. This allowed attacker-controlled token content to execute JavaScript in the management UI origin. The endpoint is exposed before authentication only when management.oauth_enabled is true, and exploitation through the cookie path additionally requires the attacker to plant an access_token cookie on the management host.
- CVE-2026-67231Critical
RabbitMQ prior to versions 3.13.15, 4.0.20, 4.1.11, 4.2.6, and 4.3.0 — the trust-store plugin installs a verify_fun that overrides {bad_cert, unknown_ca} / {bad_cert, selfsigned_peer} when the presented cert "matches" a whitelisted one. The match key relies solely on issuer name and serial number, which can be easily forged, allowing TLS client authentication bypass.
- CVE-2026-144263Medium
RabbitMQ 4.2.x before 4.2.10 and 4.3.x before 4.3.5 decodes the channel PID from direct reply-to addresses but discards the capability-key suffix without validating it, so distinct forged reply-to names resolve to the same channel. An authenticated AMQP user can place many forged names in one message's CC header, causing quadratic mailbox memory growth that exhausts broker node memory.
- CVE-2026-144255Low
RabbitMQ 3.13.x before 3.13.20, 4.0.x before 4.0.25, 4.1.x before 4.1.16, 4.2.x before 4.2.10, and 4.3.x before 4.3.5 crash in the x-consistent-hash exchange when the exchange has two or more buckets and the hash-header value is an empty AMQP field array. An authenticated attacker with write access can publish a persistent message with an empty array header that dead-letters through the exchange, repeatedly crashing the victim classic queue process until its supervisor exhausts restart attempts.
- CVE-2026-144254Medium
RabbitMQ 3.13.0 before 3.13.19, 4.0.0 before 4.0.24, 4.1.0 before 4.1.15, 4.2.0 before 4.2.10, and 4.3.0 before 4.3.5 allow a management user with the administrator tag to execute arbitrary BEAM functions without the Erlang cookie. Global-parameter names become node atoms, DELETE /api/reset/:node contacts nodes before checking cluster membership, and OTP 27's legacy cookie digest is not bound to peer identity; an attacker interns node names, opens two outbound distribution handshakes, reflects the cookie digest, and invokes arbitrary functions through rex.
- CVE-2026-144253High
RabbitMQ 3.13.x before 3.13.19, 4.0.x before 4.0.24, 4.1.x before 4.1.15, 4.2.x before 4.2.10, and 4.3.x before 4.3.5 allows a policymaker-tagged management user to execute arbitrary BEAM functions because the federation-management link restart route calls rpc:call/5 on a user-supplied node without validating cluster membership. Attackers can create attacker node atoms via global-parameter names, trigger two concurrent outbound distribution handshakes, and reflect the OTP 27 cookie digest between them to authenticate and invoke rex with controlled module, function, and arguments.
- CVE-2026-144252Medium
RabbitMQ 3.13.0 before 3.13.19, 4.0.0 before 4.0.24, 4.1.0 before 4.1.15, 4.2.0 before 4.2.10, and 4.3.0 before 4.3.5 returns unredacted dynamic shovel definitions from the per-shovel management HTTP API while authorizing reads with only the monitoring tag. An authenticated monitoring user with vhost access can obtain cleartext src-uri and dest-uri credentials for the shovel's source and destination brokers.
- CVE-2026-144251Medium
RabbitMQ Server 3.13.0 before 3.13.20, 4.0.0 before 4.0.25, 4.1.0 before 4.1.16, 4.2.0 before 4.2.11, and 4.3.0 before 4.3.6 has an MQTT plugin retained message store with no size or count limit that is held in memory, survives restarts, and is never reclaimed. An authenticated MQTT client with write permission can retain-publish large payloads to many distinct topics, permanently latching the node's memory alarm so that no MQTT client can connect.
- CVE-2026-144248Medium
RabbitMQ Server 3.13.x before 3.13.20, 4.0.x before 4.0.25, 4.1.x before 4.1.16, 4.2.x before 4.2.11, and 4.3.x before 4.3.6 contains an insufficient session expiration vulnerability in the STOMP adapter, which does not terminate an authenticated consumer when the OAuth JWT used for CONNECT expires. Clients that subscribe while the token is valid continue receiving MESSAGE frames after expiry, exposing queue message payloads beyond the intended credential lifetime.
- CVE-2026-144247Medium
RabbitMQ Server 3.13.0 before 3.13.21, 4.1.0 before 4.1.17, 4.2.0 before 4.2.12, and 4.3.0 before 4.3.7 contains a format string vulnerability in rabbitmq_auth_backend_ldap, which returns the rejected user_dn_pattern bind DN as an Erlang format string. Unauthenticated attackers can send failed AMQP PLAIN logins with usernames such as ~10000n to amplify log, disk, and per-connection memory consumption.
Original NVD description (English source)
RabbitMQ is a messaging and streaming broker. Prior to versions 3.13.15, 4.0.20, 4.1.11, and 4.2.6, The management UI uses EJS 1.0 in which <%= ... %> does NOT HTML-escape. connection.ejs:135 renders <%= connection.ssl_details.peer_cert_subject %> (and peer_cert_issuer) directly into the page. The same pattern appears in streamConnection.ejs:102,106,110. The values come from rabbit_ssl:peer_cert_subject/1 which formats the DN as a string without HTML escaping. The verifier corrected the original researcher's claim: this is reachable only when the listener is configured with verify_peer (so the certificate must be signed by a CA in the broker's trust store, not arbitrary self-signed); however, in deployments using mTLS for client authentication, any user who can request a certificate from the organisational CA controls the Subject CN. An attacker who can obtain a TLS client certificate signed by a CA the broker trusts (with verify_peer enabled) can embed JavaScript in the certificate's Subject DN. When any administrator views that connection in the management UI, the script executes in the admin's browser session, allowing full account takeover (create users, export definitions, etc.). The management UI's CSP includes 'unsafe-inline', so inline script execution is not blocked. Preconditions include TLS listener configured with ssl_options.verify = verify_peer Attacker can obtain a CA-signed client certificate with attacker-chosen Subject (e.g. self-service corporate PKI, or rabbitmq_trust_store plugin in use) Administrator views the connection detail page. This issue is fixed in versions 3.13.15, 4.0.20, 4.1.11, and 4.2.6.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

