CVE-2025-0604
MEDIUM5.4EPSS 0.05%Authentication Bypass Due to Missing LDAP Bind After Password Reset in Keycloak
Published: 3/10/2025Modified: 2/4/2026
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.
Affected packages (1)
- Maven/org.keycloak:keycloak-ldap-federation>= 26.1.0, < 26.1.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2025-0604
- PATCHhttps://github.com/keycloak/keycloak
- WEBhttps://access.redhat.com/errata/RHSA-2025:2545
- WEBhttps://access.redhat.com/security/cve/CVE-2025-0604
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=2338993
- WEBhttps://github.com/keycloak/keycloak/security/advisories/GHSA-2p82-5wwr-43cw