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
    • 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-2025-13881

CVE-2025-13881: Keycloak Auth Bypass Vulnerability

CVE-2025-13881 is an authentication bypass flaw in Keycloak Admin API that lets limited-privilege admins access sensitive custom attributes. This article covers the technical details, affected versions, and mitigation.

Published: February 6, 2026

CVE-2025-13881 Overview

A security flaw has been identified in the Keycloak Admin API that enables administrators with limited privileges to access sensitive custom user attributes through the /unmanagedAttributes endpoint. This vulnerability allows bypassing the User Profile visibility settings that are designed to restrict access to sensitive information, representing an Incorrect Privilege Assignment weakness (CWE-266).

Critical Impact

Privileged administrators can bypass User Profile visibility controls to retrieve sensitive custom attributes, potentially exposing confidential user data that should be protected by access controls.

Affected Products

  • Keycloak (specific versions not disclosed in advisory)
  • Red Hat Single Sign-On (SSO) deployments using Keycloak
  • Identity and Access Management systems built on Keycloak

Discovery Timeline

  • 2026-02-02 - CVE-2025-13881 published to NVD
  • 2026-02-03 - Last updated in NVD database

Technical Details for CVE-2025-13881

Vulnerability Analysis

This vulnerability represents an Incorrect Privilege Assignment flaw within Keycloak's Admin API. The issue arises when administrators with restricted privileges access the /unmanagedAttributes endpoint, which fails to properly enforce the User Profile visibility settings configured for custom attributes.

In Keycloak, administrators can define custom user attributes and configure visibility settings through User Profiles to control which attributes should be accessible to different administrative roles. However, the /unmanagedAttributes endpoint does not properly validate these visibility constraints, allowing lower-privileged administrators to retrieve attribute data that should be hidden from their view.

The attack is network-accessible and requires high privileges (administrator-level access), though the attacker need not have full administrative rights. The successful exploitation results in confidentiality impact where sensitive custom attribute values can be disclosed to unauthorized administrative users.

Root Cause

The root cause lies in the Keycloak Admin API's failure to apply User Profile visibility settings when processing requests to the /unmanagedAttributes endpoint. While the main user attribute retrieval endpoints respect these visibility controls, the unmanaged attributes endpoint bypasses this authorization check, creating an inconsistent security enforcement across the API surface.

Attack Vector

The vulnerability is exploited over the network by an authenticated administrator with limited privileges. The attacker must:

  1. Obtain valid administrator credentials with restricted permissions in a Keycloak realm
  2. Send API requests to the /unmanagedAttributes endpoint targeting user resources
  3. Retrieve custom attribute values that should be restricted based on User Profile visibility settings

The attack does not require user interaction and has low complexity once administrative access is obtained. However, the scope is unchanged, meaning the vulnerability only affects the Keycloak system itself and does not propagate to other components.

For technical details on the vulnerability mechanism, refer to the Red Hat CVE Advisory and Red Hat Bug Report #2418330.

Detection Methods for CVE-2025-13881

Indicators of Compromise

  • Unusual API requests to /unmanagedAttributes endpoints from administrator accounts with restricted privileges
  • Access log entries showing repeated queries for user attributes by administrators who should not have visibility to those attributes
  • Audit trail showing attribute data access that violates configured User Profile visibility policies

Detection Strategies

  • Monitor Keycloak Admin API logs for requests to the /unmanagedAttributes endpoint and correlate with the requesting administrator's privilege level
  • Implement alerting on API access patterns where restricted administrators access sensitive user attribute endpoints
  • Review Keycloak audit logs for attribute retrieval activities that don't align with configured visibility settings

Monitoring Recommendations

  • Enable detailed Keycloak audit logging for all Admin API operations, particularly those involving user attribute access
  • Configure SIEM rules to detect privilege-related anomalies in administrative API usage patterns
  • Regularly audit administrator accounts and their access to sensitive endpoints to identify potential abuse

How to Mitigate CVE-2025-13881

Immediate Actions Required

  • Review all administrator accounts and restrict privileges to the minimum required for their roles
  • Audit current access to the /unmanagedAttributes endpoint and identify any unauthorized attribute retrievals
  • Implement additional network-level access controls to limit which administrators can reach sensitive Admin API endpoints
  • Monitor for any updated patches or advisories from Red Hat regarding Keycloak

Patch Information

Consult the Red Hat CVE Advisory for the latest patch information and remediation guidance. Organizations should apply vendor-provided patches as soon as they become available and follow Red Hat's security bulletin for Keycloak updates.

Workarounds

  • Implement strict role-based access control to limit which administrators can access the Admin API
  • Use network segmentation to restrict access to Keycloak Admin API endpoints from untrusted networks
  • Review and minimize the number of custom attributes containing sensitive data that could be exposed through this vulnerability
  • Consider implementing API gateway controls to filter or block requests to the /unmanagedAttributes endpoint for non-full administrators
bash
# Example: Review Keycloak admin events for suspicious attribute access
# Check admin-events log for unmanagedAttributes endpoint access
grep -i "unmanagedAttributes" /var/log/keycloak/admin-events.log

# Audit current realm administrators and their assigned roles
/opt/keycloak/bin/kcadm.sh get users -r your-realm --fields username,realmRoles

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

  • SeverityLOW

  • CVSS Score2.7

  • EPSS Probability0.02%

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

  • Red Hat Bug Report #2418330
  • 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