CWE
287
Advisory Published
CVE Published
Advisory Published
Updated

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

First published: Mon Jan 20 2025(Updated: )

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.

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
maven/org.keycloak:keycloak-ldap-federation<=26.1.0
Red Hat Keycloak

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2025-0604?

    CVE-2025-0604 is classified as a high-severity vulnerability due to the potential unauthorized access it allows.

  • How do I fix CVE-2025-0604?

    To mitigate CVE-2025-0604, ensure you configure Keycloak to properly validate user credentials with an LDAP bind during password resets.

  • Which software versions are affected by CVE-2025-0604?

    CVE-2025-0604 affects Keycloak versions up to and including 26.1.0 in the keycloak-ldap-federation package.

  • What kind of access does CVE-2025-0604 provide to users?

    CVE-2025-0604 allows users with expired or disabled Active Directory accounts to regain access to Keycloak.

  • Is CVE-2025-0604 related to Active Directory?

    Yes, CVE-2025-0604 specifically involves a vulnerability in Keycloak related to password resets for Active Directory users.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203