Bug 2516141 (CVE-2026-74241) - CVE-2026-74241 quay: LDAP referral filter injection in Quay external LDAP authentication
Summary: CVE-2026-74241 quay: LDAP referral filter injection in Quay external LDAP aut...
Keywords:
Status: NEW
Alias: CVE-2026-74241
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-14 19:50 UTC by OSIDB Bzimport
Modified: 2026-08-14 20:08 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-14 19:50:26 UTC
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 username_or_email input without applying escape_filter_chars(), 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 SCOPE_BASE limits the search to a single DN (preventing directory enumeration) and a separate simple_bind_s 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.


Note You need to log in before you can comment on or make changes to this bug.