Skip to content
Medium 5.4

Authentication Bypass in org.keycloak:keycloak-ldap-federation

CVE-2025-0604 First seen on SecPulse

Auto-generated summary

Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.

A vulnerability tracked as CVE-2025-0604 has been found in org.keycloak:keycloak-ldap-federation.
Risk of unauthorized operations or information disclosure. CVSS score: 5.4/10.
What to do: upgrade org.keycloak:keycloak-ldap-federation to 26.0.10 or later.
If unsure, ask your IT team or search "org.keycloak:keycloak-ldap-federation CVE-2025-0604" on the vendor's site.

CVE-2025-0604 (org.keycloak:keycloak-ldap-federation) — CWE-287 / CVSS v3 5.4
Attack vector: remote (network-reachable) / no user interaction
Patched: 26.0.10 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

What is the problem

Authentication bypass (CWE-287) exists in org.keycloak:keycloak-ldap-federation.

Affected scope

Check the vendor advisory for the affected versions of org.keycloak:keycloak-ldap-federation.

Severity

Severity: Medium (CVSS 5.4/10). Risk of unauthorized operations or information disclosure.

How to fix

Update to 26.0.10.

Workaround

Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.

Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Audit SBOM/dependencies to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposureidentify
    Audit SBOM/dependencies for affected components.

    資産台帳・SBOM・依存マニフェストで org.keycloak:keycloak-ldap-federation を使っているサービスとバージョンを洗い出す。

  2. 2
    Apply patchpatch
    Upgrade org.keycloak:keycloak-ldap-federation to 26.0.10

    ステージング環境で 26.0.10 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    Post-deployment verificationverify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

PackageAffected → Fixed
Mavenorg.keycloak:keycloak-ldap-federation
< 26.0.10→ 26.0.10
GitHubkeycloak-ldap-federation
< 26.0.10→ 26.0.10
< 26.1.3→ 26.1.3
Red HatRed Hat Build of Keycloak —
Red HatRed Hat build of Keycloak 26.0 —
Red HatRed Hat Single Sign-On 7 —
Original description The description as published by the source.

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.

Source: NIST National Vulnerability Database NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details