RabbitMQ rabbitmq-server MQTT parser flaw can disconnect matching subscribers

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2026-67418?

CVE-2026-67418 is a vulnerability classified as Improper Validation of Syntactic Correctness of Input and Uncaught Exception, affecting rabbitmq-server (affected versions: >= 3.13.0, < 3.13.19, >= 4.0.0, < 4.0.24, and other affected versions). This vulnerability is rated Medium, with a CVSS score of 5.3. Current sources do not report this vulnerability as exploited.

Overview

Original source data

RabbitMQ is a messaging and streaming broker. From 3.13.0 until 3.13.19, 4.0.24, 4.1.15, 4.2.10, and 4.3.5, the MQTT 5 parser in deps/rabbitmq_mqtt/src/rabbit_mqtt_packet.erl accepts Request-Problem-Information on PUBLISH packets even though the property is valid only for CONNECT. An authenticated publisher with topic write permission can cause the broker to store and route that inapplicable property to a separately authenticated matching subscriber. When the subscriber path serializes the outbound PUBLISH, serialise_prop/2 has no matching clause, and the uncontained function_clause exception closes the victim MQTT or Web MQTT connection. The publisher connection and broker remain available, and queued replay, retained-message persistence, and broker-wide denial of service were not established. This issue is fixed in versions 3.13.19, 4.0.24, 4.1.15, 4.2.10, and 4.3.5.

Affected products and scope

  • RabbitMQ rabbitmq-server: affected in >= 3.13.0, < 3.13.19; fixed in 3.13.19.
  • RabbitMQ rabbitmq-server: affected in >= 4.0.0, < 4.0.24; fixed in 4.0.24.
  • RabbitMQ rabbitmq-server: affected in >= 4.1.0, < 4.1.15; fixed in 4.1.15.
  • RabbitMQ rabbitmq-server: affected in >= 4.2.0, < 4.2.10; fixed in 4.2.10.
  • RabbitMQ rabbitmq-server: affected in >= 4.3.0, < 4.3.5; fixed in 4.3.5.

These boundaries apply to the RabbitMQ server component containing the relevant MQTT 5 parser. The record does not establish the status of branches outside those listed.

Technical details

RabbitMQ rabbitmq-server processes MQTT 5 properties without checking whether each property is valid for the packet type that contains it. Request-Problem-Information is valid only in CONNECT, but the parser in deps/rabbitmq_mqtt/src/rabbit_mqtt_packet.erl accepts it in PUBLISH. An authenticated MQTT 5 publisher with topic write permission can cause the broker to store and route the property to a separately authenticated subscriber whose subscription or filter matches. When the subscriber path serializes the outbound PUBLISH, serialise_prop/2 has no clause for the property, raising an uncontained function_clause exception that closes the victim MQTT or Web MQTT connection. The deployment must have MQTT, and optionally Web MQTT, enabled, and the victim must have a matching subscription. The available evidence places the defect in ingress property validation and egress serialization, but does not establish queued replay, retained-message persistence, or broker-wide effects.

Exploitability

The issue is reachable over the network by an authenticated MQTT 5 client with permission to write to a topic. No direct interaction from the victim is required, but a separately authenticated subscriber with a matching subscription or filter must have an active MQTT or Web MQTT connection. This creates a cross-principal effect in which one publisher can disconnect another client's session. The record and advisory provide reproducible evidence of the failure mode, but do not confirm exploitation in the wild; the record's public-exploit field is false.

Technical impact

The technical outcome is closure of the victim's MQTT or Web MQTT connection when the broker tries to serialize an outbound PUBLISH containing the inapplicable property. This is a targeted availability impact: an authenticated publisher can affect another principal, while the publisher and broker remain available. No confidentiality or integrity impact is established for this issue. The available proof describes a one-shot QoS 0 disconnect; queued replay, retained-message persistence, reconnect poisoning, and broker-wide denial of service were not demonstrated. Organisational consequences are therefore primarily limited to interruption of clients or message-consumer pipelines that rely on the closed session.

Business impact

The main operational effect is disruption of a specific MQTT or Web MQTT subscriber session, which can interrupt data consumption or control workflows that depend on that connection. A valid publisher account with topic-write permission can affect another client when their message-routing paths match. The record does not establish loss of confidentiality or unauthorized data modification beyond the message sent by the publisher. The publisher connection and broker remain available, so the issue is not established as a complete service outage. The practical scope depends on topic permissions, subscription patterns, and the number of connected subscribers exposed to matching traffic.

Remediation

  1. Upgrade each affected branch to its corresponding fixed release: 3.13.19, 4.0.24, 4.1.15, 4.2.10, or 4.3.5. Do not assume that a fix in one branch covers another branch without supporting evidence.
  2. If maintaining a downstream build or fork, apply the parser change that validates property applicability for each MQTT packet type, including rejection of an inapplicable property in PUBLISH.
  3. Add an outbound check that serializes only properties valid for PUBLISH, and handle serializer failures as a controlled protocol error rather than terminating an unrelated subscriber connection.
  4. Add two-principal regression tests covering both native MQTT and Web MQTT, verifying that a publisher cannot close a subscriber connection with a matching subscription.
  5. No separate deployment workaround is established by the supplied evidence. While waiting to upgrade, prioritize removal of unnecessary topic-write permissions and monitor for subscriber connection closures, but do not treat those measures as a substitute for the fix.

Detection

Perform the following checks:

  • Inventory RabbitMQ rabbitmq-server deployments and identify where MQTT or Web MQTT is enabled.
  • Compare each running release with the affected branches and patched releases listed in affected_summary.
  • Review topic-write permissions for authenticated MQTT accounts and identify subscriber populations with matching subscriptions or filters.
  • Review broker and application logs for function_clause, rabbit_mqtt_packet, serialise_prop, rabbit_mqtt_processor, or MQTT and Web MQTT connection closures during message delivery.
  • In a controlled test environment, run a protocol-conformance test that verifies an inapplicable property is rejected without closing an unrelated subscriber connection.

The absence of these log events does not prove that a deployment is safe, because the failure may not have been triggered or the relevant logs may be collected elsewhere.

Sources (15)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.