Skip to content
Heist/ feed
Medium

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2025-0604

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2025-0604

Red Hat Build of Keycloak

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Red Hat build of Keycloak 26.0

Source reference: /containers/cna/affected/2/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Red Hat build of Keycloak 26.0

Source reference: /containers/cna/affected/3/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Red Hat build of Keycloak 26.0

Source reference: /containers/cna/affected/4/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Red Hat Single Sign-On 7

Source reference: /containers/cna/affected/5/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "26.0.10",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "0",
        "lessThan": "26.1.3",
        "versionType": "semver"
      }
    ],
    "packageName": "keycloak-ldap-federation",
    "collectionURL": "https://github.com/keycloak/keycloak",
    "defaultStatus": "unaffected"
  },
  {
    "cpes": [
      "cpe:/a:redhat:build_keycloak:26.0"
    ],
    "vendor": "Red Hat",
    "product": "Red Hat Build of Keycloak",
    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
    "defaultStatus": "unaffected"
  },
  {
    "cpes": [
      "cpe:/a:redhat:build_keycloak:26.0::el9"
    ],
    "vendor": "Red Hat",
    "product": "Red Hat build of Keycloak 26.0",
    "versions": [
      {
        "status": "unaffected",
        "version": "26.0.10-3",
        "lessThan": "*",
        "versionType": "rpm"
      }
    ],
    "packageName": "rhbk/keycloak-operator-bundle",
    "collectionURL": "https://catalog.redhat.com/software/containers/",
    "defaultStatus": "affected"
  },
  {
    "cpes": [
      "cpe:/a:redhat:build_keycloak:26.0::el9"
    ],
    "vendor": "Red Hat",
    "product": "Red Hat build of Keycloak 26.0",
    "versions": [
      {
        "status": "unaffected",
        "version": "26.0-11",
        "lessThan": "*",
        "versionType": "rpm"
      }
    ],
    "packageName": "rhbk/keycloak-rhel9",
    "collectionURL": "https://catalog.redhat.com/software/containers/",
    "defaultStatus": "affected"
  },
  {
    "cpes": [
      "cpe:/a:redhat:build_keycloak:26.0::el9"
    ],
    "vendor": "Red Hat",
    "product": "Red Hat build of Keycloak 26.0",
    "versions": [
      {
        "status": "unaffected",
        "version": "26.0-12",
        "lessThan": "*",
        "versionType": "rpm"
      }
    ],
    "packageName": "rhbk/keycloak-rhel9-operator",
    "collectionURL": "https://catalog.redhat.com/software/containers/",
    "defaultStatus": "affected"
  },
  {
    "cpes": [
      "cpe:/a:redhat:red_hat_single_sign_on:7"
    ],
    "vendor": "Red Hat",
    "product": "Red Hat Single Sign-On 7",
    "packageName": "keycloak-ldap-federation",
    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2025-0604

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#21312 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement