LDAP DN Boundary Bypass in Keycloak LDAP Storage Provider
CVE-2026-16071 Published on August 5, 2026
Keycloak-services: keycloak-services: ldap entry-dn user search bypasses configured users dn boundary
A flaw was found in the LDAP storage provider of Keycloak, which is used to federate user identities from external directories. The issue occurs when a delegated administrator performs a search using a specific LDAP entry Distinguished Name (DN). Due to missing validation, the system allows lookups for users located outside the configured search boundary, leading to the disclosure of account information from unauthorized parts of the directory and unintended importing of those users into local storage.
Vulnerability Analysis
CVE-2026-16071 can be exploited with network access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a small impact on confidentiality and integrity, and no impact on availability.
Timeline
Reported to Red Hat.
Made public. 19 days later.
Products Associated with CVE-2026-16071
Want to know whenever a new CVE is published for Red Hat products? stack.watch will email you.
Affected Versions
Red Hat build of Keycloak 26.4:- Version 26.4-22 and below * is unaffected.
- Version 26.4-22 and below * is unaffected.
- Version 26.4.14-1 and below * is unaffected.
- Version 26.6-11 and below * is unaffected.
- Version 26.6-11 and below * is unaffected.
- Version 26.6.5-1 and below * is unaffected.