CVE-2025-12390

Org.keycloak.protocol.oidc.endpoints.logoutendpoint: offline session takeover due to reused authentication session id

State
Published
Severity
6.0 Medium
Published
Oct 28, 2025
Updated
Jul 30, 2026
Reserved
Oct 28, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.0 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:Nredhat

Weaknesses

Affected Products

ProductVersions
keycloakKeycloak
  • before 26.0.0Affected
Red Hat build of Keycloak 26.2Red Hat
  • 26.2.11-1 and laterNot affected
Red Hat build of Keycloak 26.2Red Hat
  • 26.2-12 and laterNot affected
Red Hat build of Keycloak 26.2Red Hat
  • 26.2-12 and laterNot affected
Red Hat build of Keycloak 26.2.11Red Hat
    Red Hat build of Keycloak 26.4Red Hat
    • 26.4.4-1 and laterNot affected
    Red Hat build of Keycloak 26.4Red Hat
    • 26.4-3 and laterNot affected
    Red Hat build of Keycloak 26.4Red Hat
    • 26.4-3 and laterNot affected
    Red Hat build of Keycloak 26.4.4Red Hat

      References

      Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.