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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | 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
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| 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
- WID-SEC-2025-0173 Keycloak: Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen BSI CERT-Bund (WID) · Sep 29, 2025
References
- RHSA-2025:2544 vendor-advisory
- RHSA-2025:2545 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2025-0604 vdb-entry
- RHBZ#2338993 issue-tracking