CVE-2025-12110
MEDIUM5.4EPSS 0.06%Keycloak does not invalidate offline sessions when the offline_access scope is removed
Published: 10/23/2025Modified: 2/17/2026
Also known as:GHSA-895x-rfqp-jh5c
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 packages (1)
- Maven/org.keycloak:keycloak-servicesfrom 0, < 26.2.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
References (11)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2025-12110
- PATCHhttps://github.com/keycloak/keycloak
- WEBhttps://access.redhat.com/errata/RHSA-2025:21370
- WEBhttps://access.redhat.com/errata/RHSA-2025:21371
- WEBhttps://access.redhat.com/errata/RHSA-2025:22088
- WEBhttps://access.redhat.com/errata/RHSA-2025:22089
- WEBhttps://access.redhat.com/security/cve/CVE-2025-12110
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=2406033
- WEBhttps://github.com/keycloak/keycloak/commit/54e1c8af1e089ad33d32e0f2792610e4b8df421b
- WEBhttps://github.com/keycloak/keycloak/commit/c830a27928cac4294619af7d147bdff34d4a85e7
- WEBhttps://github.com/keycloak/keycloak/pull/43790