GitHub Advisory Database
GHSA-2p82-5wwr-43cw
Authentication Bypass Due to Missing LDAP Bind After Password Reset in Keycloak
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.keycloak:keycloak-ldap-federation | From 26.1.0 before 26.1.3 (fixed in 26.1.3) |
| Maven | org.keycloak:keycloak-ldap-federation | All versions before 26.0.10 (fixed in 26.0.10) |
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/keycloak/keycloak