ADVISORIES

GitHub Advisory Database

GHSA-v5g5-wwmp-jppw

Keycloak has Insufficient Session Expiration

Moderate CVE-2026-9802

Details

A flaw was found in Keycloak. When revokeRefreshToken=true is enabled and persistent session storage is in use, a server restart can reset internal timing mechanisms. This allows a remote attacker, who has previously captured a user's refresh token, to replay that token even after it has been revoked. Successful exploitation grants the attacker unauthorized access to the victim's account, potentially leading to information disclosure or privilege escalation.

Affected packages

EcosystemPackageAffected versions
Mavenorg.keycloak:keycloak-services
All versions up to and including 26.4.7
Mavenorg.keycloak:keycloak-services
From 26.5.0 before 26.6.3 (fixed in 26.6.3)

References