5.4Medium

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

Keycloak keycloak; Red Hat Red Hat build of Keycloak 26.2; Red Hat Red Hat build of Keycloak 26.2.11; Red Hat Red Hat build of Keycloak 26.4 Published: (1 year ago)

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.

Weakness (CWE): CWE-613

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
build keycloak 26.2 —
build keycloak 26.4 —
Keycloak keycloak < 26.4.3
Red Hat Red Hat build of Keycloak 26.2 all versions
Red Hat Red Hat build of Keycloak 26.2.11 —
Red Hat Red Hat build of Keycloak 26.4 all versions
Red Hat Red Hat build of Keycloak 26.4.4 —

References and patches