LDAP injection in RabbitMQ Server - #VU139289

 

LDAP injection in RabbitMQ Server - #VU139289

Published: July 24, 2026


Vulnerability identifier: #VU139289
CSH Severity: Low
CVSS v4 BT: 1.7 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear]
CVE-ID: N/A
CWE-ID: CWE-90
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to modify integrity of LDAP-based authentication decisions.

The vulnerability exists due to improper neutralization of special elements used in an LDAP query in the fill/2 function of rabbit_auth_backend_ldap_util.erl when interpolating the username into a DN string for LDAP simple-bind. A remote attacker can supply a specially crafted username containing unescaped DN special characters to modify integrity of LDAP-based authentication decisions.

Only deployments with rabbitmq_auth_backend_ldap enabled and a user_dn_pattern containing ${username} are vulnerable. Exploitation also requires a directory layout where DN-suffix injection resolves to a useful entry.


Affected software

RabbitMQ Server

Remediation

Install security update from vendor's website.

RabbitMQ Server - addressed in versions 3.13.18, 4.0.23, 4.1.14, 4.2.9, 4.3.3

External References

Related Security Bulletins