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

CVE-2026-16071 affects 162 listed versions of Red Hat Keycloak in the Dawnsentry catalogue.

5.4CVSS medium
None knownexploitation
under 1%EPSS (next 30 days)
5 August 2026published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Red Hat Keycloak

162 of 176 listed versions are affected. Fixed in 26.7.1, 26.6.5, 26.4.14. The newest release, 26.37.1, is not affected.

26.7.0 26.7 26.6.4 26.6.3 26.6.2 26.6.1 26.6.0 26.5.7 26.5.6 26.5.5 26.5.4 26.5.3 26.5.2 26.5.1 26.5.0 26.4.7 26.4.6 26.4.5 26.4.4 26.4.2 26.4.1 26.4.0 26.3.5 26.3.4 26.3.3 26.3.2 26.3.1 26.3.0 26.2.11 26.2.10 26.2.9 26.2.8 26.2.6 26.2.5 26.2.4 26.2.3 26.2.2 26.2.1 26.2.0 26.1.5 26.1.4 26.1.3 26.1.2 26.1.1 26.1.0 26.0.16 26.0.13 26.0.10 26.0.8 26.0.7 26.0.6 26.0.5 26.0.4 26.0.2 26.0.1 26.0.0 25.0.6 25.0.5 25.0.4 25.0.2 and 102 more

What it is

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.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N (Red Hat)

Published by Red Hat on 5 August 2026. Last changed 31 August 2026.

Sources

Check one version you run: look CVE-2026-16071 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.