Keycloak: org.keycloak:keycloak-services: user can refresh offline session even after client's offline_access scope was removed
Summary
| CVE | CVE-2025-12110 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-10-23 15:15:32 UTC |
| Updated | 2026-11-27 00:16:39 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.4 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
EPSS: 0.004350000 probability, percentile 0.296190000 (date 2026-11-26)
Problem Types: CWE-613 | CWE-613 DEPRECATED: Insufficient Session Expiration
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 5.4 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| 3.1 | CNA | CVSS | 5.4 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Keycloak | Keycloak | affected 26.4.3 semver | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak 26.2 | unaffected 26.2.11-1 * rpm | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak 26.2 | unaffected 26.2-12 * rpm | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak 26.2 | unaffected 26.2-12 * rpm | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak 26.2.11 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak 26.4 | unaffected 26.4.4-1 * rpm | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak 26.4 | unaffected 26.4-3 * rpm | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak 26.4 | unaffected 26.4-3 * rpm | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak 26.4.4 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak | Not specified | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| access.redhat.com/errata/RHSA-2025:21371 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:21370 | [email protected] | access.redhat.com | |
| bugzilla.redhat.com/show_bug.cgi | [email protected] | bugzilla.redhat.com | |
| access.redhat.com/security/cve/CVE-2025-12110 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:22089 | [email protected] | access.redhat.com | |
| github.com/keycloak/keycloak/pull/43790 | [email protected] | github.com | |
| access.redhat.com/errata/RHSA-2025:22088 | [email protected] | access.redhat.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2025-10-23T13:59:13.455Z | Reported to Red Hat. |
| CNA | 2025-10-23T00:00:00.000Z | Made public. |
Workarounds
CNA: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
There are currently no legacy QID mappings associated with this CVE.