CVE-2026-16071: Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection') in Red Hat Red Hat build of Keycloak 26.4
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.
AI Analysis
Technical Summary
CVE-2026-16071 is a vulnerability in the LDAP storage provider component of Red Hat build of Keycloak 26.4. The flaw occurs when a delegated administrator performs a search using a specific LDAP entry Distinguished Name (DN). Due to missing validation, the system permits lookups for users outside the configured LDAP search boundary. This results in the disclosure of account information from unauthorized parts of the directory and unintended importing of those users into the local Keycloak storage. The root cause is the lack of validation ensuring the requested LDAP DN falls within the configured search boundary. The vulnerability requires delegated administrative privileges to exploit and has been assessed by Red Hat as moderate severity with a CVSS v3.1 base score of 5.4 (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N). Red Hat has published a security advisory and released an updated package (Keycloak 26.4.14) that includes a fix for this issue.
Potential Impact
Successful exploitation allows an attacker with delegated administrative privileges to disclose user account details from unauthorized LDAP organizational units (OUs) outside the configured search boundary. Additionally, it can cause unintended importing of these unauthorized users into the local Keycloak storage. This may lead to information disclosure and potential integrity issues within the local user database. The vulnerability does not impact availability and requires low privileges (delegated admin) but no user interaction.
Mitigation Recommendations
Red Hat has released an updated package, Red Hat build of Keycloak 26.4.14, which includes a fix for this vulnerability. Users should apply this security update to remediate the issue. Before applying the update, it is recommended to back up existing installations, including applications, configuration files, and databases. There is no indication that any other mitigations or workarounds are available or required. Patch status is confirmed by the vendor advisory.
CVE-2026-16071: Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection') in Red Hat Red Hat build of Keycloak 26.4
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.
CVSS v3.1
Score 5.4medium
Affected software
Red Hat
Red Hat build of Keycloak 26.4
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
Red Hat
Red Hat build of Keycloak 26.6.5
Red Hat
Red Hat Data Grid 8
Red Hat
Red Hat JBoss Enterprise Application Platform Expansion Pack
Red Hat
Red Hat Single Sign-On 7
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-16071 is a vulnerability in the LDAP storage provider component of Red Hat build of Keycloak 26.4. The flaw occurs when a delegated administrator performs a search using a specific LDAP entry Distinguished Name (DN). Due to missing validation, the system permits lookups for users outside the configured LDAP search boundary. This results in the disclosure of account information from unauthorized parts of the directory and unintended importing of those users into the local Keycloak storage. The root cause is the lack of validation ensuring the requested LDAP DN falls within the configured search boundary. The vulnerability requires delegated administrative privileges to exploit and has been assessed by Red Hat as moderate severity with a CVSS v3.1 base score of 5.4 (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N). Red Hat has published a security advisory and released an updated package (Keycloak 26.4.14) that includes a fix for this issue.
Potential Impact
Successful exploitation allows an attacker with delegated administrative privileges to disclose user account details from unauthorized LDAP organizational units (OUs) outside the configured search boundary. Additionally, it can cause unintended importing of these unauthorized users into the local Keycloak storage. This may lead to information disclosure and potential integrity issues within the local user database. The vulnerability does not impact availability and requires low privileges (delegated admin) but no user interaction.
Mitigation Recommendations
Red Hat has released an updated package, Red Hat build of Keycloak 26.4.14, which includes a fix for this vulnerability. Users should apply this security update to remediate the issue. Before applying the update, it is recommended to back up existing installations, including applications, configuration files, and databases. There is no indication that any other mitigations or workarounds are available or required. Patch status is confirmed by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-07-17T13:18:14.328Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-16071","vendor":"Red Hat"}]
Threat ID: 6a734bccbf8831d53906d978
Added to database: 08/05/2026, 14:42:20 UTC
Last enriched: 08/13/2026, 17:27:43 UTC
Last updated: 09/18/2026, 22:01:32 UTC
Views: 62
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.