Insufficient Session Expiration in Keycloak - CVE-2026-9802

 

Insufficient Session Expiration in Keycloak - CVE-2026-9802

Published: September 5, 2026


Vulnerability identifier: #VU146991
CSH Severity: Medium
CVSS v4: 7 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-9802
CWE-ID: CWE-613
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to gain unauthorized access to a victim\'s account.

The vulnerability exists due to insufficient session expiration in Keycloak persistent session handling when revokeRefreshToken=true is enabled, persistent session storage is in use, and the server restarts. A remote attacker can replay a previously captured and revoked refresh token to gain unauthorized access to a victim\'s account.

User interaction is required.


Affected software

Keycloak
Red Hat build of Keycloak

How to mitigate CVE-2026-9802

Install security update from vendor's website.

Keycloak - update to 26.6.3
Red Hat build of Keycloak - addressed in versions 26.4.13, 26.6.3

External References

Related Security Bulletins