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-2026-0871

CVE-2026-0871: Keycloak Auth Bypass Vulnerability

CVE-2026-0871 is an authentication bypass flaw in Redhat Build Of Keycloak that allows administrators to modify unmanaged user attributes despite access restrictions. This article covers technical details, impact, and mitigation.

Published: March 6, 2026

CVE-2026-0871 Overview

A flaw was found in Keycloak where an administrator with manage-users permission can bypass the "Only administrators can view" setting for unmanaged attributes, allowing them to modify these attributes. This improper access control vulnerability can lead to unauthorized changes to user profiles, even when the system is specifically configured to restrict such modifications.

Critical Impact

Administrators with manage-users permission can bypass attribute visibility restrictions and modify user profile attributes that should be protected, potentially compromising user data integrity and security configurations.

Affected Products

  • Red Hat Build of Keycloak
  • Red Hat Keycloak

Discovery Timeline

  • 2026-02-27 - CVE-2026-0871 published to NVD
  • 2026-03-05 - Last updated in NVD database

Technical Details for CVE-2026-0871

Vulnerability Analysis

This vulnerability represents an improper access control flaw (CWE-266: Incorrect Privilege Assignment) in Keycloak's user attribute management system. The core issue lies in how Keycloak enforces visibility and modification restrictions on unmanaged user attributes.

When administrators configure certain user profile attributes as "Only administrators can view," the expectation is that these attributes are protected from modification. However, administrators with the manage-users permission can circumvent these restrictions and modify attributes that should be read-only according to the system configuration. This breaks the expected security model where view-only restrictions should prevent modifications.

The vulnerability requires high privileges (administrator access with manage-users permission) and network access to exploit, which limits the attack surface to insider threats or compromised administrator accounts.

Root Cause

The root cause is an incorrect privilege assignment in Keycloak's access control logic. The system fails to properly enforce the distinction between "view" permissions and "modify" permissions for unmanaged attributes when processing requests from administrators with manage-users privileges. The access control check validates that the user has administrator rights but does not properly enforce the additional restriction that limits the attribute to view-only access.

Attack Vector

An attacker with administrator-level access and manage-users permission can exploit this vulnerability through the Keycloak administrative interface or API. The attack requires network access to the Keycloak instance and valid administrator credentials.

The exploitation flow involves:

  1. Authenticating to Keycloak with an administrator account that has manage-users permission
  2. Identifying user profiles with unmanaged attributes configured as "Only administrators can view"
  3. Sending modification requests for these protected attributes through the admin API or console
  4. The improper access control allows the modification to succeed despite the view-only configuration

This vulnerability does not require user interaction and can be exploited programmatically, allowing bulk modifications to user attributes across the system.

Detection Methods for CVE-2026-0871

Indicators of Compromise

  • Unexpected modifications to user profile attributes that are configured as view-only for administrators
  • Audit log entries showing attribute changes made to protected unmanaged attributes
  • Changes to user attributes by administrators that should not have modification rights according to policy

Detection Strategies

  • Review Keycloak audit logs for attribute modification events targeting unmanaged attributes with view-only restrictions
  • Implement alerting on user profile changes made to attributes designated as protected or view-only
  • Monitor administrative API calls that modify user attributes, especially those targeting unmanaged attribute fields

Monitoring Recommendations

  • Enable comprehensive audit logging in Keycloak for all user attribute modifications
  • Configure SIEM rules to detect modifications to user attributes that are protected by administrative view-only policies
  • Periodically review user attribute configurations and compare against expected baselines

How to Mitigate CVE-2026-0871

Immediate Actions Required

  • Apply the security patches provided in Red Hat Security Advisories RHSA-2026:2365 and RHSA-2026:2366
  • Review and audit recent changes to user profile attributes, particularly unmanaged attributes with view-only restrictions
  • Implement the principle of least privilege by limiting the number of administrators with manage-users permission
  • Consider temporarily restricting access to user attribute management functionality until patches are applied

Patch Information

Red Hat has released security advisories addressing this vulnerability. Organizations running affected versions of Keycloak should apply the following patches:

  • Red Hat Security Advisory RHSA-2026:2365
  • Red Hat Security Advisory RHSA-2026:2366

For detailed CVE information and technical analysis, refer to the Red Hat CVE Analysis for CVE-2026-0871 and Red Hat Bug Report #2428881.

Workarounds

  • Restrict the manage-users permission to only essential administrators until patches are deployed
  • Implement additional access controls at the network or application gateway level to limit administrative access
  • Move sensitive attributes to managed attribute configurations where access controls may be more robust
  • Enable enhanced logging and monitoring to detect any unauthorized attribute modifications during the interim period
bash
# Review Keycloak realm configuration for unmanaged attributes
# Export realm configuration for audit
/opt/keycloak/bin/kcadm.sh get realms/your-realm -r your-realm > realm-config-backup.json

# List administrators with manage-users permission for audit
/opt/keycloak/bin/kcadm.sh get-roles -r your-realm --cname realm-management | grep manage-users

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

  • SeverityMEDIUM

  • CVSS Score4.9

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-266

  • NVD-CWE-noinfo
  • Vendor Resources
  • Red Hat Security Advisory RHSA-2026:2365

  • Red Hat Security Advisory RHSA-2026:2366

  • Red Hat CVE Analysis CVE-2026-0871

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

  • CVE-2026-4325: Keycloak Auth Bypass Vulnerability

  • CVE-2026-3872: Keycloak Auth Bypass Vulnerability

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