CVE-2025-12110: Red Hat build of Keycloak 26.2 · Insufficient Session Expiration
Affects Red Hat build of Keycloak 26.2Source CVE Database V5
Not known to be exploited · CVSS 5.4 Medium.
Data as of 26 Oct 2026, 08:30 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 22% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 23 Oct 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Mavenorg.keycloak/keycloakpkg:maven/org.keycloak/keycloakOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
1. Monitor and audit refresh token usage closely to detect unusual or prolonged token refresh activity that may indicate exploitation. 2. Implement strict token revocation policies and consider reducing refresh token lifetimes to limit exposure. 3. Enforce multi-factor authentication (MFA) to reduce the risk of token theft or misuse. 4. Segregate administrative functions and restrict privileges to minimize the impact of compromised tokens. 5. Stay informed on Red Hat and Keycloak vendor advisories and apply patches promptly once released. 6. Consider deploying additional session management controls such as token introspection and real-time revocation checks. 7. Educate administrators on the implications of offline_access scope changes and verify session invalidation through testing. 8. Use network segmentation and anomaly detection systems to identify suspicious authentication patterns. 9. Review and update incident response plans to include scenarios involving token misuse and session persistence. 10. If possible, temporarily disable offline_access scope or limit its use until the vulnerability is addressed.
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.
References
- access.redhat.com/errata/RHSA-2025:21370 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:21371 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:22088 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:22089 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2025-12110 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2406033 (opens in a new tab)
- github.com/keycloak/keycloak/pull/43790 (opens in a new tab)