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

Most critical RabbitMQ vulnerabilities (data from NVD and CISA KEV)
#CVECVSSPublishedTypeCISA KEV
1CVE-2016-98779.8 Critical2016-12-29Improper access controlNo
2CVE-2017-49667.8 High2017-06-13Information exposureNo
3CVE-2022-310087.5 High2022-10-06Security flawNo
4CVE-2021-221167.5 High2021-06-08Resource exhaustion (DoS)No
5CVE-2019-112877.5 High2019-11-23Resource exhaustion (DoS)No
6CVE-2016-09297.5 High2016-09-18Information exposureNo
7CVE-2020-54196.7 Medium2020-08-31Arbitrary code executionNo
8CVE-2018-12796.5 Medium2018-12-10Security flawNo
9CVE-2015-87866.5 Medium2016-12-09Resource management errorNo
10CVE-2017-49656.1 Medium2017-06-13Cross-site scripting (XSS)No

Each RabbitMQ CVE explained

1. CVE-2016-9877: Improper access control

  • CVSS 9.8 Critical
  • Published 2016-12-29
  • CWE-284
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).

NVD record for CVE-2016-9877 (opens in a new tab)

2. CVE-2017-4966: Information exposure

  • CVSS 7.8 High
  • Published 2017-06-13
  • CWE-200
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).

NVD record for CVE-2017-4966 (opens in a new tab)

3. CVE-2022-31008: Security flaw

  • CVSS 7.5 High
  • Published 2022-10-06
  • CWE-330
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)

NVD record for CVE-2022-31008 (opens in a new tab)

4. CVE-2021-22116: Resource exhaustion (DoS)

  • CVSS 7.5 High
  • Published 2021-06-08
  • CWE-400
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)

NVD record for CVE-2021-22116 (opens in a new tab)

5. CVE-2019-11287: Resource exhaustion (DoS)

  • CVSS 7.5 High
  • Published 2019-11-23
  • CWE-400
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)

NVD record for CVE-2019-11287 (opens in a new tab)

6. CVE-2016-0929: Information exposure

  • CVSS 7.5 High
  • Published 2016-09-18
  • CWE-200
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).

NVD record for CVE-2016-0929 (opens in a new tab)

7. CVE-2020-5419: Arbitrary code execution

  • CVSS 6.7 Medium
  • Published 2020-08-31
  • CWE-427
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)

NVD record for CVE-2020-5419 (opens in a new tab)

8. CVE-2018-1279: Security flaw

  • CVSS 6.5 Medium
  • Published 2018-12-10
  • CWE-330
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).

NVD record for CVE-2018-1279 (opens in a new tab)

9. CVE-2015-8786: Resource management error

  • CVSS 6.5 Medium
  • Published 2016-12-09
  • CWE-399
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).

NVD record for CVE-2015-8786 (opens in a new tab)

10. CVE-2017-4965: Cross-site scripting (XSS)

  • CVSS 6.1 Medium
  • Published 2017-06-13
  • CWE-79
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).

NVD record for CVE-2017-4965 (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.

RabbitMQ release support (source: endoflife.date, checked Nov 3, 2026)
ReleaseReleasedEnd of lifeLatestStatus
RabbitMQ 4.4Oct 20, 2026Jul 31, 20274.4.0Supported
RabbitMQ 4.3Apr 23, 2026Jan 31, 20274.3.7Supported
RabbitMQ 4.2Oct 27, 2025Jul 31, 20264.2.9End of life
RabbitMQ 4.1Apr 15, 2025Jan 30, 20264.1.8End of life
RabbitMQ 4.0Sep 18, 2024Apr 30, 20254.0.9End of life
RabbitMQ 3.13Feb 22, 2024Sep 30, 20243.13.7End of life
RabbitMQ 3.12Jun 1, 2023Feb 29, 20243.12.14End of life
RabbitMQ 3.11Sep 26, 2022Jun 1, 20233.11.28End 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

  1. Bind the service to a private network and require authentication.
  2. Use TLS between clients and brokers.
  3. Restrict management consoles to administrators.
  4. Apply security releases after testing.
  5. 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.

Few stacks run RabbitMQ alone. These guides cover the technologies it is most often deployed with.

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

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.