CVE-2025-12390
MEDIUM6.0EPSS 0.02%Keycloak vulnerable to session takeovers due to reuse of session identifiers
發布日:2025/10/28修改日:2026/2/4
描述
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.
受影響套件(1)
- Maven/org.keycloak:keycloak-servicesfrom 0, < 26.0.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N |
參考連結(15)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2025-12390
- PATCHhttps://github.com/keycloak/keycloak
- WEBhttps://access.redhat.com/errata/RHSA-2025:21370
- WEBhttps://access.redhat.com/errata/RHSA-2025:21371
- WEBhttps://access.redhat.com/errata/RHSA-2025:22088
- WEBhttps://access.redhat.com/errata/RHSA-2025:22089
- WEBhttps://access.redhat.com/security/cve/CVE-2025-12390
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=2406793
- WEBhttps://github.com/keycloak/keycloak/commit/5344aada5ee06b02ec3a9e0f52fa381d085b6282
- WEBhttps://github.com/keycloak/keycloak/commit/b46fab230824a2304daafe74be019e8bd4ee590a
- WEBhttps://github.com/keycloak/keycloak/commit/d82438a611f2f869f1966c13012953fe963a493d
- WEBhttps://github.com/keycloak/keycloak/commit/ef75a4dc50aa9459777494e4b88655100bf2ac80
- WEBhttps://github.com/keycloak/keycloak/discussions/31265
- WEBhttps://github.com/keycloak/keycloak/issues/32197
- WEBhttps://github.com/keycloak/keycloak/issues/43853