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

- Priority: **Routine**
- Reason: Not severe (CVSS 6, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-10-28 · Modified: 2026-11-26
- Aliases: CGA-c84j-x8xw-83v6, CGA-jrvw-p2c3-r7c3, CGA-2cw8-p44g-xmjf, CGA-3r7w-m4g6-hrgq, CGA-64jx-hfh9-849v, CGA-868j-p3v8-qqp8, CGA-8997-32hg-m6px, CGA-f6rj-q67m-qw46, CGA-jw8g-cq23-xx53, CGA-p32h-ghc8-qhrw, GHSA-rg35-5v25-mqvp, CGA-wj8p-v6w7-wfh8, CGA-xgp6-78p5-2g3v, CGA-xq2h-g2vx-hqmj, CGA-xxg8-w8q3-7xx4
- Record: https://cvemate.com/vulnerability/CVE-2025-12390 · JSON: https://cvemate.com/vulnerability/CVE-2025-12390/json

## Description

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

## Signals

- CVSS: 6 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
- EPSS: 0.144%, percentile 3.879%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard keycloak-26.2 (Chainguard): \< 26.2.5-r6
- chainguard keycloak-26.2-iamguarded-compat (Chainguard): \< 26.2.5-r6
- chainguard keycloak-26.3-iamguarded-compat (Chainguard): \< 26.3.5-r3
- chainguard keycloak-26.4 (Chainguard): \< 26.4.4-r0
- chainguard keycloak-fips-26.2-iamguarded-fips (Chainguard): \< 26.2.5-r8
- chainguard keycloak-fips-26.3-iamguarded-fips (Chainguard): \< 26.3.5-r4
- chainguard keycloak-fips-26.4 (Chainguard): \< 26.4.4-r0
- wolfi keycloak-26.4 (Wolfi): \< 26.4.4-r0
- keycloak keycloak: \< 26.0.0
- org.keycloak keycloak-services (Maven): \< 26.0.0

## 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>
- <https://access.redhat.com/downloads/content/package-browser/>
- <https://catalog.redhat.com/software/containers/>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/12xxx/CVE-2025-12390.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-12390>
- <https://github.com/keycloak/keycloak>
- <https://github.com/keycloak/keycloak/issues/32197>
- <https://github.com/keycloak/keycloak/commit/5344aada5ee06b02ec3a9e0f52fa381d085b6282>
- <https://github.com/keycloak/keycloak/commit/b46fab230824a2304daafe74be019e8bd4ee590a>
- <https://github.com/keycloak/keycloak/commit/d82438a611f2f869f1966c13012953fe963a493d>
- <https://github.com/keycloak/keycloak/commit/ef75a4dc50aa9459777494e4b88655100bf2ac80>
- <https://github.com/keycloak/keycloak/discussions/31265>

---

Data as of 2026-12-05T06:45:43.839Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
