CVE-2026-144237: RabbitMQ Server 4.4.0 LDAP Backend Authorization Bypass via Unescaped Regex Variables
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.4.1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.3.8 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.2.13 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.1.18 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3.13.22
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Deployments using the RabbitMQ LDAP backend for authorization are affected if they run RabbitMQ Server 4.4.0, 4.3.0 through 4.3.7, 4.2.0 through 4.2.12, 4.1.0 through 4.1.17, or 3.13.0 through 3.13.21. The issue concerns match-form access queries that substitute variables such as ${username} into regular expressions.
What must an attacker have to exploit the bypass?
An attacker needs an authenticated RabbitMQ principal with a name containing PCRE metacharacters. They can use those characters to alter the access-query pattern and obtain configure, write, and read access to other principals' queues and exchanges within the same vhost.
What versions remediate the issue?
Upgrade to RabbitMQ Server 4.4.1, 4.3.8, 4.2.13, 4.1.18, or 3.13.22, as applicable to the deployed release line.