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 | Vendor | Product | Affected 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.
References
- https://github.com/rabbitmq/rabbitmq-server/commit/5cd6d841d84450324a4613501ed91... Third Party Advisory
- https://github.com/rabbitmq/rabbitmq-server/commit/a8041d528c1a71af4cb75ade247ed... Third Party Advisory
- https://security-tracker.debian.org/tracker/CVE-2026-67237 Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/67xxx/CVE-2026-67237... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-67237 Vendor Advisory
- https://ubuntu.com/security/notices/USN-8933-1 Vendor Advisory
- https://github.com/rabbitmq/rabbitmq-server/security/advisories/GHSA-2rf7-f6r6-8... Third Party Advisory
- https://ubuntu.com/security/CVE-2026-67237 Third Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2026-67237 Third Party Advisory
- https://github.com/rabbitmq/rabbitmq-server/releases/tag/v4.3.2 Third Party Advisory
- https://github.com/rabbitmq/rabbitmq-server/releases/tag/v4.2.8 Third Party Advisory
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
Type
CWE-79Cross-site Scripting (XSS)
Timeline
Published25 Sep 2026
Updated26 Nov 2026
First seen25 Sep 2026
Sources
CVE-2026-67237 · NVD
CVE-2026-67237 · MITRE
DEBIAN-CVE-2026-67237 · OSV
CVE-2026-67237 · OSV
GHSA-2rf7-f6r6-8rwh · GHSA
UBUNTU-CVE-2026-67237 · OSV
BIT-rabbitmq-2026-67237 · OSV
Track software like this
Free during beta