GitHub Advisoryadvisory · Maven
GHSA-2p82-5wwr-43cw Authentication Bypass Due to Missing LDAP Bind After Password Reset in Keycloak
MEDIUM
Official page ↗
- Aliases
- CVE-2025-0604
- Ecosystem
- Maven
- Packages
- org.keycloak:keycloak-ldap-federation
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-287
- Reviewed
- 2025-03-10
Affected packages
• Maven org.keycloak:keycloak-ldap-federation: >= 26.1.0, < 26.1.3 → fixed in 26.1.3
• Maven org.keycloak:keycloak-ldap-federation: < 26.0.10 → fixed in 26.0.10
Description
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.
Related
Alias · CVE (1)
- CVE-2025-0604 A flaw was found in Keycloak. vulnerability
Weakness · CWE (1)
- CWE-287 Improper Authentication weakness
References
- 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