MEDIUM 5.4 Maven

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

GHSA-895x-rfqp-jh5c · CVE-2025-12110

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes