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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-01-22 · Modified: 2026-11-11
- Aliases: GHSA-2p82-5wwr-43cw
- Record: https://cvemate.com/vulnerability/CVE-2025-0604 · JSON: https://cvemate.com/vulnerability/CVE-2025-0604/json

## 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.
```

## Signals

- CVSS: 5.4 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- EPSS: 0.701%, percentile 54.584%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- org.keycloak keycloak-ldap-federation (Maven): ≥ 26.1.0, \< 26.1.3 \| \< 26.0.10

## References

- <https://access.redhat.com/errata/RHSA-2025:2544>
- <https://access.redhat.com/errata/RHSA-2025:2545>
- <https://access.redhat.com/security/cve/CVE-2025-0604>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2338993>
- <https://github.com/keycloak/keycloak/security/advisories/GHSA-2p82-5wwr-43cw>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-0604>
- <https://github.com/keycloak/keycloak>

---

Data as of 2026-12-05T10:17:59.221Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
