VYPR
Medium severity4.9NVD Advisory· Published May 28, 2026

CVE-2026-9801

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Keycloak realm administrators or attackers who compromise an upstream LDAP server can cause a denial of service by sending a malformed LDAP password policy response, crashing the JVM.

Vulnerability

A flaw exists in Keycloak where a remote attacker with high privileges, such as a realm administrator configuring a malicious LDAP server or an attacker compromising an upstream LDAP server, can send a malformed LDAP password policy response during a password authentication request. This triggers an OutOfMemoryError, terminating the Keycloak Java Virtual Machine (JVM) and causing a denial of service. The vulnerability affects all Keycloak versions prior to the fix. [1] [2]

Exploitation

To exploit, the attacker must have high privileges (e.g., realm administrator access) or be able to compromise an existing upstream LDAP server used by Keycloak. The attacker then crafts a malformed LDAP password policy response, which is sent during a regular password authentication request. No user interaction is required beyond the normal authentication flow. The malformed response triggers an OutOfMemoryError, crashing the JVM. [1] [2]

Impact

Successful exploitation results in a denial of service (DoS) for all realms hosted on the affected Keycloak node, as the JVM terminates. This leads to complete service unavailability until the node is restarted. No data confidentiality or integrity impact is reported. [1] [2]

Mitigation

Red Hat has not yet released a fixed version as of the publication date (2026-05-28). The vulnerability is not listed on CISA's Known Exploited Vulnerabilities (KEV) catalog. As a workaround, administrators should ensure that only trusted LDAP servers are configured and that LDAP server communication is secured (e.g., with TLS). Restricting realm administrator privileges to trusted personnel can also reduce risk. [1] [2]

AI Insight generated on May 28, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.

References

2

News mentions

0

No linked articles in our index yet.