VDB
Sign up
MEDIUM5.4

GHSA-895x-rfqp-jh5c

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

Quick fix

GHSA-895x-rfqp-jh5c — org.keycloak:keycloak-services: upgrade to the fixed version with the command below.

# pom.xml: bump <version>26.2.3</version> for org.keycloak:keycloak-services

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.keycloak:keycloak-services
Introduced in: 0Fixed in: 26.2.3
Fix# pom.xml: bump <version>26.2.3</version> for org.keycloak:keycloak-services

References