{"id":"CVE-2025-12390","aliases":["CVE-2025-12390","GHSA-rg35-5v25-mqvp"],"related":[],"kind":"vulnerability","state":"published","title":"Org.keycloak.protocol.oidc.endpoints.logoutendpoint: offline session takeover due to reused authentication session id","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-10-28T13:23:34.634Z","modified":"2026-11-26T23:10:55.557Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N","score":6,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N","score":6,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N","score":6,"rating":"MEDIUM"}],"cwes":["CWE-384"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"26.0.0","status":"affected"}],"vendor":"Keycloak","product":"keycloak","package":"keycloak","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"26.2.11-1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","package":"rhbk/keycloak-operator-bundle","cpe":"cpe:/a:redhat:build_keycloak:26.2::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"26.2-12","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","package":"rhbk/keycloak-rhel9","cpe":"cpe:/a:redhat:build_keycloak:26.2::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"26.2-12","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","package":"rhbk/keycloak-rhel9-operator","cpe":"cpe:/a:redhat:build_keycloak:26.2::el9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2.11","cpe":"cpe:/a:redhat:build_keycloak:26.2::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"26.4.4-1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","package":"rhbk/keycloak-operator-bundle","cpe":"cpe:/a:redhat:build_keycloak:26.4::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"26.4-3","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","package":"rhbk/keycloak-rhel9","cpe":"cpe:/a:redhat:build_keycloak:26.4::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"26.4-3","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","package":"rhbk/keycloak-rhel9-operator","cpe":"cpe:/a:redhat:build_keycloak:26.4::el9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4.4","package":"keycloak","cpe":"cpe:/a:redhat:build_keycloak:26.4::el9","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"26.0.0"}],"ecosystem":"Maven","package":"org.keycloak:keycloak-services","purl":"pkg:maven/org.keycloak/keycloak-services","source":"ghsa"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2025:21370","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2025:21371","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2025:22088","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2025:22089","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-12390","tags":["vdb-entry","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2406793","tags":["issue-tracking","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/keycloak/keycloak/issues/43853","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12390","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/keycloak/keycloak/issues/32197","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/keycloak/keycloak/commit/5344aada5ee06b02ec3a9e0f52fa381d085b6282","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/keycloak/keycloak/commit/b46fab230824a2304daafe74be019e8bd4ee590a","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/keycloak/keycloak/commit/d82438a611f2f869f1966c13012953fe963a493d","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/keycloak/keycloak/commit/ef75a4dc50aa9459777494e4b88655100bf2ac80","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/keycloak/keycloak","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/keycloak/keycloak/discussions/31265","tags":["web"],"sources":["ghsa"]}],"credits":["Red Hat would like to thank Simon Levermann (CTS EVENTIM Solutions GmbH) for reporting this issue."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-10-28T13:45:05.366Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-12390","url":"https://www.cve.org/CVERecord?id=CVE-2025-12390","licence":"CVE Terms of Use","modified":"2026-11-26T23:10:55.557Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rg35-5v25-mqvp","url":"https://github.com/advisories/GHSA-rg35-5v25-mqvp","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:58.286Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-12390","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12390","licence":"Public domain","modified":"2026-10-18T21:10:00.120Z"}],"updatedAt":"2026-11-26T23:17:12.896Z","epss":{"score":0.00144,"percentile":0.03911,"date":"2026-12-01T12:00:22.000Z"}}