Loading advisory.
Loading advisory.
Keycloak vulnerable to session takeover with OIDC offline refreshtokens
An issue was discovered in Keycloak when using a client with the offline_access scope. Reuse of session ids across root and user authentication sessions and a lack of root session validation enabled attackers to resolve a user session attached to a different previously authenticated user.
Published 2022-12-13 19:44 UTC · Modified 2024-08-03 01:20 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| org.keycloak:keycloak-parent | Maven | < 20.0.2 versions 1.0-alpha-1, 1.0-alpha-1-12062013, 1.0-alpha-2, 1.0-alpha-3, 1.0-alpha-4, 1.0-beta-1, 1.0-beta-1-20150521, 1.0-beta-1-20150523, 1.0-beta-2, 1.0-beta-3, 1.0-beta-4, 1.0-final, 1.0-rc-1, 1.0-rc-2, 1.0.1.Final, 1.0.2.Final, 1.0.3.Final, 1.0.4.Final, 1.0.5.Final, 1.1.0.Beta1 and 124 more | 20.0.2 | No single command for Maven. Update to 20.0.2 in your build file. |
An issue was discovered in Keycloak when using a client with the offline_access scope. Reuse of session ids across root and user authentication sessions and a lack of root session validation enabled attackers to resolve a user session attached to a different previously authenticated user.
This issue most affects users of shared computers. Suppose a user logs out of their account (without clearing their cookies) in a mobile app or similar client that includes the offline_access scope, and another user authenticates to the application. In that case, it will share the same root session id, and when utilizing the refresh token, they will be issued a token for the original user.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.010 on 2026-11-24 to 0.010 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.010 | first score | v2026.06.15 |
| 2026-11-26 | 0.010 | 0.010 | v2026.06.15 |