Skip to main content

Rabbitmq server: RabbitMQ is a messaging and streaming broker. (CVE-2026-66077)

0
Medium
Published: 09/23/2026 (09/23/2026, 21:16:00 UTC)
Source: GCVE Database
Product: rabbitmq-server

Description

CVE-2026-66077 is a cross-site scripting (XSS) vulnerability in RabbitMQ's management UI prior to versions 3.13.15, 4.0.20, 4.1.11, and 4.2.6. The issue arises because the management UI uses EJS 1.0 templating which does not HTML-escape certain certificate subject fields. An attacker who can obtain a TLS client certificate signed by a trusted CA and with a crafted Subject DN can inject JavaScript that executes in the administrator's browser when viewing connection details. This allows full account takeover capabilities via the management UI. The vulnerability requires the TLS listener to be configured with verify_peer enabled and the attacker to have a CA-signed client certificate. A fix is available in the stated versions.

CVSS v4.0

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
Active
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N

Affected software

Ubuntu:Pro:16.04:LTSmore threats →ghsa
rabbitmq-server
pkg:deb/ubuntu/rabbitmq-server?arch=source&distro=esm-infra-legacy/xenial
Affected versions
<3.5.7-1ubuntu0.16.04.4+esm3=3.5.4-1=3.5.4-3=3.5.4-3.1=3.5.7-1=3.5.7-1ubuntu0.16.04.1=3.5.7-1ubuntu0.16.04.2=3.5.7-1ubuntu0.16.04.4=3.5.7-1ubuntu0.16.04.4+esm1=3.5.7-1ubuntu0.16.04.4+esm2
Ubuntu:Pro:18.04:LTSmore threats →ghsa
rabbitmq-server
pkg:deb/ubuntu/rabbitmq-server?arch=source&distro=esm-infra/bionic
Affected versions
<3.6.10-1ubuntu0.5+esm1=3.6.10-1=3.6.10-1ubuntu0.1=3.6.10-1ubuntu0.3=3.6.10-1ubuntu0.4=3.6.10-1ubuntu0.5
Ubuntu:Pro:20.04:LTSmore threats →ghsa
rabbitmq-server
pkg:deb/ubuntu/rabbitmq-server?arch=source&distro=esm-infra/focal
Affected versions
<3.8.3-0ubuntu0.3+esm2=3.7.8-4ubuntu2=3.7.18-1=3.8.2-0ubuntu1=3.8.2-0ubuntu1.1=3.8.2-0ubuntu1.2=3.8.2-0ubuntu1.3=3.8.2-0ubuntu1.4=3.8.2-0ubuntu1.5=3.8.3-0ubuntu0.1=3.8.3-0ubuntu0.2=3.8.3-0ubuntu0.3=3.8.3-0ubuntu0.3+esm1
Ubuntu:22.04:LTSmore threats →ghsa
rabbitmq-server
pkg:deb/ubuntu/rabbitmq-server?arch=source&distro=jammy
Affected versions
<3.9.27-0ubuntu0.6=3.8.9-3ubuntu1=3.9.8-1=3.9.8-2=3.9.8-3=3.9.8-5=3.9.8-6=3.9.13-1=3.9.13-1ubuntu0.22.04.1=3.9.13-1ubuntu0.22.04.2=3.9.27-0ubuntu0.1=3.9.27-0ubuntu0.2=3.9.27-0ubuntu0.5
Ubuntu:24.04:LTSmore threats →ghsa
rabbitmq-server
pkg:deb/ubuntu/rabbitmq-server?arch=source&distro=noble
Affected versions
<3.12.1-1ubuntu1.7=3.12.1-1=3.12.1-1ubuntu1=3.12.1-1ubuntu1.2=3.12.1-1ubuntu1.4=3.12.1-1ubuntu1.6
Ubuntu:26.04:LTSmore threats →ghsa
rabbitmq-server
pkg:deb/ubuntu/rabbitmq-server?arch=source&distro=resolute
Affected versions
<4.0.5-10ubuntu5.2=4.0.5-8ubuntu2=4.0.5-10ubuntu1=4.0.5-10ubuntu2=4.0.5-10ubuntu3=4.0.5-10ubuntu4=4.0.5-10ubuntu5=4.0.5-10ubuntu5.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 00:08:25 UTC

Technical Analysis

RabbitMQ versions prior to 3.13.15, 4.0.20, 4.1.11, and 4.2.6 have an XSS vulnerability in the management UI due to unescaped rendering of TLS client certificate Subject DN fields in EJS templates. Specifically, the connection.ejs and streamConnection.ejs templates render peer_cert_subject and peer_cert_issuer fields without HTML escaping. This is exploitable only when the TLS listener is configured with ssl_options.verify = verify_peer, meaning the broker verifies client certificates against a trusted CA. An attacker who can obtain a client certificate signed by a CA trusted by the broker (e.g., via organizational PKI or rabbitmq_trust_store plugin) can embed malicious JavaScript in the Subject DN. When an administrator views the affected connection page, the script executes in their browser session, enabling full account takeover actions such as creating users and exporting definitions. The management UI's Content Security Policy includes 'unsafe-inline', allowing inline script execution. The vulnerability is fixed in versions 3.13.15, 4.0.20, 4.1.11, and 4.2.6.

Potential Impact

An attacker with a CA-signed client certificate and the ability to connect to a RabbitMQ server configured with verify_peer TLS verification can execute arbitrary JavaScript in the context of an administrator's browser session when the admin views the connection details page. This leads to full account takeover of the management UI, including creating users and exporting definitions. The vulnerability requires specific TLS configuration and attacker capabilities but can result in significant administrative control compromise.

Mitigation Recommendations

A fix is available in RabbitMQ versions 3.13.15, 4.0.20, 4.1.11, and 4.2.6. Administrators should upgrade to these or later versions to remediate this vulnerability. The vendor advisory confirms the patch availability. No alternative mitigations are specified. Ensure TLS listeners are configured securely and restrict issuance of client certificates to trusted entities.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-66077
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.04:LTS"]
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ad3f5af2cdf04f65666281a

Added to database: 10/17/2026, 22:24:47 UTC

Last enriched: 10/18/2026, 00:08:25 UTC

Last updated: 10/18/2026, 00:08:25 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses