CVE-2026-9801
Description
A flaw was found in Keycloak. A remote attacker with high privileges, such as a realm administrator configuring a malicious Lightweight Directory Access Protocol (LDAP) server or an attacker compromising an upstream LDAP server, could exploit this vulnerability. By sending a malformed LDAP password policy response during a password authentication request, the attacker can trigger an OutOfMemoryError. This causes the Keycloak Java Virtual Machine (JVM) to terminate, leading to a denial of service (DoS) for all realms on the affected node.
How to fix
- org.keycloak:keycloak-ldap-federation26.6.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat build_of_keycloak | No range specified | — |
| org.keycloak:keycloak-ldap-federationMaven | v < 26.6.3 | 26.6.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.