CVE-2025-0604
MEDIUM 5.4CVSS 3.1Authentication Bypass Due to Missing LDAP Bind After Password Reset in Keycloak
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.
- Published
- 22 Jan 2025
- Last modified
- 11 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Deferred
- Weakness
- CWE-287
- Also known as
- GHSA-2p82-5wwr-43cw
- Sources
- NVDJSONOSV GHSA-2p82-5wwr-43cwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Maven | org.keycloak:keycloak-ldap-federation | >= 26.1.0, < 26.1.3 | 26.1.3 |
| OSV | Maven | org.keycloak:keycloak-ldap-federation | < 26.0.10 | 26.0.10 |
References
- https://access.redhat.com/errata/RHSA-2025:2544
- https://access.redhat.com/errata/RHSA-2025:2545 · WEB
- https://access.redhat.com/security/cve/CVE-2025-0604 · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2338993 · WEB
- https://github.com/keycloak/keycloak/security/advisories/GHSA-2p82-5wwr-43cw · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-0604 · ADVISORY
- https://github.com/keycloak/keycloak · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 22 Jan 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Mar 2025)