GHSA-c9h6-v78w-52wj · Severity: medium · Ecosystem: maven — Keycloak vulnerable to session hijacking via re-authentication
A flaw was found in Keycloak that occurs from an error in the re-authentication mechanism within org.keycloak.authentication. This flaw allows hijacking an active Keycloak session by triggering a new authentication process with the query parameter "prompt=login," prompting the user to re-enter their credentials. If the user cancels this re-authentication by selecting "Restart login," an account takeover may occur, as the new session, with a different SUB, will possess the same SID as the previous session.
Conclusion & alert: CVE-2023-6787 is rated Moderate Risk (43.6/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.74%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.57% | 0.74% | +0.17% |
| 2 | 2026-05-14 | 0.40% | 0.57% | +0.18% |
| 3 | 2025-11-21 | — | 0.40% | — |
Full EPSS history (10 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.5 | 3.1 | MEDIUM |
|
2.8 | 3.6 | [email protected] |
| 8.8 | 3.1 | HIGH |
|
2.8 | 5.9 | [email protected] |
GHSA-c9h6-v78w-52wj · Severity: medium · Ecosystem: maven — Keycloak vulnerable to session hijacking via re-authentication
| vendor | priority | summary | link |
|---|---|---|---|
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2023-6787 |
| URL | Tags |
|---|---|
| https://access.redhat.com/errata/RHSA-2024:1867 | Vendor Advisory |
| https://access.redhat.com/errata/RHSA-2024:1868 | Vendor Advisory |
| https://access.redhat.com/security/cve/CVE-2023-6787 | Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2254375 | Issue Tracking Vendor Advisory |
| https://github.com/keycloak/keycloak/security/advisories/GHSA-c9h6-v78w-52wj | Vendor Advisory |