Skip to main content

Keycloak CVE-2026-97367

| EUVDEUVD-2026-117922 MEDIUM
Improper Authentication (CWE-287)
2026-11-06 secalert@redhat.com GHSA-mw2g-fcj2-v82h
6.4
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privilege client owner
  2. Delivery
    Target a victim with an active session
  3. Exploit
    Manipulate own tokens to reference victim session
  4. Execution
    Access/modify victim account via Account REST API
  5. Persist
    Change recovery email and reset password
  6. Impact
    Full account takeover

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK

2 techniques across 2 tactics: Defense Evasion, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to hold a legitimate low-privilege foothold as a 'malicious client owner' in the Keycloak realm (PR:L - authenticated, per the supplied vector), and to interact with the Account REST API to manipulate their own security tokens so the session identifier points to another user's session. A key limiting precondition (consistent with AC:H and UI:R) is that the targeted victim must have an active session for the token to be redirected onto it. Limiting factors for defenders: the attacker cannot be a fully anonymous outsider (client-owner authentication is needed), success depends on a victim session the attacker does not control, and the high attack complexity reduces reliability. The specific token/session-binding mechanism and whether particular Keycloak versions or configurations are required are not described in the available sources.

Impact

This is a genuine but conditional identity/session-confusion flaw (CWE-287) in the Keycloak Account REST API, scored CVSS 6.4 (CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N). The signals are internally consistent and point to moderate, not critical, real-world urgency: the vector is network-reachable (AV:N) and the impact is severe (C:H/I:H - full account takeover via recovery-email change and password reset), but exploitation is gated by low-privilege authentication (PR:L - the attacker must be a legitimate 'client owner'), high attack complexity (AC:H), and a required precondition involving the victim (UI:R). The vuln.today decision label is 'this_month', which aligns with a plan-and-patch posture rather than emergency response. No EPSS score, no CISA KEV listing, and no PoC or exploit reference are present in the supplied data, so there is no evidence of active exploitation or available exploit code. Net: a real priority to remediate on a normal patch cycle, but the privilege requirement and complexity make mass or opportunistic exploitation unlikely absent a public PoC. Note the A:N - no availability impact, consistent with an account-takeover (confidentiality/integrity) rather than service-disruption flaw.

Exploit ScenarioDerived

An attacker who legitimately owns/controls a client in a Keycloak realm authenticates with their low-privilege account and manipulates their own security tokens so the session identifier resolves to a different user's active session via the Account REST API. Having bound their request to the victim's session, the attacker reads and modifies the victim's account data, then changes the recovery email and triggers a password reset to complete a full account takeover. No public exploit code or PoC reference is present in the supplied data, and the AC:H/UI:R metrics indicate the attack depends on conditions (a victim with an active session) that are not fully attacker-controlled.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 06, 2026

Keycloak Account REST API session confusion allows an authenticated client owner to redirect their own security token to another user's active session, exposing and modifying the victim's account data in a way that can lead to account takeover through recovery-email changes and password resets. Exploitation requires a legitimate low-privilege client-owner foothold and a victim who already has an active session, matching the CVSS 6.4 vector's high complexity and user-interaction requirements. No public exploit was identified at time of analysis, and the vendor references are Red Hat's CVE page and Bugzilla entry.

RemediationAI

No vendor-released patch is identified in the available data for CVE-2026-97367; monitor the Red Hat CVE page and Bugzilla entry for the fixed Keycloak release and apply it when published. Until then, use compensating controls that target the Account REST API and client-owner role: restrict the Account REST API to trusted networks or trusted clients where operationally possible (side effect: remote self-service and some integrations will break), disable or limit self-service account management if the business does not require it (side effect: users cannot change profile or recovery settings), and minimize the population of client owners (side effect: delegated administration becomes more centralized). Shorten active session lifetimes and revoke sessions when suspicious token-to-session mappings appear, with the trade-off of more frequent re-authentication; these measures reduce exposure but do not replace a vendor fix.

Affected VersionsENISA

Red Hat build of Keycloak 26.4 patch: 26.4-30
Red Hat build of Keycloak 26.4 patch: 26.4-29
Red Hat build of Keycloak 26.4 patch: 26.4.17-2

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Keycloak is an open-source identity and access management platform that exposes an Account REST API for self-service profile, credential, and session operations. CWE-287 (Improper Authentication) points to a failure to correctly bind a token or session identifier to the authenticated principal, so a client owner who can manipulate their own security tokens may cause the Account REST API to treat another user's active session as their own. The supplied vector (AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N) describes a network-reachable issue that requires an authenticated low-privilege client owner and user interaction; the exact token/session-binding implementation, affected Keycloak versions, and any configuration preconditions are not described in the available sources. Impact is limited to confidentiality and integrity of the victim's account data, with no availability impact stated.

Know when Keycloak gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY 6.4 MEDIUM
AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
vuln.today AI 6.4 MEDIUM

Network-reachable API but requires a legitimate client-owner account (PR:L) and a victim with an active session (AC:H, UI:R); account takeover gives C:H/I:H, no availability impact (A:N).

3.1 AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Red Hat 6.4 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

DescriptionCVE.org

A flaw was found in the Keycloak Account REST API where it incorrectly handles session identification. A malicious client owner can manipulate their own security tokens to point to a different user's active session. This allows the attacker to access and modify the victim's account information, potentially leading to a full account takeover by changing the recovery email and resetting the password.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
High
Keycloak is widely deployed open-source enterprise identity and access management
Social Media
2
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Total

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2023-48795 MEDIUM POC
5.9 Dec 18

The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot

CVE-2014-3709 HIGH POC
8.8 Oct 18

The org.keycloak.services.resources.SocialResource.callback method in JBoss KeyCloak before 1.0.3.Final allows remote at

CVE-2024-1132 HIGH POC
8.1 Apr 17

A flaw was found in Keycloak, where it does not properly validate URLs included in a redirect. Rated high severity (CVSS

CVE-2023-6563 HIGH POC
7.7 Dec 14

An unconstrained memory consumption vulnerability was discovered in Keycloak. Rated high severity (CVSS 7.7), this vulne

CVE-2022-1466 MEDIUM POC
6.5 Apr 26

Due to improper authorization, Red Hat Single Sign-On is vulnerable to users performing actions that they should not be

CVE-2017-7474 CRITICAL
9.8 May 12

It was found that the Keycloak Node.js adapter 2.5 - 3.0 did not handle invalid tokens correctly. Rated critical severit

CVE-2026-76187 CRITICAL
9.8 Sep 15

Authentication bypass in the Apache Airflow Keycloak auth manager provider (apache-airflow-providers-keycloak below 0.10

CVE-2022-1245 CRITICAL
9.8 Jul 08

A privilege escalation flaw was found in the token exchange feature of keycloak. Rated critical severity (CVSS 9.8), thi

CVE-2019-14910 CRITICAL
9.8 Dec 05

A vulnerability was found in keycloak 7.x, when keycloak is configured with LDAP user federation and StartTLS is used in

CVE-2021-20195 CRITICAL
9.6 May 28

A flaw was found in keycloak in versions before 13.0.0. Rated critical severity (CVSS 9.6), this vulnerability is remote

CVE-2023-6134 MEDIUM POC
5.4 Dec 14

A flaw was found in Keycloak that prevents certain schemes in redirects, but permits them if a wildcard is appended to t

CVE-2022-0225 MEDIUM POC
5.4 Aug 26

A flaw was found in Keycloak. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable, low attack c

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy