banner logoJoin us at RSAC™ 2026 Conference, March 23–March 26 | North Expo, Booth N-5863Join us at RSAC™ 2026, March 23–March 26Learn More
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-38645

CVE-2021-38645: Azure Automation Privilege Escalation

CVE-2021-38645 is a privilege escalation vulnerability in Microsoft Azure Automation State Configuration affecting Open Management Infrastructure. This security flaw allows attackers to elevate privileges. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published: March 4, 2026

CVE-2021-38645 Overview

CVE-2021-38645 is an elevation of privilege vulnerability affecting Microsoft's Open Management Infrastructure (OMI), a critical component used across multiple Azure services for Linux-based systems management. This vulnerability allows authenticated local attackers to escalate their privileges on affected systems, potentially gaining root-level access to compromised Azure virtual machines and hybrid cloud infrastructure.

The vulnerability is part of a broader set of OMI flaws disclosed in September 2021 that collectively became known as "OMIGOD." This particular vulnerability requires local access but enables attackers with low privileges to achieve complete system compromise on affected Azure resources.

Critical Impact

This vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, confirming active exploitation in the wild. Attackers can leverage this flaw to escalate privileges and gain complete control over Azure Linux VMs and hybrid infrastructure components.

Affected Products

  • Microsoft Azure Automation State Configuration
  • Microsoft Azure Automation Update Management
  • Microsoft Azure Diagnostics (LAD)
  • Microsoft Azure Open Management Infrastructure
  • Microsoft Azure Security Center
  • Microsoft Azure Sentinel
  • Microsoft Azure Stack Hub
  • Microsoft Container Monitoring Solution
  • Microsoft Log Analytics Agent
  • Microsoft System Center Operations Manager

Discovery Timeline

  • September 15, 2021 - CVE-2021-38645 published to NVD
  • October 30, 2025 - Last updated in NVD database

Technical Details for CVE-2021-38645

Vulnerability Analysis

This elevation of privilege vulnerability exists within the Open Management Infrastructure (OMI) agent, which is automatically installed on Linux systems when customers enable certain Azure services. The vulnerability allows a local attacker who already has limited access to a target system to escalate their privileges to root, effectively gaining complete administrative control.

The OMI agent runs as a privileged service to perform management operations on behalf of Azure services. Due to improper access controls within the OMI framework, local users can exploit this weakness to execute operations with elevated privileges that should be restricted to administrative accounts only.

What makes this vulnerability particularly concerning is its broad attack surface across the Azure ecosystem. The OMI agent is silently deployed as a dependency for numerous Azure services, meaning many organizations may have vulnerable systems without realizing OMI is present. Combined with the local attack vector, this vulnerability is especially dangerous in multi-tenant environments or scenarios where an attacker has already achieved initial access through other means.

Root Cause

The root cause of CVE-2021-38645 lies in improper privilege management within the OMI framework. The vulnerability stems from insufficient validation and access control mechanisms when processing requests from local users. The OMI service, which runs with elevated privileges to perform management tasks, fails to properly authenticate and authorize operations initiated by local processes, allowing unprivileged users to perform actions reserved for administrative accounts.

Attack Vector

This vulnerability requires local access to exploit, meaning an attacker must first establish a foothold on the target system. The attack can be executed by any authenticated user on the system, regardless of their privilege level. The exploitation flow typically involves:

  1. Attacker gains initial access to an Azure Linux VM through legitimate credentials, compromised accounts, or via another vulnerability
  2. Attacker identifies the presence of the vulnerable OMI agent on the system
  3. Attacker crafts malicious requests to the OMI service that exploit the privilege escalation flaw
  4. The OMI service processes these requests with its elevated privileges, executing attacker-controlled operations as root
  5. Attacker achieves full root-level access to the compromised system

The vulnerability can be chained with other OMIGOD vulnerabilities (such as the remote code execution variant CVE-2021-38647) to achieve complete compromise of Azure infrastructure from an initial network position.

Detection Methods for CVE-2021-38645

Indicators of Compromise

  • Unexpected privilege escalation events originating from OMI-related processes (omiserver, omiagent, omicli)
  • Anomalous process creation with elevated privileges linked to OMI service execution
  • Suspicious authentication or authorization failures in OMI logs followed by successful privileged operations
  • Creation of new administrative accounts or modification of existing account privileges after OMI interaction

Detection Strategies

  • Monitor for unusual process hierarchies where low-privileged user processes spawn root-level child processes through OMI components
  • Implement file integrity monitoring on OMI binaries and configuration files located in /opt/omi/
  • Audit system calls and capability changes associated with OMI service processes
  • Deploy behavioral detection for privilege escalation patterns on Linux endpoints with OMI installed

Monitoring Recommendations

  • Enable detailed logging for OMI services and forward logs to centralized SIEM solutions
  • Configure alerts for any modifications to critical system files following OMI service activity
  • Implement endpoint detection and response (EDR) monitoring on all Azure Linux VMs with OMI components
  • Regularly audit installed OMI versions across your Azure environment using Azure Resource Graph queries

How to Mitigate CVE-2021-38645

Immediate Actions Required

  • Identify all Azure resources with OMI installed by auditing Azure VM extensions and installed packages
  • Apply the Microsoft security update for OMI immediately to all affected systems
  • Review system logs for any indicators of exploitation that may have occurred prior to patching
  • Implement network segmentation to limit lateral movement potential from potentially compromised systems

Patch Information

Microsoft has released security updates to address this vulnerability. Organizations should update OMI to the latest patched version by applying the relevant Azure updates or manually updating the OMI package on affected Linux systems.

For detailed patch guidance, refer to the Microsoft Security Advisory for CVE-2021-38645.

Additionally, this vulnerability is tracked in the CISA Known Exploited Vulnerabilities Catalog, which mandates federal agencies to apply mitigations within specified deadlines.

Workarounds

  • Restrict local access to Azure VMs by implementing strict access controls and just-in-time (JIT) VM access
  • Disable unnecessary Azure extensions that deploy OMI if the functionality is not required
  • Implement the principle of least privilege for all users with access to Azure Linux resources
  • Consider temporarily blocking or restricting OMI service ports (TCP 5985/5986) while patches are being deployed
bash
# Check installed OMI version
/opt/omi/bin/omiserver --version

# Verify OMI service status
systemctl status omid

# Update OMI package on Ubuntu/Debian
sudo apt-get update && sudo apt-get install --only-upgrade omi

# Update OMI package on RHEL/CentOS
sudo yum update omi

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechMicrosoft

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability14.61%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • NVD-CWE-noinfo
  • Technical References
  • CISA Known Exploited Vulnerability CVE-2021-38645
  • Vendor Resources
  • Microsoft Security Advisory CVE-2021-38645
  • Related CVEs
  • CVE-2026-26124: Microsoft ACI Privilege Escalation Flaw

  • CVE-2026-20822: Microsoft Graphics Privilege Escalation

  • CVE-2021-38649: Azure Automation Privilege Escalation Flaw

  • CVE-2021-38648: Azure Automation 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