CVE-2025-0604
mediumpriority · track · 0EPSS 0.007 · 52 %ileDEEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (9)
Products and version ranges known to be affected.
- Maven org.keycloak:keycloak-ldap-federation< 26.0.10osvUSpkg:maven/org.keycloak/keycloak-ldap-federation
- Maven org.keycloak:keycloak-ldap-federation26.1.0 → 26.1.3osvUSpkg:maven/org.keycloak/keycloak-ldap-federation
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2025-0173Keycloak: Schwachstelle ermöglicht Umgehen von SicherheitsvorkehrungenDeutsch2025-01-22csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann eine Schwachstelle in Keycloak ausnutzen, um Sicherheitsvorkehrungen zu umgehen.
- GHSA-2p82-5wwr-43cwAuthentication Bypass Due to Missing LDAP Bind After Password Reset in Keycloak2025-03-10ghsa · osvUS
The issue arises because Keycloak does not perform an LDAP bind after a password reset, leading to potential authentication bypass for expired or disabled AD accounts. A fix should enforce LDAP validation after password updates to ensure consistency with AD authentication policies.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (12)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/CVE-2025-0604cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2338993cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2025-0604cnnvd
- https://vigilance.fr/vulnerability/Keycloak-user-access-via-Password-Reset-LDAP-Bind-46170cnnvd
- https://access.redhat.com/errata/RHSA-2025:2544enisa_euvd
- https://access.redhat.com/errata/RHSA-2025:2545enisa_euvd
- https://access.redhat.com/security/cve/CVE-2025-0604enisa_euvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2338993enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan