CVE-2026-66077

RabbitMQ: Stored XSS via TLS peer-certificate DN in management UI

CVE-2026-66077 is fixed in rabbitmq-server on 1 platform, first by rabbitmq-server 4.0.5-10ubuntu5.2, released September 25, 2026. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
6.1
Important
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0015
4th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
rabbitmq-server · Debian 14 4.3.0-2 DEBIAN-CVE-2026-66077 Sep 25, 2026
rabbitmq-server · Ubuntu 18.04.6 LTS (bionic) 3.6.10-1ubuntu0.5+esm1 rabbitmq-server 3.6.10-1ubuntu0.5+esm1 Oct 19, 2026
rabbitmq-server · Ubuntu 20.04 LTS (focal) 3.8.3-0ubuntu0.3+esm2 rabbitmq-server 3.8.3-0ubuntu0.3+esm2 Oct 19, 2026
rabbitmq-server · Ubuntu 22.04.1 LTS (jammy) 3.9.27-0ubuntu0.6 rabbitmq-server 3.9.27-0ubuntu0.6 Oct 19, 2026
rabbitmq-server · Ubuntu 24.04.5 LTS (noble) 3.12.1-1ubuntu1.7 rabbitmq-server 3.12.1-1ubuntu1.7 Oct 19, 2026
rabbitmq-server · Ubuntu 26.04.1 LTS (resolute) 4.0.5-10ubuntu5.2 rabbitmq-server 4.0.5-10ubuntu5.2 Sep 25, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.