Keycloak-server: too long and not settings compliant session
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-613.
Summary
A flaw was found in Keycloak. Keycloak does not immediately enforce the disabling of the "Remember Me" realm setting on existing user sessions. Sessions created while "Remember Me" was active retain their extended session lifetime until they expire, overriding the administrator's recent security configuration change. This is a logic flaw in session management increases the potential window for successful session hijacking or unauthorized long-term access persistence. The flaw lies in the session expiration logic relying on the session-local "remember-me" flag without validating the current realm-level configuration.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Keycloak | keycloak | before 26.4.1 | 26.4.1 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.2 | — | 26.2.11-1 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.2 | — | 26.2-12 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.2 | — | 26.2-12 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.2.11 | — | — | Not affected | CNA |
| — | org.keycloak:keycloak-services (Maven) | 26.3.0 to before 26.4.1 | 26.4.1 | Patch available | GHSA-64w3-5q9m-68xf |
| — | org.keycloak:keycloak-services (Maven) | before 26.2.11 | 26.2.11 | Patch available | GHSA-64w3-5q9m-68xf |
- keycloak VendorKeycloak Affected before 26.4.1 Fixed in 26.4.1 Patch available CNA
- Red Hat build of Keycloak 26.2 VendorRed Hat Affected — Fixed in 26.2.11-1 Patch available CNA
- Red Hat build of Keycloak 26.2 VendorRed Hat Affected — Fixed in 26.2-12 Patch available CNA
- Red Hat build of Keycloak 26.2 VendorRed Hat Affected — Fixed in 26.2-12 Patch available CNA
- Red Hat build of Keycloak 26.2.11 VendorRed Hat Affected — Fixed in — Not affected CNA
- org.keycloak:keycloak-services (Maven) Vendor— Affected 26.3.0 to before 26.4.1 Fixed in 26.4.1 Patch available GHSA-64w3-5q9m-68xf
- org.keycloak:keycloak-services (Maven) Vendor— Affected before 26.2.11 Fixed in 26.2.11 Patch available GHSA-64w3-5q9m-68xf
Remediation
- Fix · CNA keycloak (Keycloak) Fixed in 26.4.1
- Fix · GHSA-64w3-5q9m-68xf org.keycloak:keycloak-services (Maven) Fixed in 26.4.1 Advisory →
- Fix · GHSA-64w3-5q9m-68xf org.keycloak:keycloak-services (Maven) Fixed in 26.2.11 Advisory →
Red Hat 2 advisories
- RHSA-2025:22088 Released 2025-11-25 · Red Hat rating ModerateRed Hat build of Keycloak 26.2.11 Images Security Update
- Red Hat build of Keycloak 26.2 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
- RHSA-2025:22089 Released 2025-11-25 · Red Hat rating ModerateRed Hat build of Keycloak 26.2.11 Security Update
- Red Hat build of Keycloak 26.2.11
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat build of Keycloak 26.2 | Fixed | RHSA-2025:22088 |
| Red Hat build of Keycloak 26.2.11 | Fixed | RHSA-2025:22089 |
Timeline
- 2026-10-02 Threatist record created from CVE-2025-11429
- 2026-10-03 Alias added: GHSA-64w3-5q9m-68xf
References
Other 7
- https://access.redhat.com/security/cve/CVE-2025-11429
- RHBZ#2402148
- https://github.com/keycloak/keycloak/commit/a34094100716b7c69ae38eaed6678ab4344d0a1d
- https://github.com/keycloak/keycloak/commit/bda0e2a67c8cf41d1b3d9010e6dfcddaf79bf59b
- https://github.com/keycloak/keycloak/issues/43328
- https://github.com/keycloak/keycloak/commit/a752492843e21c3ab06090616692e53001864158
- https://github.com/keycloak/keycloak
More Keycloak vulnerabilities
- TI-2022-03994 Cross-site scripting in keycloak CVSS 3.1CRITICAL 10.0
- TI-2017-05120 It was found that the Keycloak Node.js adapter 2.5 - 3.0 did not handle invalid tokens… CVSS 3.0CRITICAL 9.8
- TI-2017-08952 Weak password recovery in Red Hat Keycloak CVSS 3.0HIGH 8.8
- TI-2014-03024 The org.keycloak.services.resources.SocialResource.callback method in JBoss KeyCloak… CVSS 3.0HIGH 8.8
- TI-2026-01295 Org.keycloak/keycloak-quarkus-server: keycloak: unauthorized access via jwt authorization grant with disabled users CVSS 3.1HIGH 8.1
- TI-2017-08950 Insufficient session expiration in Red Hat keycloak CVSS 3.0HIGH 7.5
Sources
- CVE-2025-11429 · CVE Program
- CVE-2025-11429 · NVD
- FIRST EPSS
- GHSA-64w3-5q9m-68xf · GitHub Advisory Database · CC BY 4.0
- CVE-2025-11429 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences