medium5.5
CVE-2025-13467
Keycloak LDAP User Federation provider enables admin-triggered untrusted Java deserialization
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.keycloak:keycloak-ldap-federation | >= 26.3.0, < 26.4.6 | 26.4.6 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://access.redhat.com/errata/RHSA-2025:22088
- https://access.redhat.com/errata/RHSA-2025:22089
- https://access.redhat.com/errata/RHSA-2025:22090
- https://access.redhat.com/errata/RHSA-2025:22091
- https://access.redhat.com/security/cve/CVE-2025-13467
- https://bugzilla.redhat.com/show_bug.cgi?id=2416038
- https://github.com/keycloak/keycloak/commit/754c070cf8ca187dcc71f0f72ff3130ff2195328
- https://github.com/keycloak/keycloak/issues/44478
- https://github.com/advisories/GHSA-4hx9-48xh-5mxr
- 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/releases/tag/26.4.6
- https://github.com/keycloak/keycloak/commit/b90fec41ff17a70858d830750156a8a2e13ddb82