Keycloak LDAP User Federation provider enables admin-triggered untrusted Java deserialization
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.keycloak:keycloak-ldap-federation | >= 26.3.0, < 26.4.6, < 26.2.11 | 26.4.6, 26.2.11 |
References
- https://github.com/keycloak/keycloak/security/advisories/GHSA-4hx9-48xh-5mxr
- https://nvd.nist.gov/vuln/detail/CVE-2025-13467
- https://github.com/keycloak/keycloak/issues/44478
- https://github.com/keycloak/keycloak/commit/754c070cf8ca187dcc71f0f72ff3130ff2195328
- https://github.com/keycloak/keycloak/commit/b90fec41ff17a70858d830750156a8a2e13ddb82
- https://access.redhat.com/errata/RHSA-2025:22088
- https://access.redhat.com/security/cve/CVE-2025-13467
- https://bugzilla.redhat.com/show_bug.cgi?id=2416038
- https://github.com/keycloak/keycloak
- https://github.com/keycloak/keycloak/releases/tag/26.4.6
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-502- Platform
- Java / Kotlin (Maven)
- Package
org.keycloak:keycloak-ldap-federation- Disclosed
- 19.12.2025
- Updated
- 11.10.2026 12:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-4hx9-48xh-5mxr - CC BY 4.0
Vulnerability history: org.keycloak:keycloak-ldap-federation
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 5
- First → latest
- 11.2023 05.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Medium 3
- Low 2
Disclosures per year
- 2023: 1
- 2024: 1
- 2025: 2
- 2026: 1
-
Keycloak LDAP User Federation provider enables admin-triggered untrusted Java deserialization this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.