Vulnerability
CVE-2025-12110
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.
9 advisories report this vulnerability, across 2 ecosystems.
Advisories
- CGA-2c9p-pcf3-m3x6
- CGA-583q-2vgg-x34m
- CGA-5fc2-f87c-fw28
- CGA-c3mv-22c3-q6m3
- CGA-cfmx-62wh-fj92
- CGA-jcq2-jrg4-4832
- CGA-wp5w-r45x-hxg9
- CGA-x8m8-r569-vc32
-
GHSA-895x-rfqp-jh5c
Keycloak does not invalidate offline sessions when the offline_access scope is removed
References
- https://access.redhat.com/errata/RHSA-2025:21370
- https://access.redhat.com/errata/RHSA-2025:21371
- https://access.redhat.com/errata/RHSA-2025:22088
- https://access.redhat.com/errata/RHSA-2025:22089
- https://access.redhat.com/security/cve/CVE-2025-12110
- https://bugzilla.redhat.com/show_bug.cgi?id=2406033
- https://github.com/keycloak/keycloak/pull/43790