GHSA-895x-rfqp-jh5cMediumCVSS 5.4

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

Published
October 23, 2025
Last Modified
February 17, 2026

🔗 CVE IDs covered (1)

📋 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.

🎯 Affected products1

  • maven/org.keycloak:keycloak-services:< 26.2.3

🔗 References (11)