CVE-2025-0604: Authentication Bypass Due to Missing LDAP Bind After Password Reset in Keycloak
The issue arises because Keycloak does not perform an LDAP bind after a password reset, leading to potential authentication bypass for expired or disabled AD accounts. A fix should enforce LDAP validation after password updates to ensure consistency with AD authentication policies.
Published Mar 10, 2025
Affected packages
org.keycloak:keycloak-ldap-federation
- Ecosystem
- Maven
- Affected
- >= 26.1.0, < 26.1.3
- Fixed in
- 26.1.3
- Check
mvn dependency:tree -Dincludes=org.keycloak:keycloak-ldap-federation
org.keycloak:keycloak-ldap-federation
- Ecosystem
- Maven
- Affected
- < 26.0.10
- Fixed in
- 26.0.10
- Check
mvn dependency:tree -Dincludes=org.keycloak:keycloak-ldap-federation
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
The issue arises because Keycloak does not perform an LDAP bind after a password reset, leading to potential authentication bypass for expired or disabled AD accounts. A fix should enforce LDAP validation after password updates to ensure consistency with AD authentication policies.
References
- https://github.com/keycloak/keycloak/security/advisories/GHSA-2p82-5wwr-43cw
- https://nvd.nist.gov/vuln/detail/CVE-2025-0604
- https://access.redhat.com/errata/RHSA-2025:2545
- https://access.redhat.com/security/cve/CVE-2025-0604
- https://bugzilla.redhat.com/show_bug.cgi?id=2338993
- https://github.com/advisories/GHSA-2p82-5wwr-43cw
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 entriesCVE-2026-9801
Keycloak Vulnerable to Improper Validation of Specified Quantity in Input
medium4.9May 28, 2026CVE-2025-13467
Keycloak LDAP User Federation provider enables admin-triggered untrusted Java deserialization
medium5.5Dec 19, 2025CVE-2024-5967
Keycloak leaks configured LDAP bind credentials through the Keycloak admin console
low2.7Jun 21, 2024
