Cross-Site Scripting (XSS) in rabbitmq
Summary
Cross-site scripting in rabbitmq (CVE-2026-66077). Risk of unauthorized operations or information disclosure. Mitigation: upgrade to 3.13.15, 4.0.20, 4.1.11, 4.2.6 or later.
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2026-66077 has been found in rabbitmq.
Risk of unauthorized operations or information disclosure. CVSS score: 6.1/10.
What to do: upgrade rabbitmq to 3.13.15, 4.0.20, 4.1.11, 4.2.6 or later.
If unsure, ask your IT team or search "rabbitmq CVE-2026-66077" on the vendor's site.
CVE-2026-66077 (rabbitmq) — CWE-79 / CVSS v3 6.1
Attack vector: remote (network-reachable) / unauthenticated
Patched: 3.13.15, 4.0.20, 4.1.11, 4.2.6 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
Cross-site scripting (XSS) (CWE-79) exists in rabbitmq.
Check the vendor advisory for the affected versions of rabbitmq.
Severity: Medium (CVSS 6.1/10). Risk of unauthorized operations or information disclosure.
Update to 3.13.15, 4.0.20, 4.1.11, 4.2.6.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'rabbitmq' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'rabbitmq' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
rabbitmqを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade rabbitmq to 3.13.15, 4.0.20, 4.1.11, 4.2.6ステージング環境で 3.13.15, 4.0.20, 4.1.11, 4.2.6 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Bitnamirabbitmq |
≥ 3.13.0, < 3.13.15→ 3.13.15 ≥ 4.0.0, < 4.0.20→ 4.0.20 ≥ 4.1.0, < 4.1.11→ 4.1.11 ≥ 4.2.0, < 4.2.6→ 4.2.6 |
3.13.15 4.0.20 4.1.11 4.2.6 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-66077 rabbitmq-server Fix available
- Ubuntu UBUNTU-CVE-2026-66077 rabbitmq-server Fix available
Original description The description as published by the 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 ra…
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- web github.com