CVE-2025-12390Org.keycloak.protocol.oidc.endpoints.logoutendpoint: offline session takeover due to reused authentication session id
- 6.0MediumCVSS base score
- 0.14%Exploitation in 30 daysEPSS · top 96% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By redhat
Published
- 9 months later
· 9 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Medium6.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N |
| NVDNVD · Deferred | 3.1 | Medium6.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N |
- EPSS (exploitation in 30 days)
- 0.14% · top 96% of all CVEs (19 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.0.
Affected products
- affected < 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
All versions: unaffected
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
All versions: unaffected
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.keycloak:keycloak-servicesGHSA-rg35-5v25-mqvp (opens in a new tab)
What to do
Workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
References
References7
- RHSA-2025:21370 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2025:21371 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2025:22088 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2025:22089 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-12390 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2406793 (opens in a new tab)issue-trackingx_refsource_REDHAT
- https://github.com/keycloak/keycloak/issues/43853 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-36502 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-rg35-5v25-mqvp (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-12390)Record last updated .