Servers and applications
GHSA-hqjp-fc45-wj4f
LDAP backend interpolates identity variables into authorization regexes unescaped, letting a username widen its own ACL
- Severity
- Medium 5.1
- Published
- 27 Nov 2026
- Last changed
- 27 Nov 2026
- Added to UpHeron
- 27 Nov 2026
- Fixed in
- 3.13.22, 4.1.18, 4.2.13, 4.3.8, 4.4.1
- Weakness
- CWE-625
- Attack
- Over the network · Only under certain conditions · Needs a user account · No user action needed
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:H/SA:N- Sources
- Project advisories (GitHub)
Description
In the LDAP backend's documented access queries the regular expression is the ACL. ${username} and the other variables are substituted into it with no escaping, so a principal whose name contains PCRE metacharacters rewrites the pattern that is supposed to constrain it and gains access to other principals' resources. This is an incomplete instance of the project's own hardening: commit f964a14cf9 (2026-07-03) added rabbit_re:escape/1 for exactly this problem and applied it to two backends, but not to LDAP.
deps/rabbitmq_auth_backend_ldap/src/rabbit_auth_backend_ldap.erl:376:
reaching the matcher unchanged:
rabbit_re:matches/2 calls re:run/3 with no anchoring, so a top-level alternation applies to the whole pattern. The substitution helper states its own limitation (rabbit_auth_backend_ldap_util.erl:12):
An ACL regex is not a string comparison. By contrast the internal backend does escape, at deps/rabbit/src/rabbit_auth_backend_internal.erl:222:
Affected software
| Software | Affected versions |
|---|---|
RabbitMQServers and applications · github:rabbitmq/rabbitmq-server |
|
About RabbitMQ
open source message broker, sometimes referred to as "Rabbit"
- Docker Hub pulls
- 3,932,813,088Docker Hub, 29 Nov 2026
- GitHub stars
- 13,987GitHub, 29 Nov 2026
- Forks
- 4,037GitHub, 29 Nov 2026
- Latest release
- v4.4.1GitHub, 29 Nov 2026
- Released
- 16 Nov 2026GitHub
- Developer
- Jean-Sébastien PédronWikidata
- License
- Mozilla Public License, version 2.0Wikidata
- Written in
- ErlangWikidata
- First published on GitHub
- 20 Sept 2010GitHub
Website Source code Docker image
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| 4.4 | 4.4.1 | Until 31 Jul 2027 |
| 4.3 | 4.3.8 | Until 31 Jan 2027 |
| 4.2 | 4.2.9 | Ended 31 Jul 2026 |
| 4.1 | 4.1.8 | Ended 30 Jan 2026 |
| 4.0 | 4.0.9 | Ended 30 Apr 2025 |
| 3.13 | 3.13.7 | Ended 30 Sept 2024 |
From endoflife.date.
Vulnerabilities in RabbitMQ
- In our list
- 113
- Published in the last 12 months
- 95
- Critical, last 12 months
- 5
- High, last 12 months
- 23
- Known exploited
- 0
- GHSA-w4p7-ffvp-qv8gPredictable direct reply-to key allows cross-peer reply injectionLow 2.3 27 Nov 2026
- GHSA-6q46-pxw7-rfv2RabbitMQ 4.4.0 auth-cache accepts expired OAuth JWTs for new management operationsLow 2.3 27 Nov 2026
- GHSA-4965-vg44-xv63AMQP 1.0: a float or null annotation in the modified outcome crashes consumer sessions and dead-letter workersMedium 5.3 27 Nov 2026
- GHSA-c22p-g5xq-x5jmCross-Site Request Forgery (CSRF) in Management API via text/plain Interpretation ConflictHigh 7.6 27 Nov 2026
- GHSA-8c56-38wg-g99qDead Letter Exchange Bypasses Topic-Level Authorization (not Resource-Level)Low 2.3 27 Nov 2026
- GHSA-cfvg-5q96-8mhmUnauthenticated OAuth2 token-endpoint proxy allows anonymous privileged token mintingCritical 9.1 27 Nov 2026
References
- GitHub Advisory Database https://github.com/advisories/GHSA-hqjp-fc45-wj4f
- github.com https://github.com/rabbitmq/rabbitmq-server/security/advisories/GHSA-hqjp-fc45-wj4f