Skip to content
OpenAdvisories
Medium · 5.4 CVE-2025-0604 EUVD-2025-0178GHSA-2p82-5wwr-43cwGHSA-m3hp-8546-5qmr

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

Published Jan 22, 2025 · Updated Nov 11, 2026 · Assigned by redhat

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

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

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.keycloak:keycloak-ldap-federation >= 26.1.0, < 26.1.3 26.1.3 GHSA-2p82-5wwr-43cw
Maven org.keycloak:keycloak-ldap-federation < 26.0.10 26.0.10 GHSA-2p82-5wwr-43cw

Advisories 1

References