---
id: CVE-2026-16071
title: >-
  A flaw was found in the LDAP storage provider of Keycloak, which is used to
  federate user identities from external directories
summary: >-
  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 N…
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'
cwe:
  - CWE-90
  - CWE-269
vendor: redhat
product: build_of_keycloak
affected:
  - 'build_of_keycloak >= 26.4, < 26.4.14'
  - 'build_of_keycloak >= 26.6, < 26.6.5'
patched:
  - build_of_keycloak 26.6.5
published: '2026-08-05'
updated: '2026-08-31'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-16071'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2026:50846'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:50847'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:50848'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:50849'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2026-16071'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2501720'
    label: secalert@redhat.com
tags:
  - nvd
epss: 0.00315
epssPercentile: 0.21825
ingestedAt: '2026-08-31T13:08:32.782Z'
---

## Overview

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.

## Affected

- `build_of_keycloak >= 26.4, < 26.4.14`
- `build_of_keycloak >= 26.6, < 26.6.5`

## Remediation

Upgrade past the affected range:

- `build_of_keycloak 26.6.5`
