GitHub Advisoryadvisory · Maven

GHSA-v5g5-wwmp-jppw Keycloak has Insufficient Session Expiration

MEDIUM Published 2026-05-28 Modified 2026-07-01 Official page ↗
Aliases
CVE-2026-9802
Ecosystem
Maven
Packages
org.keycloak:keycloak-services
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Weaknesses
CWE-613
Reviewed
2026-07-01

Affected packages

• Maven org.keycloak:keycloak-services: <= 26.4.7 (no fix yet) • Maven org.keycloak:keycloak-services: >= 26.5.0, < 26.6.3 → fixed in 26.6.3

Description

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.

Related

Weakness · not in database (1)

Alias · CVE (1)

References