medium5.4
CVE-2025-12110
Keycloak does not invalidate offline sessions when the offline_access scope is removed
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.keycloak:keycloak-services | < 26.2.3 | 26.2.3 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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
- https://github.com/advisories/GHSA-895x-rfqp-jh5c
- https://nvd.nist.gov/vuln/detail/CVE-2025-12110
- https://github.com/keycloak/keycloak/commit/54e1c8af1e089ad33d32e0f2792610e4b8df421b
- https://github.com/keycloak/keycloak/commit/c830a27928cac4294619af7d147bdff34d4a85e7