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
    • 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-40381

CVE-2026-40381: Azure Connected Machine Agent Escalation

CVE-2026-40381 is a privilege escalation vulnerability in Azure Connected Machine Agent caused by improper access control. Authorized attackers can exploit this to elevate privileges locally. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published: May 17, 2026

CVE-2026-40381 Overview

CVE-2026-40381 is an improper access control vulnerability in the Azure Connected Machine Agent. An authorized local attacker can exploit the flaw to elevate privileges on the affected host. The weakness is tracked as [CWE-284] Improper Access Control and carries a CVSS 3.1 base score of 7.8.

The Azure Connected Machine Agent (azcmagent) extends Azure Arc management to non-Azure servers running Windows and Linux. A privilege escalation in this component grants attackers a path from a standard user context to elevated execution on hybrid-managed systems.

Critical Impact

A local, authenticated attacker can gain high-privilege code execution on hosts running the Azure Connected Machine Agent, compromising confidentiality, integrity, and availability.

Affected Products

  • Microsoft Azure Connected Machine Agent (Azure Arc-enabled servers)
  • Windows and Linux hosts onboarded to Azure Arc via the agent
  • Specific fixed versions are listed in the Microsoft Security Response Center advisory

Discovery Timeline

  • 2026-05-12 - CVE-2026-40381 published to the National Vulnerability Database
  • 2026-05-13 - Last updated in NVD database

Technical Details for CVE-2026-40381

Vulnerability Analysis

The Azure Connected Machine Agent runs privileged services to manage extensions, policy, and identity on Arc-enabled servers. Improper access control inside the agent allows a low-privilege local user to interact with resources or operations reserved for the privileged service account.

The attack vector is local and requires the attacker to already hold valid credentials on the host. No user interaction is required, attack complexity is low, and successful exploitation yields full impact across confidentiality, integrity, and availability. The Exploit Prediction Scoring System (EPSS) rates the probability of exploitation at 0.04% as of 2026-05-17, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.

Root Cause

The root cause is improper access control [CWE-284] within the agent. Privileged resources, files, or interprocess communication endpoints owned by the agent service do not enforce sufficient authorization checks against the calling user. Microsoft has not published the precise affected component path in the public advisory.

Attack Vector

An attacker with an interactive or remote shell session as a standard user on an Arc-enabled host triggers the vulnerable agent functionality. By leveraging the weak access control, the attacker coerces the privileged agent process to perform an action on their behalf, resulting in code execution or file operations as the agent's high-privilege identity. Technical specifics are restricted to the Microsoft Security Advisory.

No public proof-of-concept exploit is available at the time of writing.

Detection Methods for CVE-2026-40381

Indicators of Compromise

  • Unexpected child processes spawned by himds, gcarcservice, or extensionservice agent processes
  • New or modified files in the agent installation directory written by non-administrative users
  • Local account privilege changes or new administrator group memberships shortly after agent activity
  • Anomalous invocations of azcmagent subcommands from non-administrative user contexts

Detection Strategies

  • Hunt for process lineage where Azure Connected Machine Agent services launch shells, scripting hosts, or LOLBins
  • Correlate local logon events with subsequent privileged operations on Arc-enabled hosts
  • Alert on writes by low-privilege users to directories or named pipes owned by the agent service

Monitoring Recommendations

  • Forward Windows Security, Sysmon, and Linux auditd telemetry from Arc-enabled hosts to a centralized analytics platform such as Singularity Data Lake for retention and correlation
  • Use behavioral endpoint protection, including Singularity Endpoint, to flag privilege escalation patterns originating from agent services
  • Track agent version inventory across the fleet and alert on hosts running unpatched builds

How to Mitigate CVE-2026-40381

Immediate Actions Required

  • Identify all hosts running the Azure Connected Machine Agent using Azure Arc inventory and asset management tools
  • Update the agent to the fixed version specified in the Microsoft advisory on every affected host
  • Restrict interactive and remote logon rights on Arc-enabled servers to trusted administrative users only
  • Review local account membership and recent privilege changes on managed hosts

Patch Information

Microsoft has released a fixed Azure Connected Machine Agent build. Patch details, download links, and version numbers are published in the Microsoft Security Advisory. Apply the update through automatic agent upgrade where enabled, or distribute the installer via existing configuration management tooling.

Workarounds

  • No vendor-supplied workaround is documented; patching is the supported remediation
  • Limit local logon capability on Arc-enabled hosts to reduce the population of users who can exploit the flaw
  • Enforce least privilege and remove standing local accounts that are not required for operations
  • Monitor agent processes with endpoint protection until patches are deployed across the fleet
bash
# Check Azure Connected Machine Agent version on Linux
azcmagent show | grep -i "Agent Version"

# Check on Windows (PowerShell)
& "$Env:ProgramFiles\AzureConnectedMachineAgent\azcmagent.exe" show | Select-String "Agent Version"

# Trigger upgrade on Linux (package manager dependent)
sudo apt-get update && sudo apt-get install --only-upgrade azcmagent

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 Probability0.04%

  • 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
  • CWE References
  • CWE-284
  • Technical References
  • Microsoft Security Advisory
  • Related CVEs
  • CVE-2026-41086: Windows Admin Center Privilege Escalation

  • CVE-2026-33834: Windows 10 1607 Privilege Escalation Flaw

  • CVE-2025-7326: ASP.NET Core Privilege Escalation Flaw

  • CVE-2026-32219: Microsoft Brokering File System 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