CVE-2025-13467 Org.keycloak.storage.ldap: keycloak: deserialization of untrusted data in ldap user federation
An authenticated realm administrator can trigger remote code execution by configuring a malicious LDAP server in Keycloak.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-13467?
CVE-2025-13467 is a medium-severity unsafe deserialization vulnerability in Keycloak, published on 25 Nov 2025. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
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.
Weakness: CWE-502
Which versions are affected by CVE-2025-13467?
4 open source packages ship an affected version, including org.keycloak:keycloak-ldap-federation.
| Package | Affected | Fixed in |
|---|---|---|
org.keycloak:keycloak-ldap-federation Maven | All versions | 26.2.11 |
org.keycloak:keycloak-ldap-federation Maven | All versions | 26.2.11 |
org.keycloak:keycloak-ldap-federation Maven | From 26.3.0 | 26.4.6 |
org.keycloak:keycloak-ldap-federation Maven | From 26.3.0 | 26.4.6 |
How do I fix CVE-2025-13467?
Upgrade org.keycloak:keycloak-ldap-federation to a fixed version for your release line: 26.2.11 or 26.4.6.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2025-13467 being exploited?
There is no known exploitation of CVE-2025-13467 in the wild and no public exploit code.
Sources
Also known as ECHO-e9a5-64e7-d563, GHSA-4hx9-48xh-5mxr, MINI-7c7m-2328-x872, MINI-f995-47cm-6p92.