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-2024-3656

CVE-2024-3656: Keycloak Auth Bypass Vulnerability

CVE-2024-3656 is an authentication bypass flaw in Keycloak that allows low-privilege users to access admin REST API endpoints and perform administrative actions. This article covers technical details, affected versions, impact, and mitigation.

Updated: January 22, 2026

CVE-2024-3656 Overview

A significant authorization bypass vulnerability has been identified in Keycloak, the popular open-source identity and access management solution. This flaw allows low-privilege users to access administrative functionalities through certain endpoints in Keycloak's admin REST API, enabling them to perform actions that should be reserved exclusively for administrators. The vulnerability could lead to data breaches, unauthorized configuration changes, or complete system compromise in affected deployments.

Critical Impact

Low-privilege users can escalate to administrative privileges via the Keycloak admin REST API, potentially compromising entire identity management infrastructure and all connected applications.

Affected Products

  • Keycloak (versions prior to patched releases)
  • Red Hat Single Sign-On (based on Keycloak)
  • Red Hat Build of Keycloak

Discovery Timeline

  • October 9, 2024 - CVE-2024-3656 published to NVD
  • December 23, 2024 - Last updated in NVD database

Technical Details for CVE-2024-3656

Vulnerability Analysis

This vulnerability represents a broken access control flaw (CWE-200) within Keycloak's administrative REST API. The core issue stems from insufficient authorization checks on certain API endpoints, allowing authenticated users with minimal privileges to invoke administrative functions. This privilege escalation vulnerability enables attackers with any valid user account to potentially gain full administrative control over the Keycloak instance.

The attack requires network access and a valid low-privilege user account, but once these prerequisites are met, the exploitation path is straightforward. The vulnerability impacts both confidentiality and integrity of the system, as attackers can access sensitive user data, modify realm configurations, create new administrative accounts, and potentially extract credentials or tokens for connected applications.

Root Cause

The root cause of CVE-2024-3656 lies in improper access control implementation within Keycloak's admin REST API layer. Certain administrative endpoints fail to properly validate the privilege level of the requesting user before executing sensitive operations. This means that while the endpoints require authentication, they do not enforce the necessary authorization checks to verify that the authenticated user has administrative permissions.

Attack Vector

The attack is conducted over the network against exposed Keycloak admin API endpoints. An attacker with low-privilege credentials (such as a standard user account) can craft API requests to administrative endpoints that lack proper authorization validation. These requests are processed as if they came from an administrator, allowing the attacker to:

  • Enumerate and access user data across realms
  • Modify security policies and authentication flows
  • Create, modify, or delete user accounts including administrators
  • Access and modify client configurations and secrets
  • Potentially pivot to connected applications using extracted credentials

The exploitation does not require user interaction, making this vulnerability particularly dangerous in multi-tenant environments or systems exposed to untrusted users.

Detection Methods for CVE-2024-3656

Indicators of Compromise

  • Unusual API calls to Keycloak admin endpoints (/admin/realms/*) from non-administrative user sessions
  • Low-privilege users accessing administrative functions in Keycloak audit logs
  • Unexpected changes to realm configurations, user accounts, or client settings
  • New administrative user accounts created without proper authorization workflows
  • Anomalous access patterns to sensitive endpoints during non-business hours

Detection Strategies

  • Implement comprehensive audit logging for all Keycloak admin API endpoints and correlate with user privilege levels
  • Deploy API gateway or web application firewall rules to monitor and alert on administrative endpoint access patterns
  • Configure SIEM rules to detect privilege escalation attempts by correlating user roles with accessed API endpoints
  • Enable detailed Keycloak event logging and monitor for administrative events from non-admin users

Monitoring Recommendations

  • Monitor Keycloak access logs for requests to /admin/realms/ endpoints and validate requesting user permissions
  • Set up alerting for bulk user data access or configuration changes from accounts without administrative roles
  • Implement real-time monitoring of authentication and authorization events within Keycloak's event subsystem
  • Review Keycloak user sessions periodically for anomalous administrative activity

How to Mitigate CVE-2024-3656

Immediate Actions Required

  • Update Keycloak to the latest patched version immediately to address this authorization bypass vulnerability
  • Audit existing user accounts and verify no unauthorized privilege escalation has occurred
  • Review Keycloak audit logs for evidence of exploitation or suspicious administrative API access
  • Implement network segmentation to restrict admin API access to trusted networks or VPN connections only
  • Rotate any potentially compromised credentials, tokens, or client secrets

Patch Information

Red Hat has released security advisories addressing this vulnerability. Organizations running Keycloak or Red Hat Single Sign-On should apply the patches immediately:

  • Red Hat Security Advisory RHSA-2024:3572 - Contains fixes for affected Red Hat products
  • Red Hat Security Advisory RHSA-2024:3575 - Additional security updates

For detailed vulnerability information, refer to the Red Hat CVE Analysis and the GitHub Security Advisory GHSA-2cww-fgmg-4jqc.

Workarounds

  • Restrict access to the Keycloak admin console and API endpoints using network-level controls (firewalls, reverse proxy ACLs)
  • Implement additional authentication requirements (MFA, certificate-based auth) for administrative access
  • Deploy a web application firewall (WAF) with rules to detect and block unauthorized admin API access patterns
  • Minimize the number of users with any level of access to Keycloak realms until patches can be applied
bash
# Example: Restrict admin API access via reverse proxy (nginx)
# Add to nginx configuration for Keycloak proxy
location /admin/ {
    # Allow only from trusted admin networks
    allow 10.0.0.0/8;
    allow 192.168.1.0/24;
    deny all;
    
    proxy_pass http://keycloak-backend:8080;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
}

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 Score8.1

  • EPSS Probability89.86%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-200
  • Technical References
  • Red Hat Security Advisory RHSA-2024:3572

  • Red Hat Security Advisory RHSA-2024:3575

  • Red Hat CVE Analysis CVE-2024-3656

  • Red Hat Bugzilla Report #2274403

  • GitHub Security Advisory GHSA-2cww-fgmg-4jqc

  • GitHub Vulnerability Report HNS-2024-08-Keycloak

  • Hacker News Discussion Item #42136000

  • Humanita Spa Keycloak Analysis
  • Related CVEs
  • CVE-2026-9802: Keycloak Auth Bypass Vulnerability

  • CVE-2026-9798: Keycloak Auth Bypass Vulnerability

  • CVE-2026-9793: Keycloak Auth Bypass Vulnerability

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