VulnarioBlogRabbitMQ vulnerabilities
RabbitMQ Vulnerabilities: The 10 Most Critical RabbitMQ Security Bugs (CVEs)
RabbitMQ vulnerabilities are security flaws in RabbitMQ that attackers can abuse to steal data, take over a server or interrupt a service. RabbitMQ is a widely used open-source message broker. The National Vulnerability Database (NVD) lists 17 CVEs for RabbitMQ, 1 of them rated critical, and none were published in the last 12 months. None of them is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog for the product entries we checked.
This guide lists the 10 most critical RabbitMQ security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers RabbitMQ security basics, the current end-of-life dates and a free way to be told about the next RabbitMQ CVE as soon as it is published.
Key takeaways
- No RabbitMQ CVE is currently in CISA's KEV catalog for the entries we checked, but critical flaws still get exploited quickly once details are public.
- 1 RabbitMQ CVE is rated critical (CVSS v3), and 0 new ones were published in the last 12 months.
- The newest CVE in this guide is CVE-2022-31008, published Oct 6, 2022.
- Supported RabbitMQ releases today (per endoflife.date): 4.4, 4.3. Releases not on the list are past their announced end of life.
- You can monitor RabbitMQ for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.
How we ranked these RabbitMQ CVEs
We ranked CVEs first by whether CISA lists them as exploited, then by CVSS score (v3 scores before the older v2 scale, which is marked when used), then by publication date (newest first). When a technology has several product entries in NVD, we combined them and removed duplicates. This favors the bugs that matter most in practice, so the guide is a list of the most critical flaws we found, not a complete history.
Every CVE number, score, date and affected version below comes from the NVD record and the CISA KEV catalog, checked on Nov 3, 2026. Scores can change when NVD reanalyzes a record, so open the linked record if you need the current value.
The 10 most critical RabbitMQ CVEs at a glance
| # | CVE | CVSS | Published | Type | CISA KEV |
|---|---|---|---|---|---|
| 1 | CVE-2016-9877 | 9.8 Critical | 2016-12-29 | Improper access control | No |
| 2 | CVE-2017-4966 | 7.8 High | 2017-06-13 | Information exposure | No |
| 3 | CVE-2022-31008 | 7.5 High | 2022-10-06 | Security flaw | No |
| 4 | CVE-2021-22116 | 7.5 High | 2021-06-08 | Resource exhaustion (DoS) | No |
| 5 | CVE-2019-11287 | 7.5 High | 2019-11-23 | Resource exhaustion (DoS) | No |
| 6 | CVE-2016-0929 | 7.5 High | 2016-09-18 | Information exposure | No |
| 7 | CVE-2020-5419 | 6.7 Medium | 2020-08-31 | Arbitrary code execution | No |
| 8 | CVE-2018-1279 | 6.5 Medium | 2018-12-10 | Security flaw | No |
| 9 | CVE-2015-8786 | 6.5 Medium | 2016-12-09 | Resource management error | No |
| 10 | CVE-2017-4965 | 6.1 Medium | 2017-06-13 | Cross-site scripting (XSS) | No |
Each RabbitMQ CVE explained
1. CVE-2016-9877: Improper access control
- What NVD says
- An issue was discovered in Pivotal RabbitMQ 3.x before 3.5.8 and 3.6.x before 3.6.6 and RabbitMQ for PCF 1.5.x before 1.5.20, 1.6.x before 1.6.12, and 1.7.x before 1.7.7. MQTT (MQ Telemetry Transport) connection authentication with a username/password pair succeeds if an existing username is provided but the password is omitted from the connection request.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 3.5.4; 3.5.5; 3.5.7; 3.6.0
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
2. CVE-2017-4966: Information exposure
- What NVD says
- An issue was discovered in these Pivotal RabbitMQ versions: all 3.4.x versions, all 3.5.x versions, and 3.6.x versions prior to 3.6.9; and these RabbitMQ for PCF versions: all 1.5.x versions, 1.6.x versions prior to 1.6.18, and 1.7.x versions prior to 1.7.15.
- How it can be attacked
- Can be exploited locally on the machine with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 3.5.4; 3.5.5; 3.5.7; 3.6.0
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
3. CVE-2022-31008: Security flaw
- What NVD says
- RabbitMQ is a multi-protocol messaging and streaming broker. In affected versions the shovel and federation plugins perform URI obfuscation in their worker (link) state. The encryption key used to encrypt the URI was seeded with a predictable secret. This means that in case of certain exceptions related to Shovel and Federation plugins, reasonably easily deobfuscatable data could appear in the node log.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality.
- Affected versions
- before 3.8.32
- What to do
- Upgrade to 3.8.32 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
4. CVE-2021-22116: Resource exhaustion (DoS)
- What NVD says
- RabbitMQ all versions prior to 3.8.16 are prone to a denial of service vulnerability due to improper input validation in AMQP 1.0 client connection endpoint. A malicious user can exploit the vulnerability by sending malicious AMQP messages to the target RabbitMQ instance having the AMQP 1.0 plugin enabled.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on availability.
- Affected versions
- before 3.8.16
- What to do
- Upgrade to 3.8.16 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
5. CVE-2019-11287: Resource exhaustion (DoS)
- What NVD says
- Pivotal RabbitMQ, versions 3.7.x prior to 3.7.21 and 3.8.x prior to 3.8.1, and RabbitMQ for Pivotal Platform, 1.16.x versions prior to 1.16.7 and 1.17.x versions prior to 1.17.4, contain a web management plugin that is vulnerable to a denial of service attack. The "X-Reason" HTTP Header can be leveraged to insert a malicious Erlang format string that will expand and consume the heap, resulting in the server crashing.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on availability.
- Affected versions
- 1.16.0 to before 1.16.7; 1.17.0 to before 1.17.4; 3.7.0 to before 3.7.21
- What to do
- Upgrade to the fixed release for your branch (1.16.7, 1.17.4, 3.7.21) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
6. CVE-2016-0929: Information exposure
- What NVD says
- The metrics-collection component in RabbitMQ for Pivotal Cloud Foundry (PCF) 1.6.x before 1.6.4 logs command lines of failed commands, which might allow context-dependent attackers to obtain sensitive information by reading the log data, as demonstrated by a syslog message that contains credentials from a command line.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality.
- Affected versions
- 1.6.0; 1.6.1; 1.6.2; 1.6.3
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
7. CVE-2020-5419: Arbitrary code execution
- What NVD says
- RabbitMQ versions 3.8.x prior to 3.8.7 are prone to a Windows-specific binary planting security vulnerability that allows for arbitrary code execution. An attacker with write privileges to the RabbitMQ installation directory and local access on Windows could carry out a local binary hijacking (planting) attack and execute arbitrary code.
- How it can be attacked
- Can be exploited locally on the machine with low attack complexity, needing high privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 3.7.28
- What to do
- Upgrade to 3.7.28 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
8. CVE-2018-1279: Security flaw
- What NVD says
- Pivotal RabbitMQ for PCF, all versions, uses a deterministically generated cookie that is shared between all machines when configured in a multi-tenant cluster. A remote attacker who can gain information about the network topology can guess this cookie and, if they have access to the right ports on any server in the MQ cluster can use this cookie to gain full control over the entire cluster.
- How it can be attacked
- Can be exploited from an adjacent network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality.
- Affected versions
- See the NVD record for the full list of affected versions.
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
9. CVE-2015-8786: Resource management error
- What NVD says
- The Management plugin in RabbitMQ before 3.6.1 allows remote authenticated users with certain privileges to cause a denial of service (resource consumption) via the (1) lengths_age or (2) lengths_incr parameter.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on availability.
- Affected versions
- 3.6.0
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
10. CVE-2017-4965: Cross-site scripting (XSS)
- What NVD says
- An issue was discovered in these Pivotal RabbitMQ versions: all 3.4.x versions, all 3.5.x versions, and 3.6.x versions prior to 3.6.9; and these RabbitMQ for PCF versions: all 1.5.x versions, 1.6.x versions prior to 1.6.18, and 1.7.x versions prior to 1.7.15. Several forms in the RabbitMQ management UI are vulnerable to XSS attacks.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and user interaction. It has limited impact on confidentiality and integrity.
- Affected versions
- 3.5.4; 3.5.5; 3.5.7; 3.6.0
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
RabbitMQ end of life: which versions still get security fixes
Running a release that still receives security fixes is the most effective way to avoid RabbitMQ vulnerabilities. After a release reaches end of life, newly published CVEs stay unpatched. As of Nov 3, 2026 the supported RabbitMQ releases are 4.4, 4.3.
| Release | Released | End of life | Latest | Status |
|---|---|---|---|---|
| RabbitMQ 4.4 | Oct 20, 2026 | Jul 31, 2027 | 4.4.0 | Supported |
| RabbitMQ 4.3 | Apr 23, 2026 | Jan 31, 2027 | 4.3.7 | Supported |
| RabbitMQ 4.2 | Oct 27, 2025 | Jul 31, 2026 | 4.2.9 | End of life |
| RabbitMQ 4.1 | Apr 15, 2025 | Jan 30, 2026 | 4.1.8 | End of life |
| RabbitMQ 4.0 | Sep 18, 2024 | Apr 30, 2025 | 4.0.9 | End of life |
| RabbitMQ 3.13 | Feb 22, 2024 | Sep 30, 2024 | 3.13.7 | End of life |
| RabbitMQ 3.12 | Jun 1, 2023 | Feb 29, 2024 | 3.12.14 | End of life |
| RabbitMQ 3.11 | Sep 26, 2022 | Jun 1, 2023 | 3.11.28 | End of life |
Dates come from endoflife.date (opens in a new tab), which tracks each project's own support policy. Confirm them with the vendor before planning an upgrade.
RabbitMQ security checklist
- Bind the service to a private network and require authentication.
- Use TLS between clients and brokers.
- Restrict management consoles to administrators.
- Apply security releases after testing.
- Monitor for unusual connections and queue growth.
Where you run RabbitMQ matters as much as how you patch it. Whether your site lives on a VPS, a dedicated server or shared hosting (opens in a new tab), check who is responsible for updating RabbitMQ: on most plans the operating system and applications are yours to patch unless the plan says otherwise.
Your stack is bigger than RabbitMQ. A flaw anywhere in the chain can be the way in, so also review our guides to Apache Kafka vulnerabilities, Redis vulnerabilities and Docker vulnerabilities.
How to get alerted about new RabbitMQ vulnerabilities
NVD received 0 new RabbitMQ CVEs in the last twelve months, and critical ones can be exploited within days. Reading advisories by hand is easy to forget, so most teams automate it. You have three practical options:
- Follow the vendor's announcements and your distribution's security list. They are accurate but cover only one product and you read them manually.
- Query the NVD feed yourself. It is complete and needs scripting, filtering and a mail or chat integration to maintain.
- Use a stack-based alert service. You pick your technologies once and receive an email when a matching CVE appears.
Vulnario is the third option, and it is free to start. It scans the National Vulnerability Database, the CISA KEV catalog and GitHub Security Advisories every hour. You choose RabbitMQ and the rest of your stack, confirm your email with a code, and the alerts begin. Each email includes the CVE number, the CVSS score, a marker when CISA lists the flaw as actively exploited, the attack vector, a patch or advisory link and a suggested time frame to fix it.
- Free: all technologies, alerts grouped at most every 12 hours.
- Pro ($29/month): alerts are sent on the next hourly scan, so you hear about a new CVE up to 12 hours earlier.
Related security guides
Few stacks run RabbitMQ alone. These guides cover the technologies it is most often deployed with.
- Apache Kafka vulnerabilities: Apache Kafka is a distributed event streaming platform.
- Redis vulnerabilities: Redis is an in-memory data store used as a cache, database and message broker.
- Docker vulnerabilities: Docker is the standard tool for building and running containers.
- Memcached vulnerabilities: Memcached is a high-performance in-memory caching system.
Frequently asked questions about RabbitMQ vulnerabilities
What are the most critical RabbitMQ vulnerabilities?
Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical RabbitMQ CVEs include CVE-2016-9877 (CVSS 9.8), CVE-2017-4966 (CVSS 7.8), CVE-2022-31008 (CVSS 7.5). The guide above ranks the 10 most critical with affected versions and fixes.
Have RabbitMQ vulnerabilities been exploited in real attacks?
For the RabbitMQ product entries we checked, none of the CVEs is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog. A CVE can still be exploited before it is added, so keep RabbitMQ patched.
How many vulnerabilities does RabbitMQ have?
As of Nov 3, 2026 the National Vulnerability Database lists 17 CVEs for RabbitMQ, with 1 rated critical by CVSS v3. 0 were published in the previous twelve months.
Which RabbitMQ versions are still supported?
As of Nov 3, 2026, endoflife.date lists these RabbitMQ releases as supported: 4.4, 4.3. Releases that are not listed are past their announced end of life.
How can I get alerted when a new RabbitMQ CVE is published?
Add RabbitMQ to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose RabbitMQ and the rest of your stack, verify your email, and you receive an alert when a new CVE matches. Free alerts are grouped at most every 12 hours, and Pro sends them on the next hourly scan.
Is RabbitMQ secure?
RabbitMQ is as secure as its patch level. NVD published 0 new RabbitMQ CVEs in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.
What is CVE-2016-9877?
CVE-2016-9877 is a critical RabbitMQ vulnerability with a CVSS score of 9.8, published Dec 29, 2016. An issue was discovered in Pivotal RabbitMQ 3.x before 3.5.8 and 3.6.x before 3.6.6 and RabbitMQ for PCF 1.5.x before 1.5.20, 1.6.x before 1.6.12, and 1.7.x before 1.7.7.
Sources
- National Vulnerability Database (NVD) (opens in a new tab), CVE records, CVSS scores and CPE counts, checked Nov 3, 2026.
- CISA Known Exploited Vulnerabilities (KEV) catalog (opens in a new tab), checked Nov 3, 2026.
- endoflife.date: RabbitMQ (opens in a new tab), release and support dates, checked Nov 3, 2026.
This article is informational and not a substitute for your own risk assessment. CVSS scores and affected versions may change when NVD updates a record.