Skip to main content
Mallory
HighVulnerability

CVE-2026-40365: Remote Code Execution in Microsoft SharePoint Server

Published May 12, 2026 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS8.8High · v3.1
EPSS1.1%64th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Microsoft Corporation
IdentifiersCVE-2026-40365CWE-284

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

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.

VendorProductType
Microsoft CorporationSharepoint Serverapplication
Microsoft CorporationSharepoint Server 2016application
Microsoft CorporationSharepoint Server 2019application
FAQ

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.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity2Community discussion across Reddit, Mastodon, and other social sources.