6.0medium
Org.keycloak.protocol.oidc.endpoints.logoutendpoint: offline session takeover due to reused authentication session id
- Severity
- 6.0medium CVSS:3.1 by redhat
- Exploit likelihood
- 0.14% (higher than 3% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
- Also known as
- GHSA-rg35-5v25-mqvp
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| keycloak | before 26.0.0 | CVE List |
| rhbk/keycloak-operator-bundle | Not specified Not affected: from 26.2.11-1 before *, from 26.4.4-1 before * | CVE List |
| rhbk/keycloak-rhel9 | Not specified Not affected: from 26.2-12 before *, from 26.4-3 before * | CVE List |
| rhbk/keycloak-rhel9-operator | Not specified Not affected: from 26.2-12 before *, from 26.4-3 before * | CVE List |
| Red Hat Red Hat build of Keycloak 26.2.11 | Not specified | CVE List |
| org.keycloak:keycloak-services (Maven) | before 26.0.0 | GitHub Advisory Database |
All scores
| redhat | 6.0medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N |
| GitHub | 6.0medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Se encontró una vulnerabilidad en Keycloak. En Keycloak, donde un usuario puede obtener acceso accidentalmente a la sesión de otro usuario si ambos usan el mismo dispositivo y navegador. Esto sucede porque Keycloak a veces reutiliza identificadores de sesión y no realiza una limpieza adecuada durante el cierre de sesión cuando faltan las cookies del navegador. Como resultado, un usuario puede recibir tokens que pertenecen a otro usuario.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-12390 changed 2026-11-26 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-rg35-5v25-mqvp changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2025-12390 changed 2026-10-18 | Public domain |