REDHAT-BUG-2516141: Medium severity Red Hat Quay vulnerability
A flaw was found in Red Hat Quay's external LDAP authentication handling. When an LDAP referral is returned during authentication, the referral handler at data/users/externalldap.py:700 constructs a search filter using the raw usernameoremail input without applying escapefilterchars(), unlike the normal authentication path which correctly escapes the input. This allows LDAP filter metacharacters (, (, )) in the username to be injected into the referral path's search filter. While SCOPEBASE limits the search to a single DN (preventing directory enumeration) and a separate simplebinds password check prevents direct authentication bypass, an attacker could use this to perform user-existence oracle attacks at the referral DN and potentially influence which DN enters the password bind in multi-domain Active Directory environments.
Affected Software
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2516141?
The severity of REDHAT-BUG-2516141 is medium, rated at 4.
What is the impact of REDHAT-BUG-2516141?
REDHAT-BUG-2516141 can lead to improper handling of LDAP usernames, potentially allowing unauthorized access due to insufficiently sanitized input.
How do I fix REDHAT-BUG-2516141?
To fix REDHAT-BUG-2516141, ensure that the LDAP authentication implementation applies proper escaping to the input used in the search filter.
In which software is REDHAT-BUG-2516141 found?
REDHAT-BUG-2516141 is found in Red Hat Quay.
When was REDHAT-BUG-2516141 published?
REDHAT-BUG-2516141 was published on August 14, 2026.