CVE-2025-12390
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
Summary
A flaw was found in Keycloak. In Keycloak where a user can accidentally get access to another user's session if both use the same device and browser. This happens because Keycloak sometimes reuses session identifiers and doesn’t clean up properly during logout when browser cookies are missing. As a result, one user may receive tokens that belong to another user.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Keycloak | keycloak | 0 < 26.0.0 | affected |
| Red Hat | Red Hat build of Keycloak 26.2 | 26.2.11-1 < * | unaffected |
| Red Hat | Red Hat build of Keycloak 26.2 | 26.2-12 < * | unaffected |
| Red Hat | Red Hat build of Keycloak 26.2 | 26.2-12 < * | unaffected |
| Red Hat | Red Hat build of Keycloak 26.4 | 26.4.4-1 < * | unaffected |
| Red Hat | Red Hat build of Keycloak 26.4 | 26.4-3 < * | unaffected |
| Red Hat | Red Hat build of Keycloak 26.4 | 26.4-3 < * | unaffected |
Weaknesses
- CWE-384: Session Fixation
Workarounds
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: total
References
- https://access.redhat.com/errata/RHSA-2025:21370
- https://access.redhat.com/errata/RHSA-2025:21371
- https://access.redhat.com/errata/RHSA-2025:22088
- https://access.redhat.com/errata/RHSA-2025:22089
- https://access.redhat.com/security/cve/CVE-2025-12390
- https://bugzilla.redhat.com/show_bug.cgi?id=2406793
- https://github.com/keycloak/keycloak/issues/43853
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.