Skip to main content

Keycloak EUVDEUVD-2026-80173

| CVE-2026-92358 MEDIUM
Insufficient Session Expiration (CWE-613)
2026-09-16 redhat GHSA-prm3-wvj6-64vx
6.4
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

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

  1. Recon
    Attacker controls account at external IdP
  2. Delivery
    Victim confirms account-linking request
  3. Exploit
    Broker flow creates residual proof
  4. Install
    Link established, proof not cleared
  5. C2
    Victim manually unlinks the identity
  6. Execute
    Attacker replays leftover proof
  7. Impact
    Link silently re-established
  8. Step 8
    Authenticate as victim

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session expiration enforcement
Exploitation Conditions

Exploitation requires a Keycloak realm configured with identity brokering - the first broker login flow and at least one external identity provider must be active, which is a non-default deployment mode rather than an out-of-the-box configuration. The attacker must control an account on that external identity provider (PR:L in the CVSS vector) whose identity was previously linked to the victim's Keycloak account, and the victim must at some earlier point have confirmed an account-linking request from a different browser, which is what creates the residual proof; the attacker cannot fabricate that proof independently. The victim does not need to act again at exploitation time, and the link can be re-established after the victim manually removes it, so the only real window-limiting factor is whether the leftover proof has been cleared by a fix, by deleting the federated identity record at the administrative level, or by removing the account. Factors that limit real-world exposure: the high attack complexity and required user interaction from the CVSS vector, the need for a prior trusted relationship between the victim's account and the attacker-controlled external identity, and the fact that realms without IdP federation - including standalone username/password deployments - are not reachable by this attack path at all.

Impact

The CVSS 3.1 vector (AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N, base 6.4) is internally consistent with the description: the attacker needs network reach to the Keycloak broker endpoint, must control an account at the federated external identity provider (PR:L, attacker is a legitimate but hostile IdP user rather than anonymous), and depends on a prior victim action - confirming an account-linking request from a different browser (UI:R), which drives the AC:H rating. The impact metrics are the part that matters operationally: a successful silent re-link yields full account takeover of the federated user, so C:H/I:H with no availability impact is a fair characterization. Unlike most session-expiration bugs, time does not reduce risk - the stale proof persists until it is explicitly cleaned up, so an unpatched instance stays exploitable indefinitely. The countervailing signal is that exploitation is conditional on identity brokering being enabled and on a specific historical interaction between that victim and that external IdP; a Keycloak deployment used only for local username/password or with no IdPs configured has effectively zero exposure. No EPSS score, proof-of-concept, or KEV entry was supplied, so the correct exploitation status is 'no public exploit identified at time of analysis' - there is nothing in the input supporting a claim of active exploitation. Net assessment: moderate severity, high per-incident impact, narrow precondition set - the kind of flaw that even a mid-sized municipal IT team in malbork should treat as urgent once a fixed build is published, because the IdP is the trust anchor for every downstream application. Confidence in the risk picture is limited by the absence of EPSS, patch version, and any vendor statement on exploitability.

Exploit ScenarioDerived

An attacker who controls an account at an external identity provider that a victim has previously linked (for example a shared or later-compromised social account) waits for or induces the victim to unlink that identity from their Keycloak account. Because the account-linking proof from the original confirmation was never cleared, the attacker presents the same external identity to the broker login flow and the link is silently re-established, granting the attacker a fully authenticated session as the victim. No phishing or further user interaction is required after the initial link confirmation, which makes the attack quiet and repeatable.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 16, 2026

Keycloak's first broker login flow leaves a temporary account-linking proof behind after a federated identity link is established or manually removed (CWE-613), allowing an attacker who controls the external identity to silently re-establish the link and authenticate as the victim without any further confirmation. The flaw affects Red Hat Build of Keycloak and Red Hat Single Sign-On 7 deployments that use identity brokering, and carries high confidentiality and integrity impact despite a moderate CVSS base of 6.4. No public exploit code was identified at time of analysis and the issue is not listed in CISA KEV.

RemediationAI

