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-7507

CVE-2026-7507: Keycloak Auth Bypass Vulnerability

CVE-2026-7507 is a session fixation authentication bypass flaw in Keycloak that enables account takeover through malicious links. This article covers technical details, affected versions, impact, and mitigation.

Published: May 21, 2026

CVE-2026-7507 Overview

CVE-2026-7507 is a session fixation vulnerability [CWE-290] in Keycloak's login-actions endpoints. An unauthenticated attacker pre-creates an authentication session and lures a victim into clicking a crafted link. The /login-actions/restart endpoint processes session handles without adequate Cross-Site Request Forgery (CSRF) protection or cookie ownership validation. This design flaw lets the attacker reset the authentication flow state and bind the victim's Single Sign-On (SSO) authentication to the attacker-controlled session. The result is hijacking of the required-action form and full account takeover, including administrative accounts.

Critical Impact

Successful exploitation enables complete account takeover of Keycloak users, including highly privileged administrators, without requiring the victim's credentials.

Affected Products

  • Red Hat Build of Keycloak (see RHSA-2026:19594)
  • Red Hat Single Sign-On / Keycloak distributions (see RHSA-2026:19595, RHSA-2026:19596)
  • Red Hat Keycloak container images (see RHSA-2026:19597)

Discovery Timeline

  • 2026-05-19 - CVE-2026-7507 published to NVD
  • 2026-05-20 - Last updated in NVD database

Technical Details for CVE-2026-7507

Vulnerability Analysis

The vulnerability resides in Keycloak's authentication flow handling at the /login-actions/restart endpoint. This endpoint accepts a session handle and resets the authentication flow state without validating that the requester owns the underlying cookie or supplying a valid anti-CSRF token. An attacker first initiates a legitimate authentication session against the Keycloak server and captures the corresponding session identifier. The attacker then embeds that identifier into a crafted URL pointing at /login-actions/restart and delivers it to a target user. When the victim follows the link while holding a valid SSO session, Keycloak silently authenticates the victim into the attacker-pre-created flow. The attacker, holding the original session handle, can then advance the flow through any pending required-action forms.

Root Cause

The root cause is improper authentication binding [CWE-290]. Keycloak treats the inbound session handle as authoritative without verifying that the browser presenting the request owns the associated authentication session cookie. The endpoint also omits CSRF token enforcement, so cross-origin invocations succeed. These two omissions allow an attacker's session state to be merged with the victim's authenticated browser context.

Attack Vector

Exploitation requires network access to the Keycloak realm and user interaction. The attack chain proceeds in four stages. First, the attacker calls Keycloak to instantiate an authentication session and records the session handle. Second, the attacker constructs a URL targeting /login-actions/restart containing that handle. Third, the attacker delivers the link through phishing, chat, or a malicious page. Fourth, the victim's existing SSO cookie causes transparent authentication into the attacker-controlled flow, after which the attacker submits required-action forms to complete takeover. High attack complexity reflects the timing and pre-staging required, but no credentials are needed from the victim.

No public proof-of-concept code is available. Refer to the Red Hat CVE Analysis CVE-2026-7507 and Red Hat Bug Report #2464145 for vendor technical details.

Detection Methods for CVE-2026-7507

Indicators of Compromise

  • Repeated requests to /login-actions/restart from IP addresses that did not previously initiate an /auth request for the same session handle.
  • Authentication events where the Referer or Origin header does not match the Keycloak realm's expected client origins.
  • Required-action completions (password reset, OTP enrollment, consent) executed from a different IP or User-Agent than the preceding login.
  • Sudden privilege changes or new credential enrollment on administrative Keycloak accounts following an external link click.

Detection Strategies

  • Correlate Keycloak event logs to flag mismatches between the IP that created an authentication session and the IP that completed restart or required-action steps.
  • Alert on /login-actions/restart requests lacking a same-site Referer header or arriving cross-origin.
  • Monitor for high-frequency creation of authentication sessions from single IPs that never complete authentication, indicating session pre-staging.

Monitoring Recommendations

  • Forward Keycloak EVENT and ADMIN_EVENT streams to a SIEM and retain session-handle, client-IP, and user-agent fields.
  • Track authentication flow restart frequency per realm and baseline normal rates to detect anomalies.
  • Audit administrative account logins for unexpected required-action prompts or session resumes.

How to Mitigate CVE-2026-7507

Immediate Actions Required

  • Apply the Red Hat updates referenced in RHSA-2026:19594, RHSA-2026:19595, RHSA-2026:19596, and RHSA-2026:19597 to all Keycloak and Red Hat build of Keycloak instances.
  • Invalidate all active authentication sessions after patching to evict any attacker-pre-staged handles.
  • Force re-authentication for privileged and administrative accounts and rotate their credentials.
  • Review Keycloak event logs for the last 90 days for the indicators listed above.

Patch Information

Red Hat has released fixes through the following advisories: RHSA-2026:19594, RHSA-2026:19595, RHSA-2026:19596, and RHSA-2026:19597. The patched builds enforce cookie ownership validation and CSRF protection on the /login-actions/restart endpoint. Consult the Red Hat CVE Analysis CVE-2026-7507 for the specific package versions for each Keycloak distribution.

Workarounds

  • Place Keycloak behind a reverse proxy that strips or validates cross-origin requests to /login-actions/* paths.
  • Configure a Web Application Firewall (WAF) rule to block requests to /login-actions/restart that lack a same-origin Referer header.
  • Reduce SSO session lifetimes and required-action token lifespans in realm settings to shorten the exploitation window.
  • Require step-up authentication for administrative actions so a hijacked session cannot complete privileged operations without additional verification.
bash
# Example NGINX rule blocking cross-origin requests to login-actions/restart
location ~* ^/realms/.+/login-actions/restart {
    if ($http_referer !~* "^https://keycloak\.example\.com/") {
        return 403;
    }
    proxy_pass http://keycloak_backend;
}

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

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-290
  • Technical References
  • Red Hat Security Advisory RHSA-2026:19594

  • Red Hat Security Advisory RHSA-2026:19595

  • Red Hat Security Advisory RHSA-2026:19596

  • Red Hat Security Advisory RHSA-2026:19597

  • Red Hat CVE Analysis CVE-2026-7507

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

  • CVE-2026-7571: 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