Org.keycloak.storage.ldap: keycloak: deserialization of untrusted data in ldap user federation (Keycloak Keycloak)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.47 % · percentile 41 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Deferred
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.
Weaknesses (CWE)
- CWE-502 — Deserialization of Untrusted Data
References
- 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
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N | redhat |
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N | NVD · secalert@redhat.com (Secondary) |
Advisories
- GHSA-4hx9-48xh-5mxr — Keycloak LDAP User Federation provider enables admin-triggered untrusted Java deserialization
European references
- ENISA EUVD · EUVD-2025-199598
- GCVE · GCVE-0-2025-13467
Affected products
| Product | Versions |
|---|---|
| Keycloak · Keycloak | affected 0 < 26.4.6 |
| Red Hat · Red Hat build of Keycloak 26.2 | unaffected 26.2.11-1 < * |
| Red Hat · Red Hat build of Keycloak 26.2 | unaffected 26.2-12 < * |
| Red Hat · Red Hat build of Keycloak 26.2 | unaffected 26.2-12 < * |
| Red Hat · Red Hat build of Keycloak 26.2.11 | |
| Red Hat · Red Hat build of Keycloak 26.4 | unaffected 26.4.6-1 < * |
| Red Hat · Red Hat build of Keycloak 26.4 | unaffected 26.4-6 < * |
| Red Hat · Red Hat build of Keycloak 26.4 | unaffected 26.4-5 < * |
| Red Hat · Red Hat build of Keycloak 26.4.6 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |