CVE-2026-9802: Insufficient Session Expiration in Red Hat Red Hat build of Keycloak 26.4
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.
AI Analysis
Technical Summary
The vulnerability arises from insufficient session expiration handling in Red Hat build of Keycloak 26.4 when revokeRefreshToken=true and persistent session storage are enabled. A server restart resets internal timing, enabling replay of revoked refresh tokens by remote attackers who previously captured them. Successful exploitation grants unauthorized account access, leading to potential information disclosure or privilege escalation. Red Hat's advisory references updated Keycloak 26.6.3 images containing security fixes including this issue. No direct patch for 26.4 is specified, but upgrading to 26.6.3 is the recommended remediation.
Potential Impact
An attacker with a previously captured refresh token can replay it after a server restart despite token revocation, resulting in unauthorized access to user accounts. This can lead to information disclosure and privilege escalation. The CVSS score of 6.8 reflects a medium severity impact with network attack vector, high confidentiality and integrity impact, but requiring high attack complexity and user interaction.
Mitigation Recommendations
Red Hat has released updated Keycloak 26.6.3 images that address this vulnerability. Users should upgrade to these updated images to remediate the issue. Before applying the update, back up existing installations including applications, configuration files, and databases. No explicit patch for version 26.4 is provided; therefore, upgrading to the fixed 26.6.3 version is the recommended action. Monitor Red Hat advisories for any further updates or patches.
CVE-2026-9802: Insufficient Session Expiration in Red Hat Red Hat build of Keycloak 26.4
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.
CVSS v3.1
Score 6.8medium
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises from insufficient session expiration handling in Red Hat build of Keycloak 26.4 when revokeRefreshToken=true and persistent session storage are enabled. A server restart resets internal timing, enabling replay of revoked refresh tokens by remote attackers who previously captured them. Successful exploitation grants unauthorized account access, leading to potential information disclosure or privilege escalation. Red Hat's advisory references updated Keycloak 26.6.3 images containing security fixes including this issue. No direct patch for 26.4 is specified, but upgrading to 26.6.3 is the recommended remediation.
Potential Impact
An attacker with a previously captured refresh token can replay it after a server restart despite token revocation, resulting in unauthorized access to user accounts. This can lead to information disclosure and privilege escalation. The CVSS score of 6.8 reflects a medium severity impact with network attack vector, high confidentiality and integrity impact, but requiring high attack complexity and user interaction.
Mitigation Recommendations
Red Hat has released updated Keycloak 26.6.3 images that address this vulnerability. Users should upgrade to these updated images to remediate the issue. Before applying the update, back up existing installations including applications, configuration files, and databases. No explicit patch for version 26.4 is provided; therefore, upgrading to the fixed 26.6.3 version is the recommended action. Monitor Red Hat advisories for any further updates or patches.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-05-28T04:02:07.242Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-9802","vendor":"Red Hat"}]
Threat ID: 6a17daeae29bf47b50b180fa
Added to database: 05/28/2026, 06:04:26 UTC
Last enriched: 06/26/2026, 12:22:57 UTC
Last updated: 07/31/2026, 19:23:00 UTC
Views: 117
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.