CVE Catalog

CVE-2026-67237

HighCVSS 7.5
Published: Translated: NVD NIST

Summary

RabbitMQ versions from 4.2.0 until 4.2.8 and 4.3.2 had set_token_auth/2 inserting a bearer token from the Authorization header or access_token cookie into OAuth bootstrap JavaScript without escaping. This allowed 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.

Risk Assessment

An attacker could execute arbitrary JavaScript in the browser of a RabbitMQ management UI user, potentially leading to session data theft or other actions in the context of the authenticated user.

Recommendation

Update RabbitMQ to version 4.2.8 or 4.3.2. Check whether management.oauth_enabled is enabled and consider restricting access to the management UI.

Other vulnerabilities in RabbitMQ

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS