Org.keycloak.protocol.oidc.endpoints.logoutendpoint: offline session takeover due to reused authentication session id (Keycloak keycloak)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.14 % · percentile 3 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Deferred
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.
Weaknesses (CWE)
- CWE-384 — Session Fixation
References
- https://access.redhat.com/errata/RHSA-2025:21370
- https://access.redhat.com/errata/RHSA-2025:21371
- https://access.redhat.com/errata/RHSA-2025:22088
- https://access.redhat.com/errata/RHSA-2025:22089
- https://access.redhat.com/security/cve/CVE-2025-12390
- https://bugzilla.redhat.com/show_bug.cgi?id=2406793
- https://github.com/keycloak/keycloak/issues/43853
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N | redhat |
| CVSS 3.1 | MEDIUM 6.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N | NVD · secalert@redhat.com (Secondary) |
Advisories
- GHSA-rg35-5v25-mqvp — Keycloak vulnerable to session takeovers due to reuse of session identifiers
European references
- ENISA EUVD · EUVD-2025-36502
- GCVE · GCVE-0-2025-12390
Affected products
| Product | Versions |
|---|---|
| Keycloak · keycloak | affected 0 < 26.0.0 |
| 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.4-1 < * |
| Red Hat · Red Hat build of Keycloak 26.4 | unaffected 26.4-3 < * |
| Red Hat · Red Hat build of Keycloak 26.4 | unaffected 26.4-3 < * |
| Red Hat · Red Hat build of Keycloak 26.4.4 |
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 |