CVE-2025-12110

Keycloak: org.keycloak:keycloak-services: user can refresh offline session even after client's offline_access scope was removed

Published Oct 23, 2025 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Workaround

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.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-895x-rfqp-jh5c Keycloak does not invalidate offline sessions when the offline_access scope is removed
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:build_keycloak: cpe:/a:redhat:build_keycloak:26.4::el9
References
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Keycloak: org.keycloak:keycloak-services: user can refresh offline session even after client's offline_access scope was removed
First Time appeared Redhat
Redhat build Keycloak
Weaknesses CWE-613
CPEs cpe:/a:redhat:build_keycloak:
Vendors & Products Redhat
Redhat build Keycloak
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Jan 20, 2026, 9:04 PM
Reserved
Oct 23, 2025, 2:07 PM
Status
Deferred
Published
Oct 23, 2025, 3:15 PM
Modified
Oct 18, 2026, 9:10 PM
Severity
Moderate
Public date
Oct 23, 2025, 12:00 AM