Advisory record · GHSA-c9h6-v78w-52wj

Keycloak vulnerable to session hijacking via re-authentication

CVSS 6.5 MediumEPSS 0.0074 · 55th percentile

Published by the GitHub Advisory Database at 17 Apr 2024, 18:25 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
org.keycloak:keycloak-servicesMaven<22.0.10 || >=23.0.0, <24.0.322.0.10, 24.0.3
Identifiers
GHSA-c9h6-v78w-52wj · CVE-2023-6787
Weakness (CWE)
CWE-287 · CWE-384 · CWE-613
Published
17 Apr 2024
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Keycloak (org.keycloak:keycloak-services, Maven) versions before 22.0.10, and 23.0.0 through before 24.0.3, are affected. An attacker who can start a new login with the prompt=login parameter can get a user to cancel the re-authentication, after which the new session keeps the old session ID, allowing account takeover. Upgrade to 22.0.10 or 24.0.3.

Written 2 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.5 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N CNA (redhat)
  • CISA KEV Not listed.
  • EPSS 0.0074, the 55th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 17 Apr 2024, 13:17 UTC Published by the maintainers as a GitHub repository advisory
  2. 31 Oct 2026, 14:17 UTC First seen by agentprime
  3. 31 Oct 2026, 14:17 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.