NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2026-9801: Keycloak Vulnerable to Improper Validation of Specified Quantity in Input

mediumCVSS 3.1 4.9GHSA-f6r7-6w34-x2gp

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.

Published May 28, 2026 · Updated Jul 1, 2026

Affected packages

org.keycloak:keycloak-ldap-federation

Ecosystem
Maven
Affected
< 26.6.3
Fixed in
26.6.3
Check
mvn dependency:tree -Dincludes=org.keycloak:keycloak-ldap-federation

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Maven vulnerabilities

All Maven entries