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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Keycloak | keycloak | < 26.4.3 | 26.4.3 |
| 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 | — | — |
| Red Hat | Red Hat build of Keycloak 26.4.4 | — | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-services | < 26.2.3 | 26.2.3 | GHSA-895x-rfqp-jh5c |
Advisories 1
- WID-SEC-2025-2401 Keycloak: Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen BSI CERT-Bund (WID) · Nov 13, 2025
References
- RHSA-2025:21370 vendor-advisory
- RHSA-2025:21371 vendor-advisory
- RHSA-2025:22088 vendor-advisory
- RHSA-2025:22089 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2025-12110 vdb-entry
- RHBZ#2406033 issue-tracking
- https://github.com/keycloak/keycloak/pull/43790