CVE-2026-9087: Keycloak: cross-session email verification proof not bound to upstream identity in first-broker-login
A flaw was found in Keycloak. The cross-session verification proof is keyed only by (local userId,
idpAlias) and is not bound to the upstream identity that was actually verified, so a second upstream account on the same IdP can consume it and get linked to the victim's local account.
Security readout for executives and security teams
Plain-English summary
This Keycloak flaw can let one upstream identity-provider account reuse another session’s email-verification proof and link itself to a victim’s local Keycloak account. That could expose or alter the victim’s account data. Exploitation requires a logged-in attacker and user interaction, so urgency is moderate, not emergency-level.
Executive priority
Treat as a scheduled but important identity-platform update. The issue can affect account ownership and sensitive access, but available evidence does not show active exploitation and exploitation conditions are constrained.
Technical view
In first-broker-login, Keycloak stores cross-session verification proof by local userId and idpAlias, but not the verified upstream identity. A second account on the same IdP can consume that proof and link to the victim’s local account. Red Hat rates it medium, CVSS 6.4, CWE-639, with high confidentiality and integrity impact.
Likely exposure
Exposure is most relevant to Red Hat build of Keycloak 26.4 and 26.6 deployments using brokered identity login and account linking. The source bundle lists specific affected Red Hat Keycloak packages and marks 26.4.13 and 26.6.3 package entries as unaffected.
Exploitation context
No source in the bundle states active exploitation, and CISA KEV is false. The CVSS vector indicates network reachability, high attack complexity, low privileges, and required user interaction. Abuse depends on identity-broker and first-login/account-linking flows.
Researcher notes
Key point is missing binding between verification proof and upstream identity. Validate only in authorized test environments by confirming whether cross-session proof consumption is tied to the exact external identity. Avoid assuming impact outside Red Hat build of Keycloak versions listed in the source bundle.
Mitigation direction
Review the Red Hat CVE page and linked RHSAs for official remediation guidance.
Update affected Red Hat build of Keycloak packages to vendor-designated unaffected releases.
Prioritize realms using identity brokering and first-broker-login account linking.
Temporarily review or restrict risky account-linking flows if vendor guidance supports it.
Validation and detection
Inventory Red Hat build of Keycloak versions and package names in production.
Identify realms configured with external identity providers and first-broker-login flows.
Check whether installed packages match affected 26.4 or 26.6 entries.
Confirm remediation against Red Hat advisories RHSA-2026:25097, 25098, 30049, and 30050.
Review account-linking audit logs for unexpected IdP links to local users.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-639: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
5Timeline events
1ADP providers
7Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-639 · source CWE mapping
Authorization Bypass Through User-Controlled Key
Authorization Bypass Through User-Controlled Key represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.