Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-44838 EUVD-2026-32548

RabbitMQ MQTT Topic Permission Authorization Bypass

Published May 27, 2026 · Updated May 28, 2026 · Assigned by GitHub_M

Description

RabbitMQ is a messaging and streaming broker. From 4.2.0 to before 4.2.4, RabbitMQ's MQTT plugin allows for topic-level authorization using regular expressions with variable substitution. Administrators can create patterns such as ^{client_id}-sensors$ to restrict user access to topics that include their client ID. However, the client_id is provided by the user in the MQTT CONNECT packet and is inserted into the regex pattern without escaping special regex characters. This flaw enables an authenticated MQTT user to inject regex operators to bypass authorization. This vulnerability is fixed in 4.2.4 and 4.3.0.

Affected products

VendorProductAffectedFixed
rabbitmq rabbitmq-server >= 4.2.0, < 4.2.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 rabbitmq-server4.2 4.2.9-0.1.hum1 RHSA-2026:42387
Red Hat Hardened Images 1 rabbitmq-server4.3 4.3.4-0.1.hum1 RHSA-2026:45128

Advisories 3

References