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

CVE-2026-7307: Keycloak SAML Endpoint DoS Vulnerability

CVE-2026-7307 is a denial of service vulnerability in Keycloak's SAML endpoint that allows remote attackers to cause CPU exhaustion and thread starvation. This article covers the technical details, affected versions, and mitigation.

Published: May 21, 2026

CVE-2026-7307 Overview

A denial of service flaw exists in Keycloak, the open source identity and access management solution. A remote, unauthenticated attacker can send specially crafted Extensible Markup Language (XML) input to the Security Assertion Markup Language (SAML) endpoint. The malicious payload triggers high CPU consumption and exhausts worker threads, rendering the Keycloak server unavailable to legitimate users.

The vulnerability is tracked as [CWE-1286] (Improper Validation of Syntactic Correctness of Input) and impacts authentication services that rely on Keycloak for single sign-on.

Critical Impact

Unauthenticated remote attackers can disrupt identity and access management services, breaking single sign-on (SSO) federation for all downstream applications relying on the affected Keycloak instance.

Affected Products

  • Red Hat Build of Keycloak (see Red Hat Security Advisory RHSA-2026:19594)
  • Red Hat Single Sign-On / Keycloak distributions covered by RHSA-2026:19595, RHSA-2026:19596, and RHSA-2026:19597
  • Upstream Keycloak deployments exposing SAML endpoints

Discovery Timeline

  • 2026-05-19 - CVE-2026-7307 published to the National Vulnerability Database (NVD)
  • 2026-05-20 - Last updated in the NVD database

Technical Details for CVE-2026-7307

Vulnerability Analysis

The flaw resides in how Keycloak parses inbound SAML protocol messages. SAML relies on XML-based assertions exchanged between identity providers and service providers. When Keycloak receives a malformed or pathologically structured XML document at its SAML endpoint, the parser enters an expensive processing path. CPU utilization spikes and worker threads remain blocked while attempting to process the input.

Because the application server has a finite worker thread pool, repeated requests rapidly consume all available threads. Once exhausted, the server cannot accept new requests, including legitimate authentication flows. Any application federated through the affected Keycloak instance loses access to its identity provider.

Root Cause

The root cause is improper validation of syntactic correctness of input [CWE-1286] in the SAML message processing pipeline. The XML parser does not enforce sufficient structural or resource boundaries on incoming documents before committing computational resources to parsing them.

Attack Vector

Exploitation requires only network reachability to the Keycloak SAML endpoint. The attacker does not need credentials or user interaction. An attacker crafts an XML document designed to trigger expensive parsing operations and submits it through standard HTTP POST requests to the SAML binding endpoint. Repeating the request from one or more sources amplifies thread starvation.

No verified public proof-of-concept code is currently available. Refer to the Red Hat CVE-2026-7307 Details and Red Hat Bug Report #2476526 for vendor analysis.

Detection Methods for CVE-2026-7307

Indicators of Compromise

  • Sustained CPU saturation on Keycloak server processes with no corresponding increase in legitimate authentication volume
  • Worker thread pool exhaustion warnings in Keycloak or underlying WildFly/Quarkus runtime logs
  • HTTP 503 or connection timeout responses returned by the SAML endpoint to legitimate identity federation traffic
  • Repeated POST requests to SAML binding URIs (/realms/{realm}/protocol/saml) from a small set of source addresses

Detection Strategies

  • Inspect web application firewall (WAF) and reverse proxy logs for anomalous request rates targeting SAML endpoints
  • Monitor XML payload size distribution and parsing latency metrics emitted by Keycloak
  • Correlate authentication failure spikes with thread pool and CPU telemetry to distinguish DoS from credential attacks

Monitoring Recommendations

  • Alert on Keycloak JVM CPU utilization sustained above baseline for more than several minutes
  • Track worker thread pool saturation and request queue depth as first-class SLO metrics
  • Forward Keycloak access logs and runtime metrics to a centralized SIEM for correlation with network-layer telemetry

How to Mitigate CVE-2026-7307

Immediate Actions Required

  • Apply the Red Hat security updates referenced in RHSA-2026:19594, RHSA-2026:19595, RHSA-2026:19596, and RHSA-2026:19597 as soon as maintenance windows permit
  • Restrict network exposure of SAML endpoints to known identity federation partners using firewall or reverse proxy ACLs
  • Place rate limiting in front of /realms/*/protocol/saml paths to blunt request floods

Patch Information

Red Hat has shipped fixed Keycloak packages through advisories RHSA-2026:19594, RHSA-2026:19595, RHSA-2026:19596, and RHSA-2026:19597. Administrators running upstream Keycloak should upgrade to the corresponding fixed release as documented in the Red Hat CVE-2026-7307 Details page.

Workarounds

  • Enforce request size limits on the reverse proxy fronting Keycloak to reject oversized XML payloads before they reach the application
  • Configure per-source rate limits and connection caps for SAML binding URLs
  • Disable SAML protocol support on realms that exclusively use OpenID Connect until patches are applied
bash
# Example NGINX configuration to rate limit and size limit SAML traffic
limit_req_zone $binary_remote_addr zone=saml_rl:10m rate=10r/s;

server {
    listen 443 ssl;
    server_name sso.example.com;

    client_max_body_size 256k;

    location ~ ^/realms/.+/protocol/saml {
        limit_req zone=saml_rl burst=20 nodelay;
        proxy_pass http://keycloak_upstream;
        proxy_read_timeout 15s;
    }
}

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechKeycloak

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.14%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-1286
  • 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-2026-7307 Details

  • Red Hat Bug Report #2476526
  • Related CVEs
  • CVE-2025-11419: Keycloak TLS DoS Vulnerability

  • CVE-2026-4634: Keycloak Denial of Service Vulnerability

  • CVE-2026-2575: Keycloak SAML DoS Vulnerability

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