No vendor-released patch version appears in the supplied data, so the immediate action is to monitor the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-92358 for the fixed Red Hat Build of Keycloak and Red Hat Single Sign-On 7 builds and apply them as soon as they are published; treat any upgrade that touches the first broker login flow as the authoritative fix, and verify the patched version after deployment. Until then, the most effective compensating control is to remove the exposure path: disable identity brokering entirely for IdPs that are not strictly required, accepting that this breaks federated SSO for those providers. Where brokering must stay enabled, restrict the realm to a single trusted IdP, require administrator approval for account linking rather than allowing user-driven first broker login, and manually delete the federated identity link record for any account that has unlinked an IdP rather than trusting the user-initiated unlink alone - the trade-off is administrative overhead and forced re-linking for affected users. Audit and correlate Keycloak event logs for IDENTITY_PROVIDER_LINK_ACCOUNT and federated identity link/unlink events to detect unexpected re-linking, and given the lack of an EPSS signal, consider that detection may be the only backstop for already-compromised links. Restarting or recreating authentication sessions does not clear an already-persisted link and should not be relied on as a mitigation.

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 server that supports identity brokering: when a user authenticates through an external identity provider (OIDC, SAML, social login), the 'first broker login' authentication flow detects that no local account is linked yet and walks the user through account creation or account linking, including confirmation of an existing account when the browser session does not match. To complete that linking step, Keycloak issues a short-lived proof artifact tied to the authentication session that asserts the user consented to bind the external identity to the local account. CWE-613 (Insufficient Session Expiration) is the root cause here: that proof is never invalidated when the link is created, nor when the user later unlinks the federated identity, so a stale, still-valid artifact survives the lifecycle it was designed for. Because the proof is consumed by the broker login flow itself, anyone who can present the linked external identity can replay the leftover state and rebind it. The affected CPE set is Red Hat Build of Keycloak (cpe:2.3:a:red_hat:red_hat_build_of_keycloak) and Red Hat Single Sign-On 7 (cpe:2.3:a:red_hat:red_hat_single_sign-on_7); upstream Keycloak shares the same code path.

Know when Red Hat Build Of 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 broker endpoint, but needs attacker-controlled external IdP account and a prior victim link confirmation, so AC:H, PR:L, UI:R; no availability impact.

3.1 AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:N/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 first broker login flow of Keycloak. When a user confirms an account-linking request from a different browser, a temporary proof is created to validate the link. However, this proof is not properly cleared after the link is established or when the user later manually removes the link. An attacker who controls the external identity can exploit this leftover proof to silently re-establish the link and gain unauthorized access to the victims account without any further confirmation.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
High
widely deployed enterprise IdP; only brokering setups exposed
Data Quality
4 sources
Confidence: Medium

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.3%
Patch available No
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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
High

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.

Affected Products (CPE)CVE.org

cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_single_sign-on_7:*:*:*:*:*:*:*:*
CVE-2026-18963 CRITICAL POC
9.1 Aug 18

Account takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in

CVE-2026-16442 CRITICAL
9.8 Aug 05

Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML

CVE-2026-16443 CRITICAL
9.1 Aug 05

Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge

CVE-2026-15572 HIGH
8.8 Aug 05

Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil

CVE-2026-93569 HIGH
8.2 Sep 18

Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat

CVE-2026-9800 HIGH
8.1 Jun 25

Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con

CVE-2026-15573 HIGH
8.1 Aug 05

URI normalization bypass in Keycloak's Authorization Services PathMatcher allows authenticated low-privilege users to re

CVE-2026-16102 HIGH
8.1 Aug 05

Privilege escalation in Keycloak's Dynamic Client Registration (DCR) component allows attackers with standard user accou

CVE-2026-18214 HIGH
8.1 Jul 31

Token exchange in Keycloak bypasses Google Workspace domain allowlist restrictions, enabling any valid Google account ho

CVE-2026-11800 HIGH
8.1 Jun 25

Signature-verification bypass in Keycloak (and Red Hat's Keycloak-based products such as Red Hat Single Sign-On 7 and Re

CVE-2026-18215 HIGH
8.1 Jul 31

Tenant-restriction bypass in Keycloak's Microsoft identity provider integration allows attackers holding any valid Micro

CVE-2026-18967 HIGH
8.1 Aug 06

Session hijacking via SAML assertion replay in Keycloak's SAML broker component allows adjacent-network attackers to aut

Vendor StatusVendor

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