Skip to main content

Keycloak CVE-2026-9087

| EUVDEUVD-2026-31134 HIGH
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-05-20 redhat GHSA-m6qj-3mpp-57v8
8.1
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
8.1 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
vuln.today AI
6.8 MEDIUM

Network-reachable linking flow with no Keycloak credentials needed (PR:N) but requiring victim interaction (UI:R) and control of a separate upstream IdP account plus knowledge of the target userId/idpAlias (AC:H); full account takeover yields C:H/I:H, no availability impact.

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

Primary rating from NVD.

CVSS VectorNVD

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

6
Analysis Updated
Jun 10, 2026 - 22:36 vuln.today
v3 (cvss_changed)
Analysis Updated
Jun 10, 2026 - 22:35 vuln.today
v2 (cvss_changed)
Re-analysis Queued
Jun 10, 2026 - 22:22 vuln.today
cvss_changed
Severity Changed
Jun 10, 2026 - 22:22 NVD
MEDIUM HIGH
CVSS changed
Jun 10, 2026 - 22:22 NVD
6.4 (MEDIUM) 8.1 (HIGH)
Analysis Generated
May 20, 2026 - 17:31 vuln.today

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 70 maven packages depend on org.keycloak:keycloak-services (36 direct, 34 indirect)

Ecosystem-wide dependent count for version 26.6.3.

DescriptionNVD

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.

AnalysisAI

Identity linking bypass in Red Hat build of Keycloak allows an attacker controlling a second account on the same upstream Identity Provider to hijack a victim's local account through the cross-session account-linking flow. The cross-session verification proof is keyed only by the tuple of local userId and idpAlias without binding to the specific upstream identity that was actually verified, so the proof can be replayed against a different upstream account on the same IdP. EPSS is currently 0.03% (8th percentile) and no public exploit identified at time of analysis, but technical impact is rated total by CISA SSVC.

Technical ContextAI

Keycloak is Red Hat's open-source identity and access management server providing federation, SSO, and social login via upstream Identity Providers (IdPs) such as SAML and OIDC brokers. When a user links a local Keycloak account to an external IdP account, Keycloak generates a cross-session verification proof to confirm the linkage across the two browser sessions involved in the flow. The root cause maps to CWE-639 (Authorization Bypass Through User-Controlled Key): the proof's key is constructed from only the local userId and the idpAlias (the IdP configuration name), rather than also binding the specific upstream subject identifier that was just verified. Because the upstream identity is not part of the key, any account on the same configured IdP satisfies the proof's authorization check, breaking the integrity of the linking step. Affected product per CPE is cpe:2.3:a:red_hat:red_hat_build_of_keycloak.

RemediationAI

Patch available per vendor advisory: apply the Red Hat errata RHSA-2026:25097 (https://access.redhat.com/errata/RHSA-2026:25097) and RHSA-2026:25098 (https://access.redhat.com/errata/RHSA-2026:25098) for the Red Hat build of Keycloak, using the exact fixed package versions listed in those advisories (not independently confirmed from the provided input). Until patching is complete, reduce exposure by disabling self-service account linking in affected realms (Realm Settings → user-profile / account-linking) so that linking must be initiated through an administrative flow - note this breaks end-user self-service for federated identities. Where account linking must remain enabled, restrict the set of brokered IdPs to those where attacker-controlled second accounts are hard to obtain (e.g., internal enterprise IdPs only, not public social providers); audit existing federated identity links via the Keycloak admin API or database to detect already-linked unexpected upstream subjects per local user, and review session/audit logs for IDENTITY_PROVIDER_LINK_ACCOUNT events around the disclosure window. The Red Hat security page at https://access.redhat.com/security/cve/CVE-2026-9087 should be treated as the authoritative remediation reference.

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-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-7504 HIGH
8.1 May 19

Open redirect in Red Hat build of Keycloak permits remote attackers to send victims to attacker-controlled hosts by abus

CVE-2026-4636 HIGH
8.1 Apr 02

Authenticated users with uma_protection role in Red Hat Keycloak can bypass User-Managed Access policy validation to gai

CVE-2026-9099 HIGH
7.7 Jun 25

Privilege escalation in Keycloak (Red Hat Build of Keycloak) lets an authenticated delegated admin with management right

CVE-2026-7307 HIGH
7.5 May 19

Denial of service in Red Hat build of Keycloak allows remote unauthenticated attackers to exhaust CPU and worker threads

CVE-2026-4634 HIGH
7.5 Apr 02

Denial of Service in Red Hat Build of Keycloak allows unauthenticated remote attackers to exhaust server resources by su

CVE-2026-7507 HIGH
7.5 May 19

Session fixation in Keycloak's login-actions endpoints allows remote attackers to hijack authenticated sessions and take

CVE-2026-4282 HIGH
7.4 Apr 02

Authorization code forgery in Red Hat Keycloak enables unauthenticated attackers to escalate privileges to admin-level a

CVE-2026-9086 HIGH
7.3 Jun 25

Stored Cross-Site Scripting in Red Hat Build of Keycloak lets an authenticated administrator with `manage-client` permis

CVE-2026-3872 HIGH
7.3 Apr 02

Open redirect in Red Hat Build of Keycloak allows authenticated attackers with control over another path on the same web

CVE-2026-9795 HIGH
7.3 May 28

Privilege escalation in Keycloak's Fine-Grained Admin Permissions v2 (FGAPv2) allows an administrator with only limited

Vendor StatusVendor

Share

CVE-2026-9087 vulnerability details – vuln.today

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