Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.keycloak/keycloak-ldap-federation
  4. ›
  5. CVE-2025-0604

CVE-2025-0604: Authentication Bypass Due to Missing LDAP Bind After Password Reset in Keycloak

March 10, 2025

The issue arises because Keycloak does not perform an LDAP bind after a password reset, leading to potential authentication bypass for expired or disabled AD accounts. A fix should enforce LDAP validation after password updates to ensure consistency with AD authentication policies.

References

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

Code Behaviors & Features

Detect and mitigate CVE-2025-0604 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 26.0.10, all versions starting from 26.1.0 before 26.1.3

Fixed versions

  • 26.1.3
  • 26.0.10

Solution

Upgrade to versions 26.0.10, 26.1.3 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-287: Improper Authentication

Source file

maven/org.keycloak/keycloak-ldap-federation/CVE-2025-0604.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:15 +0000.