What’s Vulnerable › Vulnerabilities
CVE-2025-0604: Keycloak-ldap-federation: authentication bypass due to missing ldap bind after password reset in keycloak
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-01-22 · updated 2026-09-21
- Weakness: CWE-287
Description
A flaw was found in Keycloak. When an Active Directory user resets their password, the system updates it without performing an LDAP bind to validate the new credentials against AD. This vulnerability allows users whose AD accounts are expired or disabled to regain access in Keycloak, bypassing AD restrictions. The issue enables authentication bypass and could allow unauthorized access under certain conditions.
Affected products
- Red Hat build of Keycloak 26.4: all versions — fixed in 26.0-11, 26.0-12, 26.0.10-3
- Red Hat Single Sign-On 7: all versions
How to fix
Upgrade to a fixed version: Red Hat build of Keycloak 26.4 26.0-11, 26.0-12, 26.0.10-3. Check the vendor advisory for mitigations.
References
- 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
Get alerted when CVE-2025-0604 or the next vulnerability affects your stack