All vulnerabilities

Servers and applications

GHSA-c22p-g5xq-x5jm

Cross-Site Request Forgery (CSRF) in Management API via text/plain Interpretation Conflict

Severity
High 7.6
Published
27 Nov 2026
Last changed
27 Nov 2026
Added to UpHeron
27 Nov 2026
Fixed in
3.13.22, 4.1.18, 4.2.13, 4.3.8, 4.4.1
Weakness
Cross-site request forgery (CWE-352)CWE-436
Attack
Over the network · Only under certain conditions · No login needed · Needs someone to view a page or file
Attacker can
Read data · Change data
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Sources
Project advisories (GitHub)

Description

The RabbitMQ Management API is vulnerable to Cross-Site Request Forgery (CSRF). Because the API authenticates requests using HTTP Basic authentication without enforcing anti-CSRF tokens, and because state-mutating endpoints accept requests with a text/plain Content-Type, an attacker can bypass CORS preflight protections. This allows a malicious third-party website to execute unauthorized state-changing actions (such as publishing or consuming messages) on behalf of an authenticated user.

The Management API relies exclusively on HTTP Basic authentication and lacks any anti-CSRF token mechanisms. While CORS defenses are strictly configured to prevent unauthorized cross-origin reading and unauthorized preflight interactions, they do not block standard HTML submissions or fetch requests initiated with mode: "no-cors" and simple headers. Furthermore, state-mutating routes, such as POST /api/exchanges/%2F/amq.default/publish, fail to strictly enforce an application/json Content-Type.

From rabbitmq/rabbitmq-server's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
RabbitMQServers and applications · github:rabbitmq/rabbitmq-server
  • From 3.13.0 before 3.13.22
  • From 4.1.0 before 4.1.18
  • From 4.2.0 before 4.2.13
  • From 4.3.0 before 4.3.8
  • From 4.4.0 before 4.4.1

About RabbitMQ

open source message broker, sometimes referred to as "Rabbit"

From Wikidata, CC0 1.0.
Docker Hub pulls
3,932,813,088Docker Hub, 29 Nov 2026
GitHub stars
13,987GitHub, 29 Nov 2026
Forks
4,037GitHub, 29 Nov 2026
Latest release
v4.4.1GitHub, 29 Nov 2026
Released
16 Nov 2026GitHub
Developer
Jean-Sébastien PédronWikidata
License
Mozilla Public License, version 2.0Wikidata
Written in
ErlangWikidata
First published on GitHub
20 Sept 2010GitHub

Release lines

ReleaseLatestSecurity fixes
4.44.4.1Until 31 Jul 2027
4.34.3.8Until 31 Jan 2027
4.24.2.9Ended 31 Jul 2026
4.14.1.8Ended 30 Jan 2026
4.04.0.9Ended 30 Apr 2025
3.133.13.7Ended 30 Sept 2024

From endoflife.date.

References