Keycloak-ldap-federation: authentication bypass due to missing ldap bind after password reset in keycloak (keycloak-ldap-federation)

CVE-2025-0604
MEDIUM 5.4

At a glance

Source
NVD
EPSS
EPSS 0.70 % · percentile 53 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Deferred

Description

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.

Weaknesses (CWE)

  • CWE-287 — Improper Authentication

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.4CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:Nredhat
CVSS 3.1MEDIUM 5.4CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NNVD · secalert@redhat.com (Secondary)

Advisories

European references

Affected products

ProductVersions
keycloak-ldap-federationaffected 0 < 26.0.10 ; affected 0 < 26.1.3
Red Hat · Red Hat Build of Keycloak
Red Hat · Red Hat build of Keycloak 26.0unaffected 26.0.10-3 < *
Red Hat · Red Hat build of Keycloak 26.0unaffected 26.0-11 < *
Red Hat · Red Hat build of Keycloak 26.0unaffected 26.0-12 < *
Red Hat · Red Hat Single Sign-On 7

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD