All reports
Medium

Keycloak does not invalidate offline sessions when the offline_access scope is removed

Affected versions

Affected versions
< 26.2.3
Fixed version
26.2.3

Exploitation

CVE-2025-12110

Probability of exploitation in the next 30 days: 0.31%

FIRST EPSS · 2026-11-19

Description

A flaw was found in Keycloak. An offline session continues to be valid when the offline_access scope is removed from the client. The refresh token is accepted and you can continue to request new tokens for the session. As it can lead to a situation where an administrator removes the scope, and assumes that offline sessions are no longer available, but they are.

Links

Credits

  • eminaktas