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

CVE-2026-40357: Microsoft SharePoint Server RCE Vulnerability

CVE-2026-40357 is a remote code execution vulnerability in Microsoft SharePoint Server caused by deserialization of untrusted data. This article covers the technical details, affected versions, security impact, and mitigation.

Published: May 17, 2026

CVE-2026-40357 Overview

CVE-2026-40357 is a deserialization of untrusted data vulnerability [CWE-502] in Microsoft Office SharePoint. The flaw allows an authenticated attacker to execute arbitrary code over a network by sending crafted serialized payloads to a vulnerable SharePoint server. Successful exploitation results in code execution within the SharePoint application context, leading to compromise of confidentiality, integrity, and availability on the affected host.

The vulnerability affects supported releases of Microsoft SharePoint Server, including Subscription Edition, 2019, and 2016. Microsoft published guidance through the Microsoft Security Response Center (MSRC) on May 12, 2026.

Critical Impact

An authenticated attacker with low privileges can achieve remote code execution on SharePoint Server, potentially pivoting to broader enterprise resources hosted on the SharePoint farm.

Affected Products

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

Discovery Timeline

  • 2026-05-12 - CVE-2026-40357 published to NVD
  • 2026-05-12 - Microsoft releases security update via MSRC
  • 2026-05-13 - Last updated in NVD database

Technical Details for CVE-2026-40357

Vulnerability Analysis

The vulnerability stems from unsafe deserialization of attacker-controlled data within a Microsoft SharePoint Server component. SharePoint accepts serialized objects from authenticated users and reconstructs them without sufficient type validation. An attacker who can authenticate with low privileges can submit a crafted payload that triggers code execution during the deserialization process.

The CWE-502 weakness class covers cases where applications deserialize data from untrusted sources without verifying the resulting object graph. In .NET-based applications such as SharePoint, exploitable gadget chains in the BinaryFormatter, NetDataContractSerializer, or LosFormatter classes can be leveraged to invoke arbitrary methods. The EPSS score of 0.555% places exploitation probability in the 68th percentile across known CVEs.

Root Cause

The root cause is improper validation of serialized input before object reconstruction. SharePoint deserializes data structures that contain type information controlled by the request sender. When a malicious payload references a dangerous gadget type, the deserializer instantiates the object and triggers code paths that execute attacker-supplied commands under the w3wp.exe worker process identity.

Attack Vector

Exploitation requires network access to the SharePoint web application and valid authenticated credentials at any privilege level. The attacker submits a crafted HTTP request containing a serialized payload to a vulnerable SharePoint endpoint. No user interaction is required, and the attack complexity is low. Code executes in the context of the SharePoint application pool identity, providing access to SharePoint content databases and adjacent service accounts.

No public proof-of-concept exploit is available at this time, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. See the Microsoft CVE-2026-40357 Update for technical details.

Detection Methods for CVE-2026-40357

Indicators of Compromise

  • Unexpected child processes of w3wp.exe such as cmd.exe, powershell.exe, or rundll32.exe on SharePoint Web Front End servers.
  • Anomalous outbound network connections from SharePoint application pool identities to unfamiliar hosts.
  • Unusual .aspx file creation in SharePoint layouts directories or temporary ASP.NET compilation folders.
  • IIS log entries containing large or base64-encoded POST bodies to SharePoint handlers or web service endpoints.

Detection Strategies

  • Monitor IIS request logs for oversized POST requests to SharePoint _vti_bin, _layouts, and ASMX endpoints with serialized content patterns.
  • Inspect Windows Event Logs and Sysmon process creation events for SharePoint worker processes spawning interpreter or scripting binaries.
  • Correlate authenticated SharePoint session activity with subsequent privilege escalation or lateral movement attempts on the host.

Monitoring Recommendations

  • Enable verbose IIS logging and forward SharePoint ULS logs to a centralized SIEM for correlation across the farm.
  • Apply behavioral detection rules to flag deserialization gadget signatures such as System.Windows.Markup.XamlReader or ObjectDataProvider references in HTTP bodies.
  • Track changes to SharePoint configuration files, web.config entries, and the GAC for indicators of post-exploitation persistence.

How to Mitigate CVE-2026-40357

Immediate Actions Required

  • Apply the security update published by Microsoft through the MSRC advisory to all SharePoint Server Subscription Edition, 2019, and 2016 deployments.
  • Inventory all SharePoint farm members, including Web Front Ends and Application Servers, to ensure consistent patch coverage.
  • Rotate machine keys and service account credentials after patching to invalidate any pre-existing attacker-staged payloads.

Patch Information

Microsoft has released cumulative security updates addressing CVE-2026-40357. Administrators should consult the Microsoft CVE-2026-40357 Update advisory for the specific KB articles and download links applicable to each supported SharePoint version. Apply the update through Windows Update, WSUS, or manual installation, then run the SharePoint Products Configuration Wizard to finalize the upgrade.

Workarounds

  • Restrict SharePoint authentication to trusted internal users and enforce multi-factor authentication to raise the bar for low-privilege account compromise.
  • Place SharePoint web applications behind a web application firewall configured to inspect and block serialized .NET payload signatures.
  • Limit network exposure of SharePoint endpoints to required user populations using firewall rules or reverse proxy access policies.
bash
# Verify SharePoint patch level after applying the update
Get-SPProduct -Local | Select-Object ProductName, PatchableUnitDisplayName, BuildVersion

# Confirm Configuration Wizard has completed on each farm server
Get-SPFarm | Select-Object BuildVersion, Status

: 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.56%

  • 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-502
  • Vendor Resources
  • Microsoft CVE-2026-40357 Update
  • Related CVEs
  • CVE-2026-33112: Microsoft SharePoint Server RCE Vulnerability

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

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

  • CVE-2026-40368: 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