Vulnerability · Published May 28, 2026 · Assigned by redhat
CVE-2026-9802Keycloak: keycloak: unauthorized account access via replayed refresh tokens after cluster restart
Medium 6.8
In plain English
A medium-severity security flaw in Red Hat build of Keycloak 26.4 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.keycloak:keycloak-services | no fix listed | GHSA-v5g5-wwmp-jppw |
| Maven | org.keycloak:keycloak-services | 26.6.3 | GHSA-v5g5-wwmp-jppw |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat build of Keycloak 26.4 | see references |
| Red Hat | Red Hat build of Keycloak 26.4 | see references |
| Red Hat | Red Hat build of Keycloak 26.4 | see references |
| Red Hat | Red Hat build of Keycloak 26.4.13 | see references |
| Red Hat | Red Hat build of Keycloak 26.6 | see references |
| Red Hat | Red Hat build of Keycloak 26.6 | see references |
| Red Hat | Red Hat build of Keycloak 26.6 | see references |
| Red Hat | Red Hat build of Keycloak 26.6.3 | see references |
Weakness: CWE-613 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
References
- RHSA-2026:25097 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:25098 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:30049 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:30050 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-9802 vdb-entry, x_refsource_REDHAT
- RHBZ#2482467 issue-tracking, x_refsource_REDHAT