CVE-2025-12110

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

State
Published
Severity
5.4 Medium
Published
Oct 23, 2025
Updated
Jan 20, 2026
Reserved
Oct 23, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:Nredhat

Weaknesses

  • CWE-613 Insufficient Session Expiration

Affected Products

ProductVersions
keycloakKeycloak
  • before 26.4.3Affected
Red Hat build of Keycloak 26.2Red Hat
  • 26.2.11-1 and laterNot affected
Red Hat build of Keycloak 26.2Red Hat
  • 26.2-12 and laterNot affected
Red Hat build of Keycloak 26.2Red Hat
  • 26.2-12 and laterNot affected
Red Hat build of Keycloak 26.2.11Red Hat
    Red Hat build of Keycloak 26.4Red Hat
    • 26.4.4-1 and laterNot affected
    Red Hat build of Keycloak 26.4Red Hat
    • 26.4-3 and laterNot affected
    Red Hat build of Keycloak 26.4Red Hat
    • 26.4-3 and laterNot affected
    Red Hat build of Keycloak 26.4.4Red Hat

      References

      Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.