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

CVE-2026-37978: Keycloak Information Disclosure Flaw

CVE-2026-37978 is an information disclosure vulnerability in Keycloak that allows low-privilege administrators to leak PII across roles. This article covers the technical details, affected versions, impact, and mitigation.

Published: May 21, 2026

CVE-2026-37978 Overview

CVE-2026-37978 is an authorization flaw in Keycloak that allows a low-privilege administrator holding the view-clients role to access user data belonging to other realm users. The vulnerability resides in the evaluate-scopes Admin API endpoints, which fail to validate that the supplied userId parameter corresponds to a user the caller is authorized to inspect. Attackers can iterate arbitrary user identifiers and harvest personally identifiable information (PII), identity attributes, and authorization data across the realm. The weakness is tracked as CWE-639: Authorization Bypass Through User-Controlled Key and is exploitable remotely over the network.

Critical Impact

A view-clients administrator can enumerate user IDs against the evaluate-scopes endpoints to extract cross-tenant PII and authorization mappings without any user interaction.

Affected Products

  • Red Hat build of Keycloak (see RHSA-2026:19596)
  • Red Hat Single Sign-On (see RHSA-2026:19597)
  • Upstream Keycloak deployments exposing the Admin API

Discovery Timeline

  • 2026-05-19 - CVE-2026-37978 published to NVD
  • 2026-05-20 - Last updated in NVD database

Technical Details for CVE-2026-37978

Vulnerability Analysis

Keycloak exposes Admin REST endpoints under evaluate-scopes that compute the effective scopes and claims a given user would receive for a specific client. These endpoints accept a userId query parameter and return resolved identity attributes, role mappings, and claim payloads. The server checks that the caller holds the view-clients role on the client being evaluated, but it does not enforce that the caller may also view the target user.

A caller with only view-clients can therefore pass any realm user identifier and receive token-equivalent data describing that user. The response surface includes username, email, profile attributes, and assigned roles. Because the view-clients role is commonly delegated to integration and operations staff, the privilege boundary it implies is broken by this behavior.

Root Cause

The defect is a missing authorization check on a user-controlled key, matching the [CWE-639] pattern. The endpoint authorizes the operation against the client scope but not against the user record dereferenced by userId. Authorization decisions consider only the role granted on the client object and skip per-user access evaluation.

Attack Vector

An authenticated administrator with view-clients issues authenticated HTTP requests to the Admin API. By varying the userId parameter, the attacker enumerates users and collects PII and authorization data. No user interaction is required, and the attack can be scripted to harvest the entire realm. The vulnerability description and technical details are documented in the Red Hat CVE analysis for CVE-2026-37978 and Red Hat Bug Report #2455327.

Detection Methods for CVE-2026-37978

Indicators of Compromise

  • Bursts of Admin API requests to paths containing evaluate-scopes from a single administrator session.
  • Sequential or high-cardinality variation of the userId parameter from one caller within a short time window.
  • Admin API access tokens belonging to service accounts that hold only view-clients but query user-scoped endpoints.

Detection Strategies

  • Enable Keycloak admin event logging and alert on evaluate-scopes invocations correlated with the calling principal's role set.
  • Baseline normal userId access patterns per administrator and flag deviations such as enumeration sequences.
  • Cross-reference Admin API audit logs with HR or directory data to detect lookups against users outside the caller's business scope.

Monitoring Recommendations

  • Forward Keycloak admin and event logs to a centralized SIEM with retention sufficient for retroactive hunts.
  • Track unique userId values queried per session and alert when thresholds are exceeded.
  • Monitor for unexpected client or service-account usage of the evaluate-scopes endpoints outside change windows.

How to Mitigate CVE-2026-37978

Immediate Actions Required

  • Apply the Red Hat updates published in RHSA-2026:19596 and RHSA-2026:19597 as soon as maintenance windows permit.
  • Audit which principals hold the view-clients role and remove the assignment from accounts that do not require it.
  • Review Admin API access logs for prior evaluate-scopes calls and investigate any cross-user enumeration.

Patch Information

Red Hat has released fixed packages for Red Hat build of Keycloak and Red Hat Single Sign-On. Refer to the vendor advisories RHSA-2026:19596 and RHSA-2026:19597 for fixed version numbers and upgrade procedures. Upstream Keycloak operators should track the corresponding fix in the project release notes referenced by the Red Hat CVE page.

Workarounds

  • Restrict network access to the Keycloak Admin API to trusted management networks and bastions.
  • Reduce administrator role grants so that view-clients is assigned only to operators who already have realm-wide user visibility.
  • Place a reverse proxy or API gateway in front of the Admin API to rate-limit and audit evaluate-scopes requests until patching is complete.
bash
# Configuration example: restrict Admin API exposure via reverse proxy (nginx)
location ~* /admin/realms/[^/]+/clients/[^/]+/evaluate-scopes {
    allow 10.0.0.0/8;       # management network only
    deny all;
    limit_req zone=admin_api burst=5 nodelay;
    proxy_pass http://keycloak_upstream;
}

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • 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:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-639
  • Technical References
  • Red Hat Security Advisory RHSA-2026:19596

  • Red Hat Security Advisory RHSA-2026:19597

  • Red Hat CVE Analysis CVE-2026-37978

  • Red Hat Bug Report #2455327
  • Related CVEs
  • CVE-2026-37981: Keycloak Information Disclosure Flaw

  • CVE-2026-37977: Keycloak CORS Information Disclosure Flaw

  • CVE-2026-3190: Keycloak Information Disclosure Flaw

  • CVE-2026-4633: Keycloak User Enumeration 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