A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-9087

CVE-2026-9087: Keycloak Auth Bypass Vulnerability

CVE-2026-9087 is an authentication bypass flaw in Keycloak that allows attackers to link unauthorized accounts through improper cross-session verification. This article covers technical details, affected versions, and mitigation.

Published: May 21, 2026

CVE-2026-9087 Overview

CVE-2026-9087 is an authorization flaw in Keycloak's identity provider (IdP) account linking workflow. The cross-session verification proof is keyed only by the tuple of local userId and idpAlias. The proof is not bound to the upstream identity that was actually verified. As a result, a second upstream account on the same IdP can consume the proof and become linked to the victim's local Keycloak account. This weakness maps to CWE-639: Authorization Bypass Through User-Controlled Key. The flaw affects account federation flows where users link external IdP accounts to existing Keycloak identities.

Critical Impact

An attacker controlling a second account on the same upstream IdP can hijack the linking proof and attach their account to a victim's Keycloak identity, enabling persistent unauthorized access.

Affected Products

  • Keycloak identity and access management server
  • Red Hat build of Keycloak distributions
  • Downstream products embedding the affected Keycloak account-linking code paths

Discovery Timeline

  • 2026-05-20 - CVE-2026-9087 published to the National Vulnerability Database
  • 2026-05-20 - Last updated in NVD database

Technical Details for CVE-2026-9087

Vulnerability Analysis

Keycloak supports linking an upstream IdP account to a local Keycloak user through a flow that issues a cross-session verification proof. This proof confirms that the user completed an out-of-band verification with the upstream IdP before the link is committed. The vulnerability stems from how the proof is keyed. Keycloak indexes the proof using only (localUserId, idpAlias). It does not include the verified upstream subject identifier in the key or signature payload. An attacker who controls any other account on the same upstream IdP can therefore present the proof during the link step. Keycloak accepts the proof because both localUserId and idpAlias match the original verification, even though the upstream subject differs. The result is an unauthorized federation link between the attacker's upstream account and the victim's local Keycloak user.

Root Cause

The root cause is missing identity binding in the verification proof. The proof should incorporate the verified upstream subject identifier, such as the OpenID Connect sub claim or SAML NameID, in its lookup key or signed payload. Because that binding is absent, the proof is reusable across any upstream identity on the same IdP alias.

Attack Vector

Exploitation requires network access to the Keycloak account console, low privileges on a Keycloak account, and user interaction to trigger the linking ceremony. The attacker first observes or induces a victim to initiate IdP linking. The attacker then registers or uses a separate account on the same upstream IdP. When the attacker completes the link step, Keycloak retrieves the proof by (localUserId, idpAlias) and binds the attacker's upstream account to the victim's local user. The attacker can subsequently authenticate to the victim's Keycloak identity through the linked federation. Refer to the Red Hat CVE-2026-9087 Advisory and the Red Hat Bug Report #2480172 for vendor technical details.

Detection Methods for CVE-2026-9087

Indicators of Compromise

  • Audit events of type FEDERATED_IDENTITY_LINK or IDENTITY_PROVIDER_LINK_ACCOUNT where the upstream subject identifier does not match prior successful authentications for the same local user.
  • Multiple federated identity link events for the same local userId and idpAlias within a short window.
  • Successful logins to a local account from an upstream subject that was never authorized by the legitimate user.

Detection Strategies

  • Correlate Keycloak admin event logs with upstream IdP authentication logs to verify that the upstream sub value used during linking matches the value authenticated in the initiating session.
  • Alert when a federated link is created and the upstream subject differs from the subject seen during the preceding verification step.
  • Hunt for accounts that gained new federated identities outside of standard onboarding workflows.

Monitoring Recommendations

  • Forward Keycloak admin and login events to a centralized log platform with retention sufficient for incident response.
  • Track per-user counts of linked federated identities and alert on unexpected increases.
  • Monitor IdP-side audit logs for accounts that complete linking ceremonies for users they have no business association with.

How to Mitigate CVE-2026-9087

Immediate Actions Required

  • Apply the Keycloak security update referenced in the Red Hat CVE-2026-9087 Advisory as soon as it is available for your distribution.
  • Audit existing federated identity links and remove any that cannot be attributed to a legitimate linking event.
  • Require re-authentication and administrative review before any new IdP account links take effect in sensitive realms.

Patch Information

Consult the Red Hat CVE-2026-9087 Advisory and Red Hat Bug Report #2480172 for fixed component versions, errata identifiers, and upgrade instructions specific to your Keycloak or Red Hat build of Keycloak deployment.

Workarounds

  • Disable self-service IdP account linking in the account console until patched, and route all linking through administrator-mediated workflows.
  • Restrict identity provider aliases to IdPs that enforce strong account ownership verification and disallow easy creation of secondary accounts.
  • Enforce step-up authentication and short session lifetimes for any flow that creates or modifies federated identity links.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechKeycloak

  • SeverityMEDIUM

  • CVSS Score6.4

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityHigh
  • AvailabilityNone
  • CWE References
  • CWE-639
  • Technical References
  • Red Hat CVE-2026-9087 Advisory

  • Red Hat Bug Report #2480172
  • Related CVEs
  • CVE-2026-7571: Keycloak Auth Bypass Vulnerability

  • CVE-2026-7507: Keycloak Auth Bypass Vulnerability

  • CVE-2026-7504: Keycloak Auth Bypass Vulnerability

  • CVE-2026-4630: Keycloak Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English