Skip to content

← Public intelligence

Maven package

org.keycloak:keycloak-ldap-federation

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

5 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 4.9MavenPublished

    Keycloak Vulnerable to Improper Validation of Specified Quantity in Input

    CVE-2026-9801 · GHSA-f6r7-6w34-x2gp

    Affected
    • Maven org.keycloak:keycloak-ldap-federation < 26.6.3
    Fixed in
    26.6.3· Vendor fix available
    Issue
    A flaw was found in Keycloak. A remote attacker with high privileges, such as a realm administrator configuring a malicious Lightweight Directory Access Protocol (LDAP) server or an attacker compromising an upstream LDAP server, could exploit this vulnerability. By sending a malformed LDAP password policy response during a password authentication request, the attacker can trigger an OutOfMemoryError. This causes the Keycloak Java Virtual Machine (JVM) to terminate, leading to a denial of service (DoS) for all realms on the affected node.

    Recommended action: Upgrade to 26.6.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. Medium, CVSS 5.5MavenPublished

    Keycloak LDAP User Federation provider enables admin-triggered untrusted Java deserialization

    CVE-2025-13467 · GHSA-4hx9-48xh-5mxr

    Affected
    • Maven org.keycloak:keycloak-ldap-federation >= 26.3.0, < 26.4.6; < 26.2.11
    Fixed in
    26.4.626.2.11· Vendor fix available
    Issue
    A flaw was found in the Keycloak LDAP User Federation provider. This vulnerability allows an authenticated realm administrator to trigger deserialization of untrusted Java objects via a malicious LDAP server configuration. Mitigation Disable LDAP referrals in all LDAP user providers in all realms if projects cannot upgrade to the patched versions.

    Recommended action: Upgrade to 26.4.6 or 26.2.11 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  3. Medium, CVSS 5.4MavenPublished

    Authentication Bypass Due to Missing LDAP Bind After Password Reset in Keycloak

    CVE-2025-0604 · GHSA-2p82-5wwr-43cw

    Affected
    • Maven org.keycloak:keycloak-ldap-federation >= 26.1.0, < 26.1.3; < 26.0.10
    Fixed in
    26.0.1026.1.3· Vendor fix available
    Issue
    The issue arises because Keycloak does not perform an LDAP bind after a password reset, leading to potential authentication bypass for expired or disabled AD accounts. A fix should enforce LDAP validation after password updates to ensure consistency with AD authentication policies.

    Recommended action: Upgrade to 26.1.3 or 26.0.10 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  4. Low, CVSS 2.7MavenPublished

    Keycloak leaks configured LDAP bind credentials through the Keycloak admin console

    CVE-2024-5967 · GHSA-c25h-c27q-5qpv

    Affected
    • Maven org.keycloak:keycloak-ldap-federation >= 25.0.0, <= 25.0.0; <= 22.0.11; >= 23.0.0, <= 24.0.5
    Fixed in
    22.0.1224.0.625.0.1· Vendor fix available
    Issue
    Impact The LDAP testing endpoint allows to change the Connection URL independently of and without having to re-enter the currently configured LDAP bind credentials. An attacker with admin access (permission manage-realm) can change the LDAP host URL ("Connection URL") to a machine they control. The Keycloak server will connect to the attacker's host and try to authenticate with the configured credentials, thus leaking them to the attacker. As a consequence, an attacker who has compromised the admin console/compromised a user with sufficient privileges can leak domain credentials and can now attack the domain. Acknowledgements Special thanks to Simon Wessling for reporting this issue and helping us improve our project

    Recommended action: Upgrade to 25.0.1, 24.0.6 or 22.0.12 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  5. UnratedMavenPublished

    Keycloak vulnerable to LDAP Injection on UsernameForm Login

    CVE-2022-2232 · GHSA-8hc5-rmgf-qx6p

    Affected
    • Maven org.keycloak:keycloak-ldap-federation < 23.0.1
    Fixed in
    23.0.1· Vendor fix available
    Issue
    A flaw was found in the Keycloak package. This flaw allows an attacker to benefit from an LDAP query and access existing usernames in the server.

    Recommended action: Upgrade to 23.0.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →