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

Medium 5.4 Published Updated

A delegated administrator can bypass LDAP search boundaries to read unauthorized directory data and import users, affecting Keycloak deployments.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-16071?

CVE-2026-16071 is a medium-severity missing authorization vulnerability in Redhat Build of Keycloak, published on 5 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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-269, CWE-90

Which versions are affected by CVE-2026-16071?

1 open source package ship an affected version, including keycloak. It affects 1 product.

PackageAffectedFixed in
keycloak BitnamiFrom 26.4.026.4.14, 26.6.5

Products include Redhat Build of Keycloak.

How do I fix CVE-2026-16071?

Upgrade keycloak to a fixed version for your release line: 26.4.14 or 26.6.5.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-16071 being exploited?

There is no known exploitation of CVE-2026-16071 in the wild and no public exploit code.

All Redhat Build of Keycloak vulnerabilities

Sources

Also known as BIT-keycloak-2026-16071, GHSA-m28w-c4hx-9fvg.

Is CVE-2026-16071 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free