6.0Medium
CVE-2025-12390Org.keycloak.protocol.oidc.endpoints.logoutendpoint: offline session takeover due to reused authentication session id
Description
A flaw was found in Keycloak. In Keycloak where a user can accidentally get access to another user's session if both use the same device and browser. This happens because Keycloak sometimes reuses session identifiers and doesn’t clean up properly during logout when browser cookies are missing. As a result, one user may receive tokens that belong to another user.
Weakness (CWE):
CWE-384
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| build keycloak | 26.2 | — | |
| build keycloak | 26.4 | — | |
| Keycloak | keycloak | < 26.0.0 | |
| Red Hat | Red Hat build of Keycloak 26.2 | all versions | |
| Red Hat | Red Hat build of Keycloak 26.2.11 | — | |
| Red Hat | Red Hat build of Keycloak 26.4 | all versions | |
| Red Hat | Red Hat build of Keycloak 26.4.4 | — |
References and patches
- RHSA-2025:21370 vendor-advisory
- RHSA-2025:21371 vendor-advisory
- RHSA-2025:22088 vendor-advisory
- RHSA-2025:22089 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2025-12390 vdb-entry
- RHBZ#2406793 issue-tracking
- https://github.com/keycloak/keycloak/issues/43853