# CVE-2025-12390: Org.keycloak.protocol.oidc.endpoints.logoutendpoint: offline session takeover due to reused authentication session id

- Severity: Medium 6.0 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2025-10-28T13:23:34.634Z
- Modified: 2026-11-26T23:10:55.557Z
- Also known as: GHSA-rg35-5v25-mqvp
- Weaknesses: CWE-384
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- keycloak: before 26.0.0
- rhbk/keycloak-operator-bundle: no versions given (not affected: from 26.2.11-1 before *; from 26.4.4-1 before *)
- rhbk/keycloak-rhel9: no versions given (not affected: from 26.2-12 before *; from 26.4-3 before *)
- rhbk/keycloak-rhel9-operator: no versions given (not affected: from 26.2-12 before *; from 26.4-3 before *)
- Red Hat Red Hat build of Keycloak 26.2.11: no versions given
- org.keycloak:keycloak-services (Maven): before 26.0.0

## Every score

- redhat: CVSS:3.1 6.0 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 6.0 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N`

## References

- <https://access.redhat.com/errata/RHSA-2025:21370> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2025:21371> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2025:22088> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2025:22089> (vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2025-12390> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2406793> (issue-tracking, web)
- <https://github.com/keycloak/keycloak/issues/43853> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-12390> (advisory)
- <https://github.com/keycloak/keycloak/issues/32197> (web)
- <https://github.com/keycloak/keycloak/commit/5344aada5ee06b02ec3a9e0f52fa381d085b6282> (web)
- <https://github.com/keycloak/keycloak/commit/b46fab230824a2304daafe74be019e8bd4ee590a> (web)
- <https://github.com/keycloak/keycloak/commit/d82438a611f2f869f1966c13012953fe963a493d> (web)
- <https://github.com/keycloak/keycloak/commit/ef75a4dc50aa9459777494e4b88655100bf2ac80> (web)
- <https://github.com/keycloak/keycloak> (package)
- <https://github.com/keycloak/keycloak/discussions/31265> (web)

## Sources

- CVE List: [CVE-2025-12390](https://www.cve.org/CVERecord?id=CVE-2025-12390), CVE Terms of Use, modified 2026-11-26
- GitHub Advisory Database: [GHSA-rg35-5v25-mqvp](https://github.com/advisories/GHSA-rg35-5v25-mqvp), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-12390](https://nvd.nist.gov/vuln/detail/CVE-2025-12390), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2025-12390 · Whole record: https://cve.day/CVE-2025-12390.json · Rebuilt by cve.day 2026-11-26T23:17:12.896Z
