CVE-2025-12110
JSON

5.4medium

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

Severity
5.4medium CVSS:3.1 by redhat
Exploit likelihood
0.31% (higher than 25% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat
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

Product or packageVersionsReported by
keycloakbefore 26.4.3CVE List
rhbk/keycloak-operator-bundleNot specified
Not affected: from 26.2.11-1 before *, from 26.4.4-1 before *
CVE List
rhbk/keycloak-rhel9Not specified
Not affected: from 26.2-12 before *, from 26.4-3 before *
CVE List
rhbk/keycloak-rhel9-operatorNot specified
Not affected: from 26.2-12 before *, from 26.4-3 before *
CVE List
Red Hat Red Hat build of Keycloak 26.2.11Not specifiedCVE List
keycloak-serverNot specifiedCVE List
keycloak-servicesNot specifiedCVE List
org.keycloak:keycloak-services (Maven)before 26.2.3GitHub Advisory Database

All scores

redhat5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
GitHub5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Classification

CWE-613

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Se encontró una falla en Keycloak. Una sesión sin conexión sigue siendo válida cuando el alcance offline_access se elimina del cliente. El token de actualización es aceptado y se pueden seguir solicitando nuevos tokens para la sesión. Ya que puede llevar a una situación en la que un administrador elimina el alcance, y asume que las sesiones sin conexión ya no están disponibles, pero sí lo están.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-12110 changed 2026-11-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-895x-rfqp-jh5c changed 2026-02-17CC-BY-4.0
NVDCVE-2025-12110 changed 2026-11-27Public domain