Insufficient session expiration in Keycloak - CVE-2025-12110

 

Insufficient session expiration in Keycloak - CVE-2025-12110

Published: November 17, 2025


Vulnerability identifier: #VU118565
CSH Severity: Low
CVSS v4: 2.1 [CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-12110
CWE-ID: CWE-613
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise session of other users.

The vulnerability exists due to Keycloak does not invalidate offline sessions when the offline_access scope is removed. The refresh token is accepted and you can continue to request new tokens for the session. A remote authenticated attacker can compromise sessions of other user accounts.


Affected software

Keycloak
Red Hat build of Keycloak

How to mitigate CVE-2025-12110

Install updates from vendor's website.

Keycloak - update to 26.3.0
Red Hat build of Keycloak - update to 26.4.4

External References

Related Security Bulletins