5.4Medium

CVE-2026-16071Keycloak-services: keycloak-services: ldap entry-dn user search bypasses configured users dn boundary

Red Hat Red Hat build of Keycloak 26.4; Red Hat Red Hat build of Keycloak 26.4.14; Red Hat Red Hat build of Keycloak 26.6; Red Hat Red Hat build of Keycloak 26.6.5 Published: (3 months ago)

Description

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.

Weakness (CWE): CWE-90CWE-269

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

References and patches

CPE matches (NVD) (2)

  • cpe:2.3:a:redhat:build_of_keycloak:*:*:*:*:*:*:*:* ≥ 26.4 < 26.4.14
  • cpe:2.3:a:redhat:build_of_keycloak:*:*:*:*:*:*:*:* ≥ 26.6 < 26.6.5