A Leader in the 2025 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Five years running.A Leader in the Gartner® Magic Quadrant™Read the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • 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
      Digital Forensics, IRR & Breach Readiness
    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
    • 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-2021-42306

CVE-2021-42306: Azure AD Information Disclosure Flaw

CVE-2021-42306 is an information disclosure vulnerability in Microsoft Azure Active Directory that exposes private key data in authentication certificates. This article covers technical details, impact, and mitigation steps.

Published: February 25, 2026

CVE-2021-42306 Overview

An information disclosure vulnerability exists in Microsoft Azure Active Directory when a user or application uploads unprotected private key data as part of an authentication certificate keyCredential on an Azure AD Application or Service Principal. This vulnerability allows any user or service within the tenant that has application read access to read the private key data that was added to the application, potentially enabling unauthorized access to protected resources.

Critical Impact

Tenant users or services with application read access can extract private key material from Azure AD Applications and Service Principals, potentially compromising authentication mechanisms and enabling unauthorized access to protected Azure resources.

Affected Products

  • Microsoft Azure Active Directory
  • Microsoft Azure Active Site Recovery
  • Microsoft Azure Automation
  • Microsoft Azure Migrate

Discovery Timeline

  • 2021-11-24 - CVE-2021-42306 published to NVD
  • 2026-02-24 - Last updated in NVD database

Technical Details for CVE-2021-42306

Vulnerability Analysis

This vulnerability is classified as Insufficiently Protected Credentials (CWE-522), representing a significant information disclosure risk within Azure AD environments. The core issue stems from how Azure AD handled private key data when uploaded as part of authentication certificate keyCredential configurations on Applications or Service Principals.

When organizations configure certificate-based authentication for Azure AD Applications, they may inadvertently upload the private key portion alongside the public certificate. Prior to Microsoft's remediation, this private key data was accessible to any principal within the tenant that possessed application read permissions—a common privilege in enterprise Azure environments.

The vulnerability is exploitable over the network without user interaction, requiring only low-privileged access (application read permissions) within the affected tenant. While it does not enable direct code execution or data modification, the confidentiality impact is significant as exposed private keys could be used to impersonate applications and access protected resources.

Root Cause

The root cause lies in Azure AD's insufficient protection of private key material stored within keyCredential objects. When applications or automation processes uploaded certificate credentials containing private keys, the platform failed to properly redact or encrypt this sensitive data from principals with read access. This design oversight allowed the private key values to be read by any tenant user or service with standard application read permissions, violating the principle of least privilege for cryptographic material.

Attack Vector

An attacker with legitimate application read access within an Azure AD tenant could enumerate Applications and Service Principals to identify those configured with certificate-based authentication. By querying the keyCredential properties of these objects, the attacker could extract unprotected private key data. With the obtained private keys, the attacker could then authenticate as the compromised application or service principal, gaining access to any resources that application was authorized to access.

The attack requires network access and authenticated access to the Azure AD tenant with application read permissions. Services potentially affected include Azure Automation Run As accounts, Azure Migrate, Azure Site Recovery, and any custom applications that uploaded certificates with embedded private keys.

Detection Methods for CVE-2021-42306

Indicators of Compromise

  • Unusual queries to Microsoft Graph API for application or service principal keyCredential properties
  • Unexpected authentication events from service principals using certificate-based authentication
  • Access to sensitive resources from unfamiliar IP addresses using compromised application identities
  • Enumeration patterns in Azure AD audit logs showing bulk queries for application configurations

Detection Strategies

  • Monitor Azure AD audit logs for excessive Application.Read.All or Directory.Read.All permission usage
  • Implement alerts for unusual Microsoft Graph API query patterns targeting keyCredential objects
  • Review sign-in logs for service principals authenticating from unexpected locations or client applications
  • Audit applications with certificate credentials to identify any that may have contained private keys

Monitoring Recommendations

  • Enable and centralize Azure AD audit logging for application and service principal access
  • Configure Azure Sentinel or equivalent SIEM to detect anomalous application enumeration behavior
  • Implement conditional access policies for service principals where supported
  • Regularly review and rotate credentials for Azure Automation, Migrate, and Site Recovery components

How to Mitigate CVE-2021-42306

Immediate Actions Required

  • Review all Azure AD Applications and Service Principals for certificate credentials that may contain private keys
  • Rotate any potentially exposed certificates and their associated credentials
  • Audit Azure Automation Run As accounts, Azure Migrate, and Azure Site Recovery configurations
  • Review tenant audit logs for signs of credential enumeration or unauthorized access

Patch Information

Microsoft has addressed this vulnerability at the platform level by preventing disclosure of any private key values added to applications. No customer action is required to receive this platform-level fix. However, organizations should still review their environments for potentially exposed credentials.

For detailed remediation guidance and affected service-specific instructions, refer to the Microsoft Security Advisory CVE-2021-42306.

Workarounds

  • Implement strict access controls limiting which principals have application read permissions in the tenant
  • Use Azure Key Vault to store and manage certificates instead of uploading them directly to Azure AD
  • Adopt managed identities where possible to eliminate the need for certificate-based authentication
  • Implement just-in-time access for administrative operations that require application read permissions
bash
# Azure CLI: Review applications with key credentials
az ad app list --query "[?keyCredentials!=null].{AppId:appId, DisplayName:displayName, KeyCredentials:keyCredentials}" --output table

# PowerShell: Identify service principals with key credentials
Get-AzADServicePrincipal | Where-Object { $_.KeyCredentials.Count -gt 0 } | Select-Object DisplayName, Id, KeyCredentials

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechMicrosoft Azure Active Directory

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability8.53%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-522
  • Vendor Resources
  • Microsoft Security Advisory CVE-2021-42306
  • Latest CVEs
  • CVE-2021-39298: HP Z1 Entry Tower G5 Privilege Escalation

  • CVE-2021-36934: Windows 10 Privilege Escalation Flaw

  • CVE-2021-31854: McAfee Agent Privilege Escalation Flaw

  • CVE-2021-31843: McAfee Endpoint Security Privilege Escalation
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
  • English
  • 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