CVE-2025-13467: 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.
Published Dec 19, 2025 · Updated Feb 17, 2026
Affected packages
org.keycloak:keycloak-ldap-federation
- Ecosystem
- Maven
- Affected
- >= 26.3.0, < 26.4.6
- Fixed in
- 26.4.6
- Check
mvn dependency:tree -Dincludes=org.keycloak:keycloak-ldap-federation
org.keycloak:keycloak-ldap-federation
- Ecosystem
- Maven
- Affected
- < 26.2.11
- Fixed in
- 26.2.11
- Check
mvn dependency:tree -Dincludes=org.keycloak:keycloak-ldap-federation
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to eminaktas.
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://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/releases/tag/26.4.6
- https://github.com/keycloak/keycloak/commit/b90fec41ff17a70858d830750156a8a2e13ddb82
- https://github.com/advisories/GHSA-4hx9-48xh-5mxr
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-9801
Keycloak Vulnerable to Improper Validation of Specified Quantity in Input
medium4.9May 28, 2026CVE-2025-0604
Authentication Bypass Due to Missing LDAP Bind After Password Reset in Keycloak
medium5.4Mar 10, 2025CVE-2024-5967
Keycloak leaks configured LDAP bind credentials through the Keycloak admin console
low2.7Jun 21, 2024
