CVE-2025-0604

Executive Summary

Keycloak does not perform an LDAP bind when an AD user resets their password, allowing expired or disabled AD accounts to authenticate in Keycloak. This authentication bypass can grant unauthorized access to Keycloak resources without respecting AD restrictions. The vulnerability is not yet listed in CISA KEV.


Authoritative CVE Metadata - CVSS Base Score: 5.4 (MEDIUM) - Published: 2025-01-22T15:15:14.827 - Last Modified: 2026-08-31T01:16:45.533

Original 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.

"When you meet someone better than yourself, turn your thoughts to becoming his equal. When you meet someone not as good as you are, look within and examine your own self."

— Confucius
Source: NVD