MEDIUM5.5
GHSA-4hx9-48xh-5mxr
Keycloak LDAP User Federation provider enables admin-triggered untrusted Java deserialization
Quick fix
GHSA-4hx9-48xh-5mxr — org.keycloak:keycloak-ldap-federation: upgrade to the fixed version with the command below.
# pom.xml: bump <version>26.4.6</version> for org.keycloak:keycloak-ldap-federationDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.keycloak:keycloak-ldap-federation
Introduced in:
26.3.0Fixed in: 26.4.6Fix
# pom.xml: bump <version>26.4.6</version> for org.keycloak:keycloak-ldap-federationMaven/org.keycloak:keycloak-ldap-federation
Introduced in:
0Fixed in: 26.2.11Fix
# pom.xml: bump <version>26.2.11</version> for org.keycloak:keycloak-ldap-federationReferences
- https://github.com/keycloak/keycloak/security/advisories/GHSA-4hx9-48xh-5mxr[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2025-13467[ADVISORY]
- https://github.com/keycloak/keycloak/issues/44478[WEB]
- https://github.com/keycloak/keycloak/commit/754c070cf8ca187dcc71f0f72ff3130ff2195328[WEB]
- https://github.com/keycloak/keycloak/commit/b90fec41ff17a70858d830750156a8a2e13ddb82[WEB]
- https://access.redhat.com/errata/RHSA-2025:22088[WEB]
- https://access.redhat.com/security/cve/CVE-2025-13467[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=2416038[WEB]
- https://github.com/keycloak/keycloak[PACKAGE]
- https://github.com/keycloak/keycloak/releases/tag/26.4.6[WEB]