The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-2023-0091

CVE-2023-0091: Redhat Keycloak Auth Bypass Vulnerability

CVE-2023-0091 is an authentication bypass flaw in Redhat Keycloak that fails to check client token revocation. Attackers can exploit this to access sensitive data. This article covers technical details, impact, and fixes.

Published: January 28, 2026

CVE-2023-0091 Overview

A flaw was found in Keycloak, where it did not properly check client tokens for possible revocation in its client credential flow. This flaw allows an attacker to access or modify potentially sensitive information. The vulnerability is classified as CWE-863 (Incorrect Authorization), indicating a failure to properly enforce authorization checks when validating client tokens.

Critical Impact

Attackers with high privileges can bypass token revocation mechanisms in Keycloak's client credential flow, potentially accessing or modifying sensitive information even after tokens should have been invalidated.

Affected Products

  • Red Hat Keycloak
  • Red Hat Single Sign-On 7.0

Discovery Timeline

  • 2023-01-13 - CVE-2023-0091 published to NVD
  • 2025-04-09 - Last updated in NVD database

Technical Details for CVE-2023-0091

Vulnerability Analysis

The vulnerability exists in Keycloak's client credential flow implementation. When a client authenticates using the OAuth 2.0 client credentials grant type, Keycloak fails to properly validate whether the issued tokens have been revoked. This authorization bypass allows previously revoked tokens to remain functional, enabling continued access to protected resources.

The client credentials grant is commonly used for machine-to-machine authentication where no user interaction is involved. In this flow, the client directly authenticates with the authorization server using its credentials to obtain an access token. The failure to check token revocation status means that even after an administrator explicitly revokes a client's tokens, those tokens may still be accepted by the system.

Root Cause

The root cause is an incorrect authorization check (CWE-863) in Keycloak's token validation logic for the client credential flow. The system does not properly query the token revocation status when processing requests authenticated via client credentials, creating a gap in the security model where revocation actions are not enforced.

Attack Vector

The attack requires network access and high-level privileges to exploit. An attacker who possesses a valid client credential and has obtained an access token can continue using that token even after it has been administratively revoked. This allows the attacker to:

  1. Maintain unauthorized access to protected resources after token revocation
  2. Potentially access or modify sensitive information that should no longer be accessible
  3. Evade security controls designed to terminate compromised sessions

The vulnerability affects the confidentiality and integrity of information, though availability is not impacted. The attack is network-based with low complexity, requiring no user interaction.

Detection Methods for CVE-2023-0091

Indicators of Compromise

  • Successful API requests using client credentials tokens that have been previously revoked
  • Audit logs showing token usage after administrative revocation events
  • Anomalous access patterns from service accounts after credential rotation
  • Unexpected data access or modifications from machine-to-machine integrations

Detection Strategies

  • Monitor Keycloak audit logs for authentication events involving client credential grants
  • Implement additional application-level token validation checks against the revocation list
  • Review access logs for service accounts that should have been disabled
  • Compare token usage timestamps against revocation timestamps in security audit trails

Monitoring Recommendations

  • Enable verbose logging for all client credential flow authentications
  • Set up alerts for successful authentications following token revocation events
  • Monitor API endpoints for access from potentially compromised service accounts
  • Implement real-time correlation between revocation actions and subsequent access attempts

How to Mitigate CVE-2023-0091

Immediate Actions Required

  • Review the Red Hat CVE-2023-0091 Advisory for patch availability and upgrade instructions
  • Audit all service accounts using client credential flows to identify potentially affected integrations
  • Rotate credentials for any service accounts where token revocation is critical
  • Implement short token lifetimes to reduce the window of exploitation

Patch Information

Red Hat has acknowledged this vulnerability. Organizations should consult the Red Hat CVE-2023-0091 Advisory for detailed patching instructions and updated package versions. Apply the latest security updates for Red Hat Keycloak and Red Hat Single Sign-On 7.0 as they become available.

Workarounds

  • Reduce access token lifetimes to minimize the impact of revocation bypass
  • Implement token introspection at the resource server level to validate tokens against the authorization server
  • Use refresh token rotation to force re-authentication more frequently
  • Consider implementing additional authorization checks at the application layer
bash
# Configuration example - Reduce token lifespan in Keycloak realm settings
# Access Admin Console > Realm Settings > Tokens
# Set shorter values for:
# - Access Token Lifespan: 5 minutes (reduced from default)
# - Client Session Idle: 30 minutes
# - Client Session Max: 1 hour

# Enable token introspection logging
/opt/keycloak/bin/kcadm.sh update events/config \
  -r your-realm \
  -s eventsEnabled=true \
  -s eventsListeners='["jboss-logging"]' \
  -s enabledEventTypes='["CLIENT_LOGIN","TOKEN_EXCHANGE","INTROSPECT_TOKEN"]'

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechRedhat Keycloak

  • SeverityLOW

  • CVSS Score3.8

  • EPSS Probability0.08%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-863
  • Vendor Resources
  • Red Hat CVE-2023-0091 Advisory
  • Related CVEs
  • CVE-2023-0105: Redhat Keycloak Auth Bypass Vulnerability

  • CVE-2023-6927: Redhat Keycloak Auth Bypass Vulnerability

  • CVE-2023-0264: Red Hat Keycloak Auth Bypass Vulnerability

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

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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