CVE-2025-13467
JSON

5.5medium

Org.keycloak.storage.ldap: keycloak: deserialization of untrusted data in ldap user federation

Severity
5.5medium CVSS:3.1 by redhat
Exploit likelihood
0.47% (higher than 42% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat
Also known as
GHSA-4hx9-48xh-5mxr

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.

Affected

Product or packageVersionsReported by
keycloakbefore 26.4.6CVE List
rhbk/keycloak-operator-bundleNot specified
Not affected: from 26.2.11-1 before *, from 26.4.6-1 before *
CVE List
rhbk/keycloak-rhel9Not specified
Not affected: from 26.2-12 before *, from 26.4-6 before *
CVE List
rhbk/keycloak-rhel9-operatorNot specified
Not affected: from 26.2-12 before *, from 26.4-5 before *
CVE List
keycloak-server-spiNot specifiedCVE List
org.keycloak:keycloak-ldap-federation (Maven)from 26.3.0 before 26.4.6, before 26.2.11GitHub Advisory Database

All scores

redhat5.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N
GitHub5.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N

Classification

CWE-502

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

Se encontró una falla en el proveedor de federación de usuarios LDAP de Keycloak. Esta vulnerabilidad permite a un administrador de reino autenticado activar la deserialización de objetos Java no confiables a través de una configuración de servidor LDAP maliciosa.

References

https://access.redhat.com/errata/RHSA-2025:22088vendor-advisory, web
https://access.redhat.com/errata/RHSA-2025:22089vendor-advisory
https://access.redhat.com/errata/RHSA-2025:22090vendor-advisory
https://access.redhat.com/errata/RHSA-2025:22091vendor-advisory
https://access.redhat.com/security/cve/CVE-2025-13467vdb-entry, web
https://bugzilla.redhat.com/show_bug.cgi?id=2416038issue-tracking, web
https://github.com/keycloak/keycloak/commit/754c070cf8ca187dcc71f0f72ff3130ff2195328web
https://github.com/keycloak/keycloak/issues/44478web
https://github.com/keycloak/keycloak/security/advisories/GHSA-4hx9-48xh-5mxrweb
https://nvd.nist.gov/vuln/detail/CVE-2025-13467advisory
https://github.com/keycloak/keycloak/commit/b90fec41ff17a70858d830750156a8a2e13ddb82web
https://github.com/keycloak/keycloakpackage

Sources

SourceRecordLicence
CVE ListCVE-2025-13467 changed 2026-11-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-4hx9-48xh-5mxr changed 2026-02-17CC-BY-4.0
NVDCVE-2025-13467 changed 2026-10-18Public domain