Critical Security Flaw in RabbitMQ Server: Plaintext Logging of Authorization Headers

rabbitmq-server Updated 14 Dec 2025

Summary

19/06/2025
N/A
Yes i
Medium
6.7

UBUNTU-CVE-2025-50200: RabbitMQ is a messaging and streaming broker. Affects rabbitmq-server versions < 4.0.5-2ubuntu2.1. Fixed in 4.0.5-2ubuntu2.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

RabbitMQ is a widely used messaging and streaming broker that facilitates communication between applications. It supports various messaging protocols and is known for its reliability and flexibility. However, a vulnerability has been identified in versions 3.13.7 and earlier, where authorization headers are logged in plaintext, posing a significant security risk.

Vulnerability Detail

The vulnerability arises from RabbitMQ's logging mechanism, which records HTTP/S requests, including authorization headers, in plaintext encoded in base64. This means that sensitive information, such as usernames and passwords, can be easily decoded by an attacker. If an unauthorized individual gains access to these logs, they could potentially take control of the system, depending on the credentials used. This issue has been addressed in version 4.0.8 of RabbitMQ.

How To Fix

Minimum fixed version

4.0.5-2ubuntu2.1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade rabbitmq-server

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, it is advisable to restrict access to the logs and ensure that sensitive information is not exposed. Additionally, consider using secure logging practices that do not log sensitive headers.

Conclusion

In summary, the RabbitMQ server has a critical vulnerability that logs authorization headers in plaintext, which can lead to unauthorized access. It is crucial to update to version 4.0.8 or later to mitigate this risk. Additionally, employing secure logging practices and monitoring tools like Vulert can enhance your application's security.

See every vulnerability recorded for rabbitmq-server →

Share this vulnerability

FAQ

Versions 3.13.7 and earlier are affected by this vulnerability.

The main risk is that sensitive authorization information can be exposed, allowing unauthorized access to the system.

You can check your RabbitMQ version by running 'rabbitmq-server -v' in your terminal.

Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just a manifest file.

You can use the Vulert playground at Vulert Scanner without any signup to check if your application is affected by this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for rabbitmq-server.

How To Fix

Minimum fixed version

4.0.5-2ubuntu2.1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade rabbitmq-server

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback