Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.9

CVE-2026-67237: RabbitMQ lets attacker run script through OAuth token

CVE-2026-67237 · published 2 months ago
Summary

Versions of RabbitMQ server 4.2.0‑4.2.7 and 4.3.0‑4.3.1 can insert an attacker‑controlled token into a JavaScript file that is shown in the management console. This could let a malicious user run code in the browser of anyone viewing the console, potentially stealing data or changing settings. Upgrade to RabbitMQ 4.2.8 or later (or 4.3.2 or later) to stop the problem.

What to do
  • Update debian rabbitmq-server to version 4.3.2-1.
  • Update rabbitmq to version 4.3.2.
  • Update canonical rabbitmq-server to version 3.5.7-1ubuntu0.16.04.4+esm3.
  • Update canonical rabbitmq-server to version 3.6.10-1ubuntu0.5+esm1.
  • Update canonical rabbitmq-server to version 3.8.3-0ubuntu0.3+esm2.
  • Update canonical rabbitmq-server to version 3.9.27-0ubuntu0.6.
  • Update canonical rabbitmq-server to version 3.12.1-1ubuntu1.7.
  • Update canonical rabbitmq-server to version 4.0.5-10ubuntu5.2.
Affected software
Ecosystem VendorProductAffected versions
– rabbitmq rabbitmq-server >= 4.2.0, < 4.2.8
Debian:14 debian rabbitmq-server < 4.3.2-1
Fix: upgrade to 4.3.2-1
Ubuntu:Pro:16.04:LTS canonical rabbitmq-server < 3.5.7-1ubuntu0.16.04.4+esm3
Fix: upgrade to 3.5.7-1ubuntu0.16.04.4+esm3
Bitnami – rabbitmq >= 4.3.0, < 4.3.2
Fix: upgrade to 4.3.2
Ubuntu:Pro:18.04:LTS canonical rabbitmq-server < 3.6.10-1ubuntu0.5+esm1
Fix: upgrade to 3.6.10-1ubuntu0.5+esm1
Ubuntu:Pro:20.04:LTS canonical rabbitmq-server < 3.8.3-0ubuntu0.3+esm2
Fix: upgrade to 3.8.3-0ubuntu0.3+esm2
Ubuntu:22.04:LTS canonical rabbitmq-server < 3.9.27-0ubuntu0.6
Fix: upgrade to 3.9.27-0ubuntu0.6
Ubuntu:24.04:LTS canonical rabbitmq-server < 3.12.1-1ubuntu1.7
Fix: upgrade to 3.12.1-1ubuntu1.7
Ubuntu:26.04:LTS canonical rabbitmq-server < 4.0.5-10ubuntu5.2
Fix: upgrade to 4.0.5-10ubuntu5.2
– broadcom rabbitmq_server >= 4.2.0, < 4.2.8
>= 4.3.0, < 4.3.2
cpe:2.3:a:broadcom:rabbitmq_server:*:*:*:*:*:*:*:*
Original advisory text
RabbitMQ: Reflected XSS via the OAuth bootstrap JS endpoint
RabbitMQ is a messaging and streaming broker. From 4.2.0 until 4.2.8 and 4.3.2, set_token_auth/2 inserted a bearer token from the Authorization header or access_token cookie into OAuth bootstrap JavaScript without escaping, allowing 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. This issue is fixed in versions 4.2.8 and 4.3.2.
Fix within
Internet-facing 14 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker full control
Severity
9.9 Critical
Exploitation
<1% chance of attack within 30 days
Type
CWE-79Cross-site Scripting (XSS)
Timeline
Published25 Sep 2026
Updated26 Nov 2026
First seen25 Sep 2026
Track software like this
Free during beta