CVE-2025-30219
MediumCVSS 6.1Exploitation Probability (EPSS)
Low risk12th percentile - higher than 12% of all known CVEs
Summary
RabbitMQ versions prior to 4.0.3 are vulnerable to an attack that can modify a virtual host name on disk and make it unrecoverable. The virtual host name is not escaped in the error message displayed in the management UI, which can lead to arbitrary JavaScript code execution in the user's browser (XSS).
Risk Assessment
An attacker could execute arbitrary JavaScript in the browser of an administrator using the RabbitMQ management UI, potentially leading to session hijacking or further attacks. However, this requires the ability to modify files on the server disk.
Recommendation
Update RabbitMQ to version 4.0.3 or later (or Tanzu RabbitMQ 4.0.3/3.13.8). Restrict access to the management UI and regularly verify the integrity of configuration files.
Other vulnerabilities in RabbitMQ
See all- CVE-2026-67237Critical
RabbitMQ versions from 4.2.0 until 4.2.8 and 4.3.2 had set_token_auth/2 inserting a bearer token from the Authorization header or access_token cookie into OAuth bootstrap JavaScript without escaping. This allowed attacker-controlled token content to execute JavaScript in the management UI origin. The endpoint is exposed before authentication only when management.oauth_enabled is true, and exploitation through the cookie path additionally requires the attacker to plant an access_token cookie on the management host.
- CVE-2026-67231Critical
RabbitMQ prior to versions 3.13.15, 4.0.20, 4.1.11, 4.2.6, and 4.3.0 — the trust-store plugin installs a verify_fun that overrides {bad_cert, unknown_ca} / {bad_cert, selfsigned_peer} when the presented cert "matches" a whitelisted one. The match key relies solely on issuer name and serial number, which can be easily forged, allowing TLS client authentication bypass.
- CVE-2026-144263Medium
RabbitMQ 4.2.x before 4.2.10 and 4.3.x before 4.3.5 decodes the channel PID from direct reply-to addresses but discards the capability-key suffix without validating it, so distinct forged reply-to names resolve to the same channel. An authenticated AMQP user can place many forged names in one message's CC header, causing quadratic mailbox memory growth that exhausts broker node memory.
- CVE-2026-144255Low
RabbitMQ 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.10, and 4.3.x before 4.3.5 crash in the x-consistent-hash exchange when the exchange has two or more buckets and the hash-header value is an empty AMQP field array. An authenticated attacker with write access can publish a persistent message with an empty array header that dead-letters through the exchange, repeatedly crashing the victim classic queue process until its supervisor exhausts restart attempts.
- CVE-2026-144254Medium
RabbitMQ 3.13.0 before 3.13.19, 4.0.0 before 4.0.24, 4.1.0 before 4.1.15, 4.2.0 before 4.2.10, and 4.3.0 before 4.3.5 allow a management user with the administrator tag to execute arbitrary BEAM functions without the Erlang cookie. Global-parameter names become node atoms, DELETE /api/reset/:node contacts nodes before checking cluster membership, and OTP 27's legacy cookie digest is not bound to peer identity; an attacker interns node names, opens two outbound distribution handshakes, reflects the cookie digest, and invokes arbitrary functions through rex.
- CVE-2026-144253High
RabbitMQ 3.13.x before 3.13.19, 4.0.x before 4.0.24, 4.1.x before 4.1.15, 4.2.x before 4.2.10, and 4.3.x before 4.3.5 allows a policymaker-tagged management user to execute arbitrary BEAM functions because the federation-management link restart route calls rpc:call/5 on a user-supplied node without validating cluster membership. Attackers can create attacker node atoms via global-parameter names, trigger two concurrent outbound distribution handshakes, and reflect the OTP 27 cookie digest between them to authenticate and invoke rex with controlled module, function, and arguments.
- CVE-2026-144252Medium
RabbitMQ 3.13.0 before 3.13.19, 4.0.0 before 4.0.24, 4.1.0 before 4.1.15, 4.2.0 before 4.2.10, and 4.3.0 before 4.3.5 returns unredacted dynamic shovel definitions from the per-shovel management HTTP API while authorizing reads with only the monitoring tag. An authenticated monitoring user with vhost access can obtain cleartext src-uri and dest-uri credentials for the shovel's source and destination brokers.
- CVE-2026-144251Medium
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.
- CVE-2026-144248Medium
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.
- CVE-2026-144247Medium
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 rabbitmq_auth_backend_ldap, which returns the rejected user_dn_pattern 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.
Original NVD description (English source)
RabbitMQ is a messaging and streaming broker. Versions prior to 4.0.3 are vulnerable to a sophisticated attack that could modify virtual host name on disk and then make it unrecoverable (with other on disk file modifications) can lead to arbitrary JavaScript code execution in the browsers of management UI users. When a virtual host on a RabbitMQ node fails to start, recent versions will display an error message (a notification) in the management UI. The error message includes virtual host name, which was not escaped prior to open source RabbitMQ 4.0.3 and Tanzu RabbitMQ 4.0.3, 3.13.8. An attack that both makes a virtual host fail to start and creates a new virtual host name with an XSS code snippet or changes the name of an existing virtual host on disk could trigger arbitrary JavaScript code execution in the management UI (the user's browser). Open source RabbitMQ `4.0.3` and Tanzu RabbitMQ `4.0.3` and `3.13.8` patch the issue.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

