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

CVE-2023-6927: Redhat Keycloak Auth Bypass Vulnerability

CVE-2023-6927 is an authentication bypass flaw in Redhat Keycloak that allows attackers to steal authorization codes or tokens via wildcard exploitation in JARM response mode. This article covers technical details, impact, and mitigation.

Published: February 4, 2026

CVE-2023-6927 Overview

A security vulnerability has been identified in Red Hat Keycloak, an open-source identity and access management solution. This flaw allows attackers to steal authorization codes or tokens from OAuth/OIDC clients by exploiting a wildcard handling issue in the JARM (JWT Secured Authorization Response Mode) response mode form_post.jwt. This vulnerability effectively bypasses security measures that were implemented to address CVE-2023-6134, representing a security patch regression.

Critical Impact

Attackers can steal authorization codes and access tokens from legitimate clients, potentially leading to account takeover and unauthorized access to protected resources.

Affected Products

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

Discovery Timeline

  • December 18, 2023 - CVE-2023-6927 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2023-6927

Vulnerability Analysis

This vulnerability is classified as an Open Redirect (CWE-601) issue within Keycloak's OAuth 2.0/OpenID Connect implementation. The flaw specifically affects the handling of redirect URIs when the JARM response mode form_post.jwt is used in combination with wildcard-based redirect URI configurations.

When OAuth/OIDC clients are configured with wildcard redirect URIs, an attacker can craft malicious authorization requests that redirect tokens and authorization codes to attacker-controlled endpoints. This issue is particularly concerning because it represents a bypass of previous security controls implemented for CVE-2023-6134, indicating that the original fix did not adequately address all attack vectors related to redirect URI validation.

The vulnerability requires user interaction, as victims must be tricked into clicking a malicious authorization link. However, given that these links often appear legitimate (originating from the trusted Keycloak domain), social engineering attacks become more feasible.

Root Cause

The root cause lies in insufficient validation of redirect URIs when wildcard patterns are used in client configurations combined with the form_post.jwt response mode. The JARM specification extends OAuth 2.0 authorization responses by encoding them as JWTs, and the form_post.jwt mode specifically delivers these responses via HTTP POST to the redirect URI.

The vulnerability occurs because the redirect URI validation logic fails to properly restrict wildcard matching when processing JARM-based responses, allowing attackers to specify arbitrary redirect destinations that match the wildcard pattern but point to malicious servers.

Attack Vector

The attack exploits the network-accessible OAuth/OIDC authorization endpoint. An attacker can construct a specially crafted authorization URL that:

  1. Targets a client configured with wildcard redirect URIs
  2. Specifies response_mode=form_post.jwt to trigger JARM processing
  3. Includes a redirect URI that matches the wildcard pattern but points to an attacker-controlled server
  4. When a victim clicks this link and authenticates, their authorization code or tokens are sent to the attacker's server via the form POST mechanism

The attacker can then use the stolen authorization code or tokens to impersonate the victim and access protected resources. This attack is particularly effective because the malicious redirect URI technically matches the configured wildcard pattern, bypassing standard validation checks.

Detection Methods for CVE-2023-6927

Indicators of Compromise

  • Unusual authorization requests with response_mode=form_post.jwt targeting clients with wildcard redirect URI configurations
  • Authorization code exchange attempts from unexpected IP addresses or geographic locations
  • Multiple failed or successful token exchanges for the same authorization code
  • Suspicious redirect URI patterns that match wildcards but point to external or unexpected domains

Detection Strategies

  • Monitor Keycloak audit logs for authorization requests using JARM response modes, particularly form_post.jwt
  • Implement alerting for redirect URIs that match wildcard patterns but resolve to external or suspicious domains
  • Review client configurations to identify those using wildcard redirect URIs combined with JARM support
  • Analyze network traffic for authorization responses being sent to unexpected destinations

Monitoring Recommendations

  • Enable comprehensive audit logging in Keycloak for all OAuth/OIDC authorization flows
  • Configure SIEM rules to detect anomalous patterns in authorization code and token exchange activities
  • Monitor for rapid sequential authorization requests that may indicate an active exploitation attempt
  • Review access logs for the presence of unusual response_mode parameter values

How to Mitigate CVE-2023-6927

Immediate Actions Required

  • Apply the latest security patches from Red Hat for Keycloak and Single Sign-On immediately
  • Review all OAuth/OIDC client configurations and remove or restrict wildcard redirect URI patterns where possible
  • Consider disabling JARM response modes (form_post.jwt) for clients that do not require this functionality
  • Audit recent authorization activity for signs of exploitation

Patch Information

Red Hat has released multiple security advisories addressing this vulnerability:

  • Red Hat Security Advisory RHSA-2024:0094
  • Red Hat Security Advisory RHSA-2024:0095
  • Red Hat Security Advisory RHSA-2024:0096
  • Red Hat Security Advisory RHSA-2024:0097
  • Red Hat Security Advisory RHSA-2024:0098
  • Red Hat Security Advisory RHSA-2024:0100
  • Red Hat Security Advisory RHSA-2024:0101

For additional details, refer to the Red Hat CVE Analysis for CVE-2023-6927 and Red Hat Bug Report #2255027.

Workarounds

  • Replace wildcard redirect URI configurations with explicit, fully-qualified redirect URIs for each client
  • Disable JARM response modes at the realm or client level if not required for your authentication flows
  • Implement additional network-level controls to restrict authorization response destinations to known, trusted URIs
  • Consider implementing Content Security Policy headers to limit form POST targets

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

  • SeverityMEDIUM

  • CVSS Score6.1

  • EPSS Probability0.32%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-601
  • Technical References
  • Red Hat Security Advisory RHSA-2024:0094

  • Red Hat Security Advisory RHSA-2024:0095

  • Red Hat Security Advisory RHSA-2024:0096

  • Red Hat Security Advisory RHSA-2024:0097

  • Red Hat Security Advisory RHSA-2024:0098

  • Red Hat Security Advisory RHSA-2024:0100

  • Red Hat Security Advisory RHSA-2024:0101

  • Red Hat Security Advisory RHSA-2024:0798

  • Red Hat Security Advisory RHSA-2024:0799

  • Red Hat Security Advisory RHSA-2024:0800

  • Red Hat Security Advisory RHSA-2024:0801

  • Red Hat Security Advisory RHSA-2024:0804
  • Vendor Resources
  • Red Hat CVE Analysis CVE-2023-6927

  • Red Hat Bug Report #2255027
  • Related CVEs
  • CVE-2023-0091: Redhat Keycloak Auth Bypass Vulnerability

  • CVE-2023-0105: 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