CVE-2026-50522: Microsoft SharePoint Server RCE Vulnerability
CVE-2026-50522 is an unauthenticated .NET deserialization RCE in SharePoint Server Subscription, 2019, and 2016; Microsoft patched it July 14, 2026.
CVE-2026-50522 (CWE-502) lets unauthenticated attackers send crafted serialized .NET payloads to network-accessible SharePoint endpoints, triggering gadget-chain deserialization and remote code execution under the privileged SharePoint service account. It affects SharePoint Server Subscription Edition, SharePoint Server 2019, and SharePoint Server 2016 Enterprise; Microsoft published the advisory on July 14, 2026. The EPSS score is 20.346%, but no public PoC exists and the flaw is not in CISA's KEV catalog at publication. Mitigations include applying Microsoft updates, rotating SharePoint machine keys, enabling AMSI, and restricting internet exposure.
- Exploitation enables web shells, credential theft, and lateral movement into Microsoft 365 and Active Directory.
- Detection: w3wp.exe spawning cmd.exe/powershell.exe/certutil.exe, new .aspx files in layouts directories, encoded POST payloads.
- Workarounds include AMSI integration in SharePoint 2016/2019 and reverse-proxy or VPN-based exposure restriction.
Vulnerabilities mentionedAll →
| CVE | Vulnerability | CVSS | EPSS | Flags | Affected | Exposure | Published |
|---|---|---|---|---|---|---|---|
| CVE-2026-50522 | Unauthenticated Deserialization RCE in Microsoft SharePoint Server CVE-2026-50522 is a deserialization of untrusted data flaw (CWE-502) in Microsoft SharePoint Server that allows an unauthenticated attacker to send maliciously crafted serialized data over the network and execute code on the server, reflected in its 9.8 critical CVSS score with no privileges or user interaction required. Successful exploitation yields full remote code execution with high impact on confidentiality, integrity, and availability, giving attackers a foothold for follow-on actions such as data theft, lateral movement, or ransomware. Any organization running on-premises SharePoint Server is in scope, particularly deployments reachable from untrusted networks; the required action notes stakeholders must evaluate each asset's internet exposure under CISA BOD 26-04. The flaw is under active exploitation: CISA added it to the Known Exploited Vulnerabilities catalog on 2026-07-22 and security news headlines describe it as a critical RCE exploited in the wild, with some reports referencing exploitation after a public proof-of-concept release and an authentication bypass. The structured record lists no public PoC as confirmed, but an EPSS of 84.6% (100th percentile) underscores a very high near-term exploitation likelihood. Do: Apply Microsoft's security updates for SharePoint Server immediately per the vendor advisory, as required under CISA's KEV listing and BOD 26-04, and prioritize any SharePoint deployments that are internet-facing (federal/critical-infrastructure operators must follow BOD 26-04 timelines or discontinue unmitigated use). Until patched, restrict public access to SharePoint endpoints (VPN, firewall rules, or reverse proxy) and review IIS/application logs and running processes for signs of unauthenticated deserialization abuse. Because some reports reference an authentication bypass being chained, also verify authentication paths and monitor for follow-on attacker activity after patching. | 9.8 | 85% | KEV |
| massorder of 100,000+ on-prem SharePoint Server deployments worldwide, with tens of thousands plausibly internet-exposed |
Full article809 words · extracted from sentinelone.com · click to collapse
CVE-2026-50522 Overview
CVE-2026-50522 is a deserialization of untrusted data vulnerability [CWE-502] affecting Microsoft SharePoint Server. An unauthenticated attacker can send crafted serialized payloads over the network to trigger unsafe object deserialization. Successful exploitation results in remote code execution in the context of the SharePoint service account.
The flaw affects SharePoint Server Subscription Edition, SharePoint Server 2019, and SharePoint Server 2016 Enterprise. No user interaction or prior authentication is required to reach the vulnerable code path. Microsoft published the advisory on July 14, 2026.
Critical Impact
Unauthenticated remote code execution on internet-facing SharePoint servers, enabling full compromise of collaboration infrastructure, credential theft, and lateral movement into connected Microsoft 365 and Active Directory environments.
Affected Products
- Microsoft SharePoint Server Subscription Edition
- Microsoft SharePoint Server 2019
- Microsoft SharePoint Server 2016 Enterprise
Discovery Timeline
- 2026-07-14 - CVE-2026-50522 published to NVD and Microsoft Security Response Center advisory released
- 2026-07-15 - Last updated in NVD database
Technical Details for CVE-2026-50522
Vulnerability Analysis
The vulnerability resides in SharePoint Server's handling of serialized .NET objects received through network-accessible endpoints. SharePoint processes incoming data streams and reconstructs .NET objects without validating the type or contents of the serialized payload. This unsafe deserialization allows attacker-controlled gadget chains to execute arbitrary code during object reconstruction.
Because SharePoint typically runs under a privileged application pool identity, code executes with elevated rights on the underlying Windows server. The attack requires no authentication and no user interaction, and can be launched remotely against exposed SharePoint web front-ends. The EPSS score of 20.346% (97.2 percentile) reflects a high likelihood of exploitation activity.
Root Cause
The root cause is improper handling of untrusted serialized data, classified under CWE-502. SharePoint deserializes objects from network input without enforcing a type allowlist or integrity validation. Attackers can supply gadget chains that invoke dangerous methods during deserialization, converting object reconstruction into arbitrary code execution.
Attack Vector
An unauthenticated remote attacker sends a specially crafted HTTP request containing a malicious serialized payload to a vulnerable SharePoint endpoint. The server deserializes the payload and executes the embedded gadget chain, running attacker-supplied code in the context of the SharePoint worker process. From this foothold, attackers can extract machine keys, dump credentials, deploy web shells, and pivot deeper into the environment.
No public proof-of-concept has been released and the CVE is not listed in the CISA Known Exploited Vulnerabilities catalog at the time of publication. Refer to the Microsoft Vulnerability Update CVE-2026-50522 advisory for vendor-supplied technical details.
Detection Methods for CVE-2026-50522
Indicators of Compromise
- Unusual w3wp.exe child processes spawning cmd.exe, powershell.exe, or certutil.exe on SharePoint servers
- New or modified .aspx files written to SharePoint layouts directories such as C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\TEMPLATE\LAYOUTS
- Outbound network connections from SharePoint application pool identities to unknown external hosts
- HTTP POST requests containing base64-encoded serialized .NET payloads targeting SharePoint endpoints
Detection Strategies
- Monitor IIS logs for anomalous POST requests to SharePoint handler paths with large or encoded request bodies
- Alert on process creation events where w3wp.exe is the parent of scripting or living-off-the-land binaries
- Inspect SharePoint ULS logs for deserialization exceptions and unexpected type resolution errors
- Deploy YARA rules targeting known .NET deserialization gadget classes such as TypeConfuseDelegate and ObjectDataProvider
Monitoring Recommendations
- Enable Windows command-line auditing (Event ID 4688) and PowerShell script block logging on all SharePoint servers
- Forward IIS, ULS, and Windows Security logs to a centralized SIEM for correlation across the SharePoint farm
- Baseline normal SharePoint child process activity and alert on deviations
- Continuously monitor filesystem changes in SharePoint content and layout directories for unauthorized web shell drops
How to Mitigate CVE-2026-50522
Immediate Actions Required
- Apply the Microsoft security updates for SharePoint Server Subscription Edition, 2019, and 2016 immediately
- Rotate SharePoint machine keys after patching to invalidate any previously stolen ValidationKey or DecryptionKey material
- Restrict internet exposure of SharePoint front-ends and place them behind an authenticating reverse proxy or VPN
- Hunt for signs of prior exploitation, including unauthorized .aspx files and suspicious w3wp.exe child processes
Patch Information
Microsoft has released security updates addressing CVE-2026-50522. Administrators should consult the Microsoft Vulnerability Update CVE-2026-50522 advisory for the specific KB articles and cumulative update packages applicable to each SharePoint Server version. Apply updates through Windows Update, WSUS, or by manually installing the SharePoint cumulative update package on each server in the farm.
Workarounds
- Enable the Antimalware Scan Interface (AMSI) integration in SharePoint Server 2016 and 2019 to intercept malicious payloads
- Deploy Microsoft Defender Antivirus or an equivalent endpoint protection product on all SharePoint servers
- Restrict inbound access to SharePoint endpoints using web application firewall rules that inspect for serialized .NET payload patterns
- Isolate SharePoint servers on segmented network zones to limit lateral movement if compromise occurs
bash
# Rotate SharePoint machine keys after patching (PowerShell on SharePoint server)
Set-SPMachineKey -WebApplication https://sharepoint.example.com
Update-SPMachineKey -WebApplication https://sharepoint.example.com
iisreset /noforce
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Text extracted automatically; images, tables and formatting may be missing. Original: https://www.sentinelone.com/vulnerability-database/cve-2026-50522/