CVE-2026-40365: Remote Code Execution in Microsoft SharePoint Server
- Vendor
- Microsoft Corporation
CVE-2026-40365 is a critical remote code execution vulnerability in on-premises Microsoft SharePoint Server caused by insufficient granularity of access control. The flaw allows an authenticated attacker to send crafted requests to a vulnerable SharePoint server and execute arbitrary code over the network. Available reporting consistently describes exploitation as post-authentication and indicates that attackers with at least Site Owner privileges can trigger code execution on the underlying SharePoint server. The issue was addressed by Microsoft in the May 2026 security updates for SharePoint Server Subscription Edition, SharePoint Server 2019, and SharePoint Enterprise Server 2016.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows arbitrary code execution on the SharePoint server in the context of the SharePoint application process. This can enable full compromise of the affected server, including theft of sensitive data hosted or accessible through SharePoint, modification of content and configuration, service disruption, and use of the SharePoint host as a foothold for deeper lateral movement within the enterprise network. Reporting characterizes the impact as high across confidentiality, integrity, and availability.
Mitigation
If you can’t patch tonight, do this now.
No separate workaround is clearly documented. Where immediate patching is not possible, reduce exposure by limiting SharePoint access to trusted networks, minimizing assignment of elevated site-level roles such as Site Owner, closely monitoring authenticated activity against SharePoint, and prioritizing patching for internet-facing or broadly accessible on-premises farms. These measures only reduce risk and do not remediate the vulnerability.
Remediation
Patch, then assume compromise.
Apply the Microsoft May 2026 security updates for affected on-premises SharePoint deployments. Reported fixed builds are SharePoint Server Subscription Edition 16.0.19725.20280, SharePoint Server 2019 16.0.10417.20128, and SharePoint Enterprise Server 2016 16.0.5552.1002. These updates are cumulative. Environments using SharePoint Workflow Manager should install the required Workflow Manager update before applying the SharePoint cumulative update, and deployments using the Classic version of Workflow Manager may require the documented post-update configuration change to continue functioning.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2026-40365 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2026-40365 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-40365?
- As of Sep 25, 2026, Mallory has found no public exploit for CVE-2026-40365.
- Is there a patch for CVE-2026-40365?
- Apply the Microsoft May 2026 security updates for affected on-premises SharePoint deployments. Reported fixed builds are SharePoint Server Subscription Edition 16.0.19725.20280, SharePoint Server 2019 16.0.10417.20128, and SharePoint Enterprise Server 2016 16.0.5552.1002.
- What products are affected by CVE-2026-40365?
- Microsoft Corporation Sharepoint Server, Microsoft Corporation Sharepoint Server 2019, and Microsoft Corporation Sharepoint Server 2016.
- How severe is CVE-2026-40365?
- CVE-2026-40365 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 1.1% (64th percentile) as of Sep 25, 2026.
Recent activity
16 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.