Vulnerability · Published Oct 23, 2025 · Assigned by redhat
CVE-2025-12110Keycloak: org.keycloak:keycloak-services: user can refresh offline session even after client's offline_access scope was removed
Medium 5.4
In plain English
A medium-severity security flaw in keycloak from Keycloak. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.keycloak:keycloak-services | 26.2.3 | GHSA-895x-rfqp-jh5c |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Keycloak | keycloak | 0 – before 26.4.3 |
| Red Hat | Red Hat build of Keycloak 26.2 | see references |
| Red Hat | Red Hat build of Keycloak 26.2 | see references |
| Red Hat | Red Hat build of Keycloak 26.2 | see references |
| Red Hat | Red Hat build of Keycloak 26.2.11 | see references |
| Red Hat | Red Hat build of Keycloak 26.4 | see references |
| Red Hat | Red Hat build of Keycloak 26.4 | see references |
| Red Hat | Red Hat build of Keycloak 26.4 | see references |
| Red Hat | Red Hat build of Keycloak 26.4.4 | see references |
Weakness: CWE-613 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
References
- RHSA-2025:21370 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:21371 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:22088 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:22089 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-12110 vdb-entry, x_refsource_REDHAT
- RHBZ#2406033 issue-tracking, x_refsource_REDHAT
- https://github.com/keycloak/keycloak/pull/43790