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-40365

CVE-2026-40365: Microsoft SharePoint Server RCE Vulnerability

CVE-2026-40365 is a remote code execution vulnerability in Microsoft SharePoint Server caused by insufficient access control. Authorized attackers can exploit this flaw to execute code over a network. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published: May 17, 2026

CVE-2026-40365 Overview

CVE-2026-40365 is a remote code execution vulnerability in Microsoft Office SharePoint Server caused by insufficient granularity of access control [CWE-1220]. An authenticated attacker with low privileges can leverage coarse-grained authorization checks to execute arbitrary code on the SharePoint server over a network. The flaw affects SharePoint Server Subscription Edition, SharePoint Server 2019, and SharePoint Server 2016 Enterprise.

Microsoft published the advisory through the Microsoft Security Response Center (MSRC) and addressed the issue in scheduled security updates. The vulnerability does not require user interaction and impacts confidentiality, integrity, and availability of the affected SharePoint instance.

Critical Impact

An authenticated attacker can execute arbitrary code on a SharePoint Server with full impact to confidentiality, integrity, and availability of the host.

Affected Products

  • Microsoft SharePoint Server Subscription Edition
  • Microsoft SharePoint Server 2019
  • Microsoft SharePoint Server 2016 Enterprise

Discovery Timeline

  • 2026-05-12 - CVE-2026-40365 published to NVD
  • 2026-05-13 - Last updated in NVD database

Technical Details for CVE-2026-40365

Vulnerability Analysis

The vulnerability stems from insufficient granularity of access control [CWE-1220] in Microsoft SharePoint Server. SharePoint enforces authorization at a level coarser than the protected operations require. As a result, an account with low privileges passes the access check and reaches code paths intended for higher-privileged users.

Once inside those code paths, the attacker can trigger server-side functionality that executes code in the SharePoint worker process. The attack vector is the network, complexity is low, and no user interaction is required. The attacker only needs valid credentials on the target site.

Root Cause

The underlying defect is an access control model that groups distinct operations under a single permission boundary. SharePoint authorizes access to a broad surface when it should validate the specific operation, scope, and target object. This authorization gap allows a low-privileged user to invoke server-side actions that ultimately lead to code execution.

Attack Vector

An authenticated attacker sends crafted requests to a vulnerable SharePoint endpoint over HTTP or HTTPS. The server performs a coarse-grained authorization check that does not distinguish between read-level and code-affecting operations. The request reaches a privileged handler and executes attacker-controlled logic in the context of the SharePoint application pool identity.

No verified public proof-of-concept is available at the time of writing. Technical details are documented in the Microsoft Security Update CVE-2026-40365 advisory.

Detection Methods for CVE-2026-40365

Indicators of Compromise

  • Unexpected w3wp.exe child processes such as cmd.exe, powershell.exe, or csc.exe spawned from SharePoint application pools.
  • New or modified files under SharePoint web application directories, including .aspx, .ashx, or .dll artifacts in LAYOUTS or _vti_bin paths.
  • Outbound network connections from SharePoint servers to unknown hosts immediately after authenticated HTTP requests.

Detection Strategies

  • Hunt for authenticated HTTP requests from low-privileged accounts targeting administrative or privileged SharePoint endpoints.
  • Correlate SharePoint Unified Logging Service (ULS) events with process creation telemetry on the host to identify request-to-execution chains.
  • Alert on PowerShell or scripting engine execution under the SharePoint application pool identity.

Monitoring Recommendations

  • Forward IIS, ULS, and Windows Security event logs to a centralized analytics platform for cross-source correlation.
  • Monitor SharePoint farm configuration changes, solution deployments, and timer job modifications.
  • Track authentication patterns for service and low-privilege accounts that interact with SharePoint APIs.

How to Mitigate CVE-2026-40365

Immediate Actions Required

  • Apply the Microsoft security update for CVE-2026-40365 to all affected SharePoint Server versions as documented in the MSRC advisory.
  • Inventory SharePoint farms for Subscription Edition, 2019, and 2016 Enterprise builds and prioritize internet-exposed instances.
  • Audit user and service account permissions on SharePoint sites and remove unnecessary low-privilege access where feasible.

Patch Information

Microsoft has released security updates for SharePoint Server Subscription Edition, SharePoint Server 2019, and SharePoint Server 2016 Enterprise. Administrators should install the cumulative updates referenced in the Microsoft Security Update CVE-2026-40365 guide and restart affected services. Verify build numbers after patching to confirm successful installation.

Workarounds

  • Restrict access to SharePoint sites at the network perimeter using authenticated reverse proxies or VPN-only access.
  • Enforce least-privilege site permissions and remove broad group memberships such as Everyone or All Authenticated Users from sensitive sites.
  • Enable multi-factor authentication for all SharePoint user accounts to raise the cost of credential-based access.
bash
# Verify SharePoint patch level after applying the update
Get-SPFarm | Select-Object BuildVersion
Get-SPProduct -Local | Select-Object ProductName, PatchableUnitDisplayName, Patches

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMicrosoft Sharepoint

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-1220
  • Vendor Resources
  • Microsoft Security Update CVE-2026-40365
  • Related CVEs
  • CVE-2026-33112: Microsoft SharePoint Server RCE Vulnerability

  • CVE-2026-35439: Microsoft SharePoint Server RCE Vulnerability

  • CVE-2026-40368: Microsoft SharePoint Server RCE Vulnerability

  • CVE-2026-40357: Microsoft SharePoint Server RCE 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