medium5.4
CVE-2025-0604
Authentication Bypass Due to Missing LDAP Bind After Password Reset in Keycloak
Impact
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 | Fixed in |
|---|---|---|---|
| maven | org.keycloak:keycloak-ldap-federation | >= 26.1.0, < 26.1.3 | 26.1.3 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://access.redhat.com/errata/RHSA-2025:2544
- 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
- https://github.com/keycloak/keycloak/security/advisories/GHSA-2p82-5wwr-43cw
- https://nvd.nist.gov/vuln/detail/CVE-2025-0604