CVE-2026-67223

RabbitMQ: LDAP DN injection via unescaped substitution

Published Sep 25, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
RabbitMQ is a messaging and streaming broker. The advisory establishes affected 3.13, 4.0, 4.1, 4.2, and 4.3 maintenance lines but contains conflicting first-fixed versions for the 3.13, 4.0, and 4.1 lines. fill/2 substitutes ${username} into user_dn_pattern without RFC 4514 DN escaping, allowing a crafted username to alter the LDAP bind DN and potentially select a different directory entry. Exploitation requires rabbitmq_auth_backend_ldap with a user_dn_pattern containing ${username}, a directory layout in which the injected suffix resolves usefully, and a password valid for the resulting DN. The advisory body identifies 3.13.15, 4.0.20, 4.1.11, 4.2.9, and 4.3.3 as fixed, while structured metadata identifies 3.13.18, 4.0.23, 4.1.14, 4.2.9, and 4.3.3. No fixed-version assertion is certifiable until a curator resolves this conflict.

Analysis

AI-generated

Technical impact

The vulnerability is an LDAP injection flaw in RabbitMQ server where the fill/2 function substitutes an unescaped ${username} into the LDAP user_dn_pattern. This allows an attacker to craft a username that manipulates the LDAP bind DN so that the broker attempts to bind as an arbitrary directory entry. If the attacker also supplies a password that is valid for the injected DN, they can authenticate as that entry, potentially gaining unauthorized access or impersonation. The weakness arises from improper input validation of LDAP Distinguished Names (CWE‑90).

Affected Systems

Vendors affected: RabbitMQ (rabbitmq-server). Maintenance lines affected include 3.13, 4.0, 4.1, 4.2, and 4.3. Version numbers prior to the following fixed releases are vulnerable: 3.13.x before 3.13.15 or 3.13.18, 4.0.x before 4.0.20 or 4.0.23, 4.1.x before 4.1.11 or 4.1.14, 4.2.x before 4.2.9, and 4.3.x before 4.3.3. The advisory lists 4.2.9 and 4.3.3 as the definitive fixes, but a conflict exists for the earlier lines, so use those specific releases or newer.

Risk and Exploitability

The CVSS score of 6.3 indicates moderate severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting no widely known exploit activity. The attack vector requires that RabbitMQ is configured to use the rabbitmq_auth_backend_ldap plugin with a user_dn_pattern that includes ${username}. Given that the attacker must also provide a valid LDAP password and that the injected suffix must resolve to an entry in the directory, the exploitation requires a specific environment and configuration, which reduces the likelihood of random exploitation but still presents a risk in environments that meet the prerequisites.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade RabbitMQ to at least version 4.2.9, 4.3.3, or newer releases that contain the fix.
  • Review and revise the LDAP backend configuration so that the user_dn_pattern does not contain the ${username} placeholder or ensure proper DN escaping is applied.
  • Disable or restrict usage of the rabbitmq_auth_backend_ldap plugin if LDAP authentication is not required for your deployment.

Generated by OpenCVE AI on September 25, 2026 at 18:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Broadcom
Broadcom rabbitmq Server
CPEs cpe:2.3:a:broadcom:rabbitmq_server:*:*:*:*:*:*:*:*
Vendors & Products Broadcom
Broadcom rabbitmq Server
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N'}

Type Values Removed Values Added
First Time appeared Rabbitmq
Rabbitmq rabbitmq-server
Vendors & Products Rabbitmq
Rabbitmq rabbitmq-server
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description RabbitMQ is a messaging and streaming broker. The advisory establishes affected 3.13, 4.0, 4.1, 4.2, and 4.3 maintenance lines but contains conflicting first-fixed versions for the 3.13, 4.0, and 4.1 lines. fill/2 substitutes ${username} into user_dn_pattern without RFC 4514 DN escaping, allowing a crafted username to alter the LDAP bind DN and potentially select a different directory entry. Exploitation requires rabbitmq_auth_backend_ldap with a user_dn_pattern containing ${username}, a directory layout in which the injected suffix resolves usefully, and a password valid for the resulting DN. The advisory body identifies 3.13.15, 4.0.20, 4.1.11, 4.2.9, and 4.3.3 as fixed, while structured metadata identifies 3.13.18, 4.0.23, 4.1.14, 4.2.9, and 4.3.3. No fixed-version assertion is certifiable until a curator resolves this conflict.
Title RabbitMQ: LDAP DN injection via unescaped substitution
Weaknesses CWE-90
References
Metrics cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-90

    Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 25, 2026, 5:51 PM
Reserved
Jul 28, 2026, 7:50 PM
Status
Analyzed
Published
Sep 25, 2026, 5:17 PM
Modified
Oct 15, 2026, 7:54 PM