RabbitMQ: Web MQTT with PROXY Protocol enabled: a loopback-only user permission bypassGHSA-4r6f-9cpw-f6g6
Fix: rabbitmq/rabbitmq-server@a752831GHSA-4r6f-9cpw-f6g6 is a CWE-863 vulnerability in rabbitmq. A fix is available for rabbitmq — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
rabbitmqReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Bitnami packages — download data is not available via public APIs for these ecosystems.
Description
RabbitMQ is a messaging and streaming broker. From 3.13.0 until 3.13.18, 4.0.23, 4.1.14, 4.2.9, and 4.3.3, native MQTT and MQTT over WebSocket behind a trusted PROXY Protocol frontend could lose the proxy-derived client address before the MQTT authentication path checked loopback_users, causing the frontend-to-broker address to be treated as loopback. An attacker who can reach the trusted frontend and has valid credentials for a loopback-restricted account can therefore bypass the source-address restriction; the issue does not bypass password authentication. This issue is fixed in versions 3.13.18, 4.0.23, 4.1.14, 4.2.9, and 4.3.3.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦Bitnami | rabbitmq | ≥ 3.13.0&&< 3.13.18 | 3.13.18 |
Affected Products
rabbitmq serverbroadcomDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for rabbitmq, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update rabbitmq to 3.13.18 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-4r6f-9cpw-f6g6 is resolved across your whole dependency graph.
Workarounds
Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.
Frequently Asked Questions
Is GHSA-4r6f-9cpw-f6g6 in your dependencies?
Find it across Bitnami, including transitive dependencies.