6.0Medium

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

Keycloak keycloak; Red Hat Red Hat build of Keycloak 26.2; Red Hat Red Hat build of Keycloak 26.2.11; Red Hat Red Hat build of Keycloak 26.4 Published: (1 year ago)

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.

Weakness (CWE): CWE-384

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
build keycloak 26.2 —
build keycloak 26.4 —
Keycloak keycloak < 26.0.0
Red Hat Red Hat build of Keycloak 26.2 all versions
Red Hat Red Hat build of Keycloak 26.2.11 —
Red Hat Red Hat build of Keycloak 26.4 all versions
Red Hat Red Hat build of Keycloak 26.4.4 —

References and patches