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 package | Versions | Reported by |
|---|---|---|
| keycloak | before 26.4.3 | CVE List |
| rhbk/keycloak-operator-bundle | Not specified Not affected: from 26.2.11-1 before *, from 26.4.4-1 before * | CVE List |
| rhbk/keycloak-rhel9 | Not specified Not affected: from 26.2-12 before *, from 26.4-3 before * | CVE List |
| rhbk/keycloak-rhel9-operator | Not specified Not affected: from 26.2-12 before *, from 26.4-3 before * | CVE List |
| Red Hat Red Hat build of Keycloak 26.2.11 | Not specified | CVE List |
| keycloak-server | Not specified | CVE List |
| keycloak-services | Not specified | CVE List |
| org.keycloak:keycloak-services (Maven) | before 26.2.3 | GitHub Advisory Database |
All scores
| redhat | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| GitHub | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-12110 changed 2026-11-26 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-895x-rfqp-jh5c changed 2026-02-17 | CC-BY-4.0 |
| NVD | CVE-2025-12110 changed 2026-11-27 | Public domain |