
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-50200 is an information disclosure vulnerability in RabbitMQ where the broker logs HTTP Basic Authentication headers in plaintext (base64-encoded) when errors occur during API requests. Affected versions include RabbitMQ 3.13.7 and prior; the issue was patched in versions 3.13.8, 4.0.8, and 4.1.0. The vulnerability was published on June 19, 2025, with the GitHub Security Advisory (GHSA-gh3x-4x42-fvq8) published by maintainer michaelklishin on June 18, 2025. It carries a CVSS v3.1 base score of 5.5 (Medium) and a CVSS v4.0 base score of 6.7 (Medium) (GitHub Advisory, Red Hat Bugzilla).
The root cause is classified as CWE-532 (Insertion of Sensitive Information into Log File). When a client queries the RabbitMQ HTTP API using Basic Authentication and an error condition is triggered (e.g., a request to a non-existent queue), RabbitMQ logs the full set of HTTP request headers — including the Authorization header containing the base64-encoded username:password string — to its error log. Since base64 is trivially reversible, any party with read access to the RabbitMQ log files can recover plaintext credentials. The vulnerability was confirmed on Windows with RabbitMQ 3.13.7 and 3.13.2 running Erlang 26.2.5, and a proof-of-concept PowerShell script was included in the advisory (GitHub Advisory).
Successful exploitation results in the disclosure of RabbitMQ user credentials to any local attacker with read access to the log files, compromising confidentiality with no impact on integrity or availability. Depending on the privilege level of the exposed credentials, an attacker could gain administrative control over the RabbitMQ instance, access message queues containing sensitive application data, or use the credentials for lateral movement within the environment. The risk is amplified in shared or multi-tenant environments where log files may be accessible to multiple users or processes (GitHub Advisory, Red Hat Bugzilla).
A proof-of-concept exploit (a PowerShell script) is publicly available in the GitHub Security Advisory, demonstrating how to trigger the credential logging by sending an authenticated API request to a non-existent queue. Exploitation requires local access to the RabbitMQ log files, meaning the attacker must already have low-privilege local access to the host. There is no evidence of in-the-wild exploitation at this time, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.016% (0.000160), reflecting low probability of near-term exploitation (GitHub Advisory).
http://localhost:15672/api/queues/%2F/NONEXISTENT_QUEUE/get with a Basic Auth header.$Username = "tmp"
$Password = "tmp"
$EncodedCredentials = [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes("$Username`:$Password"))
$Headers = @{ "Authorization" = "Basic $EncodedCredentials"; "Content-Type" = "application/json" }
$Body = @{ "count" = 10; "requeue" = $false; "encoding" = "auto" } | ConvertTo-Json -Compress
Invoke-WebRequest -Uri "http://localhost:15672/api/queues/%2F/RANDOM/get" -Method Post -Headers $Headers -Body $Bodyrabbit@<hostname>.log) and search for log entries containing authorization headers in the format <<"authorization">> => <<"Basic <base64string>">> .echo '<base64>' | base64 -d) to recover the plaintext username:password.rabbit@<hostname>.log) containing headers => #{<<"authorization">> => <<"Basic ...">>} — indicating that HTTP Basic Auth headers were captured in error output.auditd).Upgrade RabbitMQ to a patched version: 3.13.8, 4.0.8, or 4.1.0 or later. As interim mitigations, restrict read access to RabbitMQ log files to only the service account and administrators, and rotate any credentials that may have been exposed in logs. Additionally, review existing log files for captured authorization headers and consider implementing log scrubbing or redaction controls. Using strong, unique credentials for RabbitMQ accounts limits the blast radius if credentials are exposed (GitHub Advisory, Red Hat Bugzilla).
The vulnerability was reported by a researcher identified as "HyperReap" and acknowledged by RabbitMQ maintainer michaelklishin via the GitHub Security Advisory program. Red Hat tracked the issue via Bugzilla (Bug 2373901) and assigned it medium severity. Downstream Linux distributions including Ubuntu and SUSE issued security updates for their packaged versions of rabbitmq-server, and Debian included the fix in a stable release update. Coverage appeared in security news aggregators and Linux security advisories shortly after disclosure (GitHub Advisory, Red Hat Bugzilla).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."