5.4Medium

CVE-2025-0604Keycloak-ldap-federation: authentication bypass due to missing ldap bind after password reset in keycloak

keycloak-ldap-federation; Red Hat Red Hat Build of Keycloak; Red Hat Red Hat build of Keycloak 26.0; Red Hat Red Hat Single Sign-On 7 Published: (1 year ago)

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.

Weakness (CWE): CWE-287

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
build keycloak 26.0 —
Red Hat Red Hat Build of Keycloak all versions
Red Hat Red Hat build of Keycloak 26.0 all versions
Red Hat Red Hat Single Sign-On 7 all versions
— keycloak-ldap-federation < 26.0.10, < 26.1.3

References and patches