CVE-2025-0604

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

Published Jan 22, 2025 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-0178 Authentication Bypass Due to Missing LDAP Bind After Password Reset in Keycloak
Github GHSA Github GHSA GHSA-2p82-5wwr-43cw Authentication Bypass Due to Missing LDAP Bind After Password Reset in Keycloak
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:build_keycloak:
Type Values Removed Values Added
CPEs cpe:/a:redhat:build_keycloak:26.0
Type Values Removed Values Added
CPEs cpe:/a:redhat:build_keycloak:26.0::el9
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:build_keycloak: cpe:/a:redhat:build_keycloak:26
References
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Keycloak-ldap-federation: authentication bypass due to missing ldap bind after password reset in keycloak
First Time appeared Redhat
Redhat build Keycloak
Redhat red Hat Single Sign On
Weaknesses CWE-287
CPEs cpe:/a:redhat:build_keycloak:
cpe:/a:redhat:red_hat_single_sign_on:7
Vendors & Products Redhat
Redhat build Keycloak
Redhat red Hat Single Sign On
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 11, 2026, 9:35 AM
Reserved
Jan 20, 2025, 11:35 AM
Status
Deferred
Published
Jan 22, 2025, 3:15 PM
Modified
Nov 11, 2026, 10:16 AM
Severity
Moderate
Public date
Jan 20, 2025, 12:00 AM