Auth bypass in Red Hat Build Of Keycloak

CVE-2025-0604

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.

Vulnerability class: Broken Authentication

EPSS: 0.006 (44.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-0604?
CVE-2025-0604 is a medium-severity vulnerability in Red Hat Build Of Keycloak, classified under Improper Authentication. CVSS score: 5.4/10. Published 2025-01-22.
How severe is CVE-2025-0604?
Medium severity. CVSS v3 base score is 5.4 out of 10.