Keycloak Auth Bypass via AD Password Reset
CVE-2025-0604 Published on January 22, 2025

Keycloak-ldap-federation: authentication bypass due to missing ldap bind after password reset in keycloak
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.

Github Repository Vendor Advisory Vendor Advisory NVD

Vulnerability Analysis

CVE-2025-0604 is exploitable with network access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a small impact on confidentiality and integrity, and no impact on availability.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
LOW
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
LOW
Integrity Impact:
LOW
Availability Impact:
NONE

Timeline

Reported to Red Hat.

Made public.

Weakness Type

What is an authentification Vulnerability?

When an actor claims to have a given identity, the software does not prove or insufficiently proves that the claim is correct.

CVE-2025-0604 has been classified to as an authentification vulnerability or weakness.


Products Associated with CVE-2025-0604

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2025-0604 are published in these products:

 
 
 

Vulnerable Packages

The following package name and versions may be associated with CVE-2025-0604

Package Manager Vulnerable Package Versions Fixed In
maven org.keycloak:keycloak-ldap-federation >= 26.1.0, < 26.1.3 26.1.3
maven org.keycloak:keycloak-ldap-federation < 26.0.10 26.0.10

Exploit Probability

EPSS
0.06%
Percentile
17.57%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.