MEDIUM5.4
GHSA-2p82-5wwr-43cw
Authentication Bypass Due to Missing LDAP Bind After Password Reset in Keycloak
Quick fix
GHSA-2p82-5wwr-43cw — org.keycloak:keycloak-ldap-federation: upgrade to the fixed version with the command below.
# pom.xml: bump <version>26.1.3</version> for org.keycloak:keycloak-ldap-federationDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.keycloak:keycloak-ldap-federation
Introduced in:
26.1.0Fixed in: 26.1.3Fix
# pom.xml: bump <version>26.1.3</version> for org.keycloak:keycloak-ldap-federationMaven/org.keycloak:keycloak-ldap-federation
Introduced in:
0Fixed in: 26.0.10Fix
# pom.xml: bump <version>26.0.10</version> for org.keycloak:keycloak-ldap-federationReferences
- https://github.com/keycloak/keycloak/security/advisories/GHSA-2p82-5wwr-43cw[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2025-0604[ADVISORY]
- https://access.redhat.com/errata/RHSA-2025:2545[WEB]
- https://access.redhat.com/security/cve/CVE-2025-0604[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=2338993[WEB]
- https://github.com/keycloak/keycloak[PACKAGE]