See how rabbitmq compares to other vendors in security performance
RabbitMQ rabbitmq-server 4.2.9 before 4.2.13, 4.3.3 before 4.3.8, and 4.4.0 before 4.4.1 lacks caller authentication on the management plugin's /js/oidc-oauth/token-endpoint proxy, which relays requests to the OAuth2 provider with the broker's client secret. Unauthenticated attackers can POST clientcredentials or password grants with chosen scopes to mint JWTs accepted by the management API and AMQP 0-9-1 listener.
RabbitMQ Server 3.13.0 before 3.13.22, 4.1.0 before 4.1.18, 4.2.0 before 4.2.13, 4.3.0 before 4.3.8, and 4.4.0 before 4.4.1 contains a cross-site request forgery vulnerability in the Management API, which relies solely on HTTP Basic authentication without anti-CSRF tokens and accepts state-changing requests with a text/plain or missing Content-Type. Attackers can host cross-site HTML forms or no-cors fetch requests that avoid CORS preflight and reuse a victim's cached Basic credentials to publish or consume messages.
RabbitMQ Server 3.13.0 before 3.13.22, 4.1.0 before 4.1.18, 4.2.0 before 4.2.13, 4.3.0 before 4.3.8, and 4.4.0 before 4.4.1 contains a cross-site request forgery vulnerability in the Management API, which relies solely on HTTP Basic authentication without anti-CSRF tokens and accepts state-changing requests with a text/plain or missing Content-Type. Attackers can host cross-site HTML forms or no-cors fetch requests that avoid CORS preflight and reuse a victim's cached Basic credentials to publish or consume messages.
RabbitMQ Server 3.13.0 before 3.13.22, 4.1.0 before 4.1.18, 4.2.0 before 4.2.13, 4.3.0 before 4.3.8, and 4.4.0 before 4.4.1 does not check x-dead-letter-routing-key against topic permissions when a queue is declared, and dead-lettered messages are routed with broker authority. Authenticated users can declare a queue with x-dead-letter-exchange, a forbidden x-dead-letter-routing-key, and x-message-ttl=0 to publish messages on topic routing keys outside their write pattern.
RabbitMQ Server 3.13.0 before 3.13.22, 4.1.0 before 4.1.18, 4.2.0 before 4.2.13, 4.3.0 before 4.3.8, and 4.4.0 before 4.4.1 strips AMQP types from x- annotations in the AMQP 1.0 modified outcome, and mcutil:infertype/1 crashes restoring float, double, or null values on quorum queue messages. An authenticated consumer can settle a message this way to repeatedly close other AMQP 1.0 consumers' sessions, lose messages dead-lettered at-most-once into a stream, or halt at-least-once dead-lettering for all virtual hosts on the node.
RabbitMQ Server 3.13.0 before 3.13.22, 4.1.0 before 4.1.18, 4.2.0 before 4.2.13, 4.3.0 before 4.3.8, and 4.4.0 before 4.4.1 strips AMQP types from x- annotations in the AMQP 1.0 modified outcome, and mcutil:infertype/1 crashes restoring float, double, or null values on quorum queue messages. An authenticated consumer can settle a message this way to repeatedly close other AMQP 1.0 consumers' sessions, lose messages dead-lettered at-most-once into a stream, or halt at-least-once dead-lettering for all virtual hosts on the node.
RabbitMQ Server 4.4.0 before 4.4.1, 4.3.0 before 4.3.8, 4.2.0 before 4.2.13, 4.1.0 before 4.1.18, and 3.13.0 before 3.13.22 contains an authorization bypass in the LDAP backend because ${username} and other variables are substituted unescaped into match-form access query regular expressions. An authenticated principal whose name contains PCRE metacharacters can rewrite the pattern to gain configure, write, and read access to other principals' queues and exchanges in the same vhost.
RabbitMQ Server 4.4.0 before 4.4.1, 4.3.0 before 4.3.8, 4.2.0 before 4.2.13, 4.1.0 before 4.1.18, and 3.13.0 before 3.13.22 contains an authorization bypass in the LDAP backend because ${username} and other variables are substituted unescaped into match-form access query regular expressions. An authenticated principal whose name contains PCRE metacharacters can rewrite the pattern to gain configure, write, and read access to other principals' queues and exchanges in the same vhost.
RabbitMQ rabbitmq-server 4.2.0 before 4.2.13, 4.3.0 before 4.3.8, and 4.4.0 before 4.4.1 contains an insufficient session expiration flaw: when rabbitmqauthbackendcache wraps rabbitauthbackendoauth2, a previously accepted JWT stays valid past its exp time until the cache TTL elapses. A holder of the expired token can issue new management HTTP requests in that window using its former permissions, such as reading queue messages or creating administrator users.
RabbitMQ rabbitmq-server 4.2.0 before 4.2.13, 4.3.0 before 4.3.8, and 4.4.0 before 4.4.1 contains an insufficient session expiration flaw: when rabbitmqauthbackendcache wraps rabbitauthbackendoauth2, a previously accepted JWT stays valid past its exp time until the cache TTL elapses. A holder of the expired token can issue new management HTTP requests in that window using its former permissions, such as reading queue messages or creating administrator users.
RabbitMQ Server 3.13.0 before 3.13.21, 4.1.0 before 4.1.17, 4.2.0 before 4.2.12, and 4.3.0 before 4.3.7 allows memory exhaustion because maxmessagesize is enforced only after the final AMQP 0-9-1 body frame arrives, so body fragments of incomplete messages are buffered without limit. An authenticated user can declare body sizes up to 512 MiB on many channels and withhold the last frame, causing an OOM kill or node-wide publisher blocking.
RabbitMQ Server 3.13.0 before 3.13.21, 4.1.0 before 4.1.17, 4.2.0 before 4.2.12, and 4.3.0 before 4.3.7 allows memory exhaustion because maxmessagesize is enforced only after the final AMQP 0-9-1 body frame arrives, so body fragments of incomplete messages are buffered without limit. An authenticated user can declare body sizes up to 512 MiB on many channels and withhold the last frame, causing an OOM kill or node-wide publisher blocking.
The amqp10client Erlang AMQP 1.0 client library 3.13.0 before 3.13.21, 4.1.0 before 4.1.17, 4.2.0 before 4.2.12, and 4.3.0 before 4.3.7 fails to redact SASL credentials because amqp10clientconnection:formatstatus/1 only matches {plain, User, Pwd}, not the stored {plaintext, Bin} or {encrypted, Bin} shape. Attackers with access to crash dumps or sys:getstatus output can recover broker passwords when no obfuscation secret is configured, which is the library default.
The amqp10client Erlang AMQP 1.0 client library 3.13.0 before 3.13.21, 4.1.0 before 4.1.17, 4.2.0 before 4.2.12, and 4.3.0 before 4.3.7 fails to redact SASL credentials because amqp10clientconnection:formatstatus/1 only matches {plain, User, Pwd}, not the stored {plaintext, Bin} or {encrypted, Bin} shape. Attackers with access to crash dumps or sys:getstatus output can recover broker passwords when no obfuscation secret is configured, which is the library default.
RabbitMQ Server 3.13.19 before 3.13.21, 4.1.15 before 4.1.17, 4.2.10 before 4.2.12, and 4.3.5 before 4.3.7 contains an HTML injection vulnerability in the rabbitmqmanagement plugin's OAuth login warning, because checkbadresponse passes the server-supplied 401/403 error reason to the loginoauth.ejs template unescaped. An attacker with configure permission can declare a queue whose name contains an HTML <base> payload; when a victim lacking read permission on it requests messages, the injected element retargets the UI's periodic refresh requests to an attacker origin, leaking the victim's Authorization header.
RabbitMQ Server 3.13.19 before 3.13.21, 4.1.15 before 4.1.17, 4.2.10 before 4.2.12, and 4.3.5 before 4.3.7 contains an HTML injection vulnerability in the rabbitmqmanagement plugin's OAuth login warning, because checkbadresponse passes the server-supplied 401/403 error reason to the loginoauth.ejs template unescaped. An attacker with configure permission can declare a queue whose name contains an HTML <base> payload; when a victim lacking read permission on it requests messages, the injected element retargets the UI's periodic refresh requests to an attacker origin, leaking the victim's Authorization header.
RabbitMQ Server 4.2.x before 4.2.12 and 4.3.x before 4.3.7 generates direct reply-to keys with the non-cryptographic rabbitguid:gen/0 function, whose reversible per-process chain lets later keys from the same channel or session be derived. An authenticated peer that receives a victim's reply-to addresses can compute keys used with other peers and inject forged RPC replies into those conversations.
RabbitMQ Server 4.2.x before 4.2.12 and 4.3.x before 4.3.7 generates direct reply-to keys with the non-cryptographic rabbitguid:gen/0 function, whose reversible per-process chain lets later keys from the same channel or session be derived. An authenticated peer that receives a victim's reply-to addresses can compute keys used with other peers and inject forged RPC replies into those conversations.
RabbitMQ 4.1.0 before 4.1.17, 4.2.0 before 4.2.12, and 4.3.0 before 4.3.7 does not enforce the 255-byte shortstr key limit when converting nested maps in AMQP 1.0 application properties to AMQP 0.9.1 field tables, causing a contentpropertiesshortstroverflow that tears down consumer connections. A user with only write permission on a shared exchange can publish such a message, repeatedly disconnecting AMQP 0.9.1 consumers of bound queues and causing unbounded broker log growth.
RabbitMQ 4.1.0 before 4.1.17, 4.2.0 before 4.2.12, and 4.3.0 before 4.3.7 does not enforce the 255-byte shortstr key limit when converting nested maps in AMQP 1.0 application properties to AMQP 0.9.1 field tables, causing a contentpropertiesshortstroverflow that tears down consumer connections. A user with only write permission on a shared exchange can publish such a message, repeatedly disconnecting AMQP 0.9.1 consumers of bound queues and causing unbounded broker log growth.
RabbitMQ Server 3.13.0 before 3.13.21, 4.1.0 before 4.1.17, 4.2.0 before 4.2.12, and 4.3.0 before 4.3.7 contains a format string vulnerability in rabbitmqauthbackendldap, which returns the rejected userdnpattern bind DN as an Erlang format string. Unauthenticated attackers can send failed AMQP PLAIN logins with usernames such as ~10000n to amplify log, disk, and per-connection memory consumption.
RabbitMQ Server 3.13.0 before 3.13.21, 4.1.0 before 4.1.17, 4.2.0 before 4.2.12, and 4.3.0 before 4.3.7 contains a format string vulnerability in rabbitmqauthbackendldap, which returns the rejected userdnpattern bind DN as an Erlang format string. Unauthenticated attackers can send failed AMQP PLAIN logins with usernames such as ~10000n to amplify log, disk, and per-connection memory consumption.
RabbitMQ Server 3.13.x before 3.13.20, 4.0.x before 4.0.25, 4.1.x before 4.1.16, 4.2.x before 4.2.11, and 4.3.x before 4.3.6 contains an insufficient session expiration vulnerability in the STOMP adapter, which does not terminate an authenticated consumer when the OAuth JWT used for CONNECT expires. Clients that subscribe while the token is valid continue receiving MESSAGE frames after expiry, exposing queue message payloads beyond the intended credential lifetime.
RabbitMQ Server 3.13.x before 3.13.20, 4.0.x before 4.0.25, 4.1.x before 4.1.16, 4.2.x before 4.2.11, and 4.3.x before 4.3.6 contains an insufficient session expiration vulnerability in the STOMP adapter, which does not terminate an authenticated consumer when the OAuth JWT used for CONNECT expires. Clients that subscribe while the token is valid continue receiving MESSAGE frames after expiry, exposing queue message payloads beyond the intended credential lifetime.
RabbitMQ Server 4.3.0 before 4.3.6, 4.2.0 before 4.2.11, 4.1.0 before 4.1.16, 4.0.0 before 4.0.25, and 3.13.0 before 3.13.20 contains an information disclosure vulnerability in rabbitstreampublishersmgmt, which checks whether the requested vhost and stream exist before verifying the caller's vhost permissions. Authenticated management-tagged users without permissions on a vhost can request /api/stream/publishers/:vhost and /api/stream/publishers/:vhost/:queue and distinguish 200 from 404 responses to enumerate vhost and Stream queue names.
RabbitMQ Server 4.3.0 before 4.3.6, 4.2.0 before 4.2.11, 4.1.0 before 4.1.16, 4.0.0 before 4.0.25, and 3.13.0 before 3.13.20 contains an information disclosure vulnerability in rabbitstreampublishersmgmt, which checks whether the requested vhost and stream exist before verifying the caller's vhost permissions. Authenticated management-tagged users without permissions on a vhost can request /api/stream/publishers/:vhost and /api/stream/publishers/:vhost/:queue and distinguish 200 from 404 responses to enumerate vhost and Stream queue names.
RabbitMQ Server 3.13.x before 3.13.20, 4.0.x before 4.0.25, 4.1.x before 4.1.16, 4.2.x before 4.2.11, and 4.3.x before 4.3.6 contains an information disclosure vulnerability in the Stream management plugin, whose consumers endpoint checks vhost existence before enforcing vhost-level authorization. Authenticated management users without permissions on a vhost can request GET /api/stream/consumers/:vhost and compare 200 versus 404 responses to enumerate other tenants' vhost names.
RabbitMQ Server 3.13.x before 3.13.20, 4.0.x before 4.0.25, 4.1.x before 4.1.16, 4.2.x before 4.2.11, and 4.3.x before 4.3.6 contains an information disclosure vulnerability in the Stream management plugin, whose consumers endpoint checks vhost existence before enforcing vhost-level authorization. Authenticated management users without permissions on a vhost can request GET /api/stream/consumers/:vhost and compare 200 versus 404 responses to enumerate other tenants' vhost names.
RabbitMQ Server 3.13.0 before 3.13.20, 4.0.0 before 4.0.25, 4.1.0 before 4.1.16, 4.2.0 before 4.2.11, and 4.3.0 before 4.3.6 has an MQTT plugin retained message store with no size or count limit that is held in memory, survives restarts, and is never reclaimed. An authenticated MQTT client with write permission can retain-publish large payloads to many distinct topics, permanently latching the node's memory alarm so that no MQTT client can connect.
RabbitMQ Server 3.13.0 before 3.13.20, 4.0.0 before 4.0.25, 4.1.0 before 4.1.16, 4.2.0 before 4.2.11, and 4.3.0 before 4.3.6 has an MQTT plugin retained message store with no size or count limit that is held in memory, survives restarts, and is never reclaimed. An authenticated MQTT client with write permission can retain-publish large payloads to many distinct topics, permanently latching the node's memory alarm so that no MQTT client can connect.