Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.keycloak/keycloak-services
  4. ›
  5. CVE-2025-12390

CVE-2025-12390: Keycloak vulnerable to session takeovers due to reuse of session identifiers

October 28, 2025 (updated November 28, 2025)

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.

References

  • access.redhat.com/errata/RHSA-2025:21370
  • access.redhat.com/errata/RHSA-2025:21371
  • access.redhat.com/errata/RHSA-2025:22088
  • access.redhat.com/errata/RHSA-2025:22089
  • access.redhat.com/security/cve/CVE-2025-12390
  • bugzilla.redhat.com/show_bug.cgi?id=2406793
  • github.com/advisories/GHSA-rg35-5v25-mqvp
  • github.com/keycloak/keycloak
  • github.com/keycloak/keycloak/commit/5344aada5ee06b02ec3a9e0f52fa381d085b6282
  • github.com/keycloak/keycloak/commit/b46fab230824a2304daafe74be019e8bd4ee590a
  • github.com/keycloak/keycloak/commit/d82438a611f2f869f1966c13012953fe963a493d
  • github.com/keycloak/keycloak/commit/ef75a4dc50aa9459777494e4b88655100bf2ac80
  • github.com/keycloak/keycloak/discussions/31265
  • github.com/keycloak/keycloak/issues/32197
  • nvd.nist.gov/vuln/detail/CVE-2025-12390

Code Behaviors & Features

Detect and mitigate CVE-2025-12390 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 26.0.0

Fixed versions

  • 26.0.0

Solution

Upgrade to version 26.0.0 or above.

Impact 6 MEDIUM

CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-384: Session Fixation

Source file

maven/org.keycloak/keycloak-services/CVE-2025-12390.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 14 Dec 2025 00:19:31 +0000.