Skip to content
Fencer Vulns
medium 5.4

CVE-2025-0604 json

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

published 2025-01-22 21 mo ago modified 2026-10-13 26 d ago also GHSA-2p82-5wwr-43cw , EUVD-2025-0178

cvss
5.4
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.7%
EPSS 0.7% chance of exploitation in 30 days, percentile 53%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.keycloak:keycloak-ldap-federation 26.0.10, 26.1.3
  • Red Hat Red Hat build of Keycloak 26.0 26.0-11, 26.0-12, 26.0.10-3

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-0604 updated cvss 5.4

keycloak-ldap-federation: Authentication Bypass Due to Missing LDAP Bind After Password Reset in Keycloak

  • Red Hat Single Sign-On 7 keycloak-ldap-federation
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Build of Keycloak
    fixed: vendor fix RHSA-2025:2545
  • Red Hat build of Keycloak 26.0 rhbk/keycloak-rhel9 26.0-1741630390, rhbk/keycloak-operator-bundle 26.0.10-3, rhbk/keycloak-rhel9-operator 26.0-1741630464
    fixed: vendor fix RHSA-2025:2544

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
21 mo ago

Exploit prediction

0.70% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
GitHub 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
maven org.keycloak:keycloak-ldap-federation
>=26.1.0, <26.1.3
<26.0.10
26.1.3
26.0.10

Affected products

  • Red Hat Red Hat Build of Keycloak
  • Red Hat Red Hat build of Keycloak 26.0
  • Red Hat Red Hat Single Sign-On 7

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.