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
CVE-2026-16071 is a medium severity vulnerability in the LDAP storage provider of Red Hat build of Keycloak 26.4. It allows a delegated administrator to perform LDAP searches using a crafted Distinguished Name (DN) that bypasses configured search boundaries. This leads to unauthorized disclosure of user account information from parts of the LDAP directory outside the intended scope and unintended importing of those users into local storage.
AI Analysis
Technical Summary
The vulnerability exists due to missing validation of LDAP entry Distinguished Names (DNs) in the LDAP storage provider of Keycloak. When a delegated administrator performs a search with a specially crafted DN, the system does not enforce the configured search boundary, allowing lookups for users outside the authorized LDAP organizational units (OUs). This improper neutralization of special elements in LDAP queries (LDAP Injection) results in unauthorized disclosure of account information and unintended user imports into local storage. The issue affects Red Hat build of Keycloak versions >=26.4.0 <26.4.14 and >=26.6.0 <26.6.5. The CVSS v3.1 base score is 5.4 (medium severity) with network attack vector, low complexity, and low privileges required.
Potential Impact
An attacker with delegated administrative privileges can exploit this vulnerability to disclose user account details from unauthorized LDAP OUs and cause unintended importing of those users into the local Keycloak database. This compromises confidentiality and integrity of user data within the LDAP directory and Keycloak local storage. There is no impact on availability. The vulnerability requires delegated admin privileges, limiting the attack surface.
Mitigation Recommendations
Red Hat has released fixed versions of the Red Hat build of Keycloak: 26.4.14 and 26.6.5. Users should upgrade affected installations to these versions or later to remediate the vulnerability. Since this is a software defect, applying the official patch is the recommended mitigation. No additional mitigations or workarounds are documented by Red Hat. Backup of existing installations is advised before applying updates.
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
CVE-2026-16071 is a medium severity vulnerability in the LDAP storage provider of Red Hat build of Keycloak 26.4. It allows a delegated administrator to perform LDAP searches using a crafted Distinguished Name (DN) that bypasses configured search boundaries. This leads to unauthorized disclosure of user account information from parts of the LDAP directory outside the intended scope and unintended importing of those users into local storage.
CVSS v3.1
Score 5.4medium
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability exists due to missing validation of LDAP entry Distinguished Names (DNs) in the LDAP storage provider of Keycloak. When a delegated administrator performs a search with a specially crafted DN, the system does not enforce the configured search boundary, allowing lookups for users outside the authorized LDAP organizational units (OUs). This improper neutralization of special elements in LDAP queries (LDAP Injection) results in unauthorized disclosure of account information and unintended user imports into local storage. The issue affects Red Hat build of Keycloak versions >=26.4.0 <26.4.14 and >=26.6.0 <26.6.5. The CVSS v3.1 base score is 5.4 (medium severity) with network attack vector, low complexity, and low privileges required.
Potential Impact
An attacker with delegated administrative privileges can exploit this vulnerability to disclose user account details from unauthorized LDAP OUs and cause unintended importing of those users into the local Keycloak database. This compromises confidentiality and integrity of user data within the LDAP directory and Keycloak local storage. There is no impact on availability. The vulnerability requires delegated admin privileges, limiting the attack surface.
Mitigation Recommendations
Red Hat has released fixed versions of the Red Hat build of Keycloak: 26.4.14 and 26.6.5. Users should upgrade affected installations to these versions or later to remediate the vulnerability. Since this is a software defect, applying the official patch is the recommended mitigation. No additional mitigations or workarounds are documented by Red Hat. Backup of existing installations is advised before applying updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-m28w-c4hx-9fvg
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-16071"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a738521bf8831d5394efa6a
Added to database: 08/05/2026, 18:46:57 UTC
Last enriched: 09/13/2026, 15:06:13 UTC
Last updated: 09/18/2026, 02:22:24 UTC
Views: 111
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.