BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2025-12390 in Keycloak

Medium 6.0

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 ...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.16.0
EPSS0.2%
EPSS percentile5th
FixUnknown

Requires local access, high complexity, low privileges required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Keycloak Keycloak < 26.0.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-12390
BreachSpider IDBS-2025-GLOBAL-231124-M
CVSS vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
Published2025-10-28
Last modified2026-10-18
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-384: CWE-384

Related attack patterns (CAPEC)

CAPEC-31 Accessing/Intercepting/Modifying HTTP Cookies via CWE-384

CAPEC-59 Session Credential Falsification through Prediction via CWE-384

CAPEC-60 Reusing Session IDs (aka Session Replay) via CWE-384

CAPEC-61 Session Fixation via CWE-384

CAPEC-39 Manipulating Opaque Client-based Data Tokens via CWE-384

Show all 7

CAPEC-196 Session Credential Falsification through Forging via CWE-384

CAPEC-21 Exploitation of Trusted Identifiers via CWE-384

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A flaw in Keycloak allows a user to accidentally gain access to another user's session if both users use the same device and browser. This occurs due to improper session management and cookie handling during logout.

The attack vector involves users sharing the same device and browser. Keycloak may reuse session identifiers and fail to clean up sessions properly when browser cookies are missing, leading to potential session hijacking.

Questions

What is CVE-2025-12390?

A flaw in Keycloak allows a user to accidentally gain access to another user's session if both users use the same device and browser. This occurs due to improper session management and cookie handling during logout.

What is the CVSS score for CVE-2025-12390?

CVE-2025-12390 has CVSS 6.0 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N. EPSS: 0.2%.

Is CVE-2025-12390 actively exploited?

No confirmed active exploitation of CVE-2025-12390 as of 2026-10-23.

How do I remediate CVE-2025-12390?

Priority: MEDIUM.

What systems are affected by CVE-2025-12390?

CVE-2025-12390 affects Keycloak Keycloak.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Keycloak","product":"Keycloak","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-18.