{"id":"CVE-2025-0604","published":"2025-01-22T14:34:45Z","modified":"2026-11-11T09:35:54Z","title":"Keycloak-ldap-federation: authentication bypass due to missing ldap bind after password reset in keycloak","vendor":"Red Hat","product":"Red Hat Build of Keycloak","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00701,"percentile":0.54105,"provenance":"source"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2025:2544","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2025:2545","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-0604","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2338993","tags":["issue-tracking","x_refsource_REDHAT"]}],"priority":{"score":14.6,"factors":[{"name":"EPSS percentile","points":10.82},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":null,"product":null,"versions":["< 26.0.10","< 26.1.3"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.0","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.0","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.0","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Build of Keycloak","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7","versions":["all versions"]}],"workarounds":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-01-22T15:05:55.294057Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-ldap-federation","vulnerableRanges":[">=26.1.0, <26.1.3","<26.0.10"],"patched":["26.1.3","26.0.10"],"from":["GHSA-2p82-5wwr-43cw"],"provenance":"source"}],"summary":{"text":"A flaw in Red Hat Build of Keycloak's LDAP/Active Directory federation component causes password resets for AD-backed users to be stored without an LDAP bind that validates the new credentials against Active Directory. An attacker with network access and a low-privilege account, requiring no user interaction, can exploit this to regain access through Keycloak when their AD account is expired or disabled, bypassing those AD restrictions.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:59Z"},"euvd":{"id":"EUVD-2025-0178","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-2232","published":"2024-11-14","fixed":"23.0.1","kev":false},{"cve":"CVE-2024-5967","published":"2024-06-18","fixed":"25.0.1","kev":false},{"cve":"CVE-2025-0604","published":"2025-01-22","fixed":"26.1.3","kev":false},{"cve":"CVE-2025-13467","published":"2025-11-25","fixed":"26.4.6","kev":false,"link":{"from":"CVE-2025-0604","to":"CVE-2025-13467","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.keycloak:keycloak-ldap-federation","fromFixed":"26.1.3","toFixed":"26.2.11","daysApart":307}]}},{"cve":"CVE-2026-9801","published":"2026-05-28","fixed":"26.6.3","kev":false}],"package":"Maven:org.keycloak:keycloak-ldap-federation"}}