Skip to content
Fencer Intel
medium 5.4

CVE-2025-0604 json

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

published last yr. modified 23h ago also EUVD-2025-0178 , GHSA-2p82-5wwr-43cw

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
  • 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

Is CVE-2025-0604 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

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 Build of Keycloak keycloak-ldap-federation
    affected: workaround, no fix available “Fix deferred”
  • 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
last yr.

Exploit prediction

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

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

  • keycloak keycloak-ldap-federation
  • 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 Intel 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.