Skip to main content
Mallory
HighVulnerability

CVE-2026-40357: Remote Code Execution in Microsoft SharePoint Server via Insecure Deserialization

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
EPSS2.3%84th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Microsoft Corporation
IdentifiersCVE-2026-40357CWE-502 · Deserialization of Untrusted Data

CVE-2026-40357 is a remote code execution vulnerability in on-premises Microsoft Office SharePoint and SharePoint Server caused by deserialization of untrusted data. SharePoint improperly processes attacker-controlled serialized input without sufficient validation, allowing an authenticated user to trigger unsafe deserialization over the network. Microsoft states that exploitation requires only low privileges, specifically a minimum of Site Member permissions, and no user interaction. The issue affects supported on-premises SharePoint releases prior to the May 2026 security updates, including SharePoint Enterprise Server 2016, SharePoint Server 2019, and SharePoint Server Subscription Edition.

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 target SharePoint Server in the context of the SharePoint application process. Because the vulnerability has high impact on confidentiality, integrity, and availability, an attacker could use it to access sensitive data, modify content or server-side state, deploy additional payloads, and disrupt SharePoint services. In practical terms, compromise of the SharePoint server can provide a foothold for broader intrusion into the surrounding enterprise environment.

Mitigation

If you can’t patch tonight, do this now.

No alternative workaround is available in the provided information. If immediate patching is not possible, risk can only be reduced operationally by limiting SharePoint exposure, minimizing assignment of Site Member and other unnecessary authenticated access, and restricting access to internet-facing or untrusted networks until the official updates are installed.

Remediation

Patch, then assume compromise.

Apply the May 12, 2026 Microsoft security updates for affected on-premises SharePoint versions. Patched builds identified in the available information are SharePoint Enterprise Server 2016 build 16.0.5552.1002, SharePoint Server 2019 build 16.0.10417.20128, and SharePoint Server Subscription Edition build 16.0.19725.20280. These updates are cumulative. Environments running SharePoint Workflow Manager must install KB5002799 before applying the cumulative SharePoint update. Microsoft states that applying the official fix is the supported remediation.

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-40357 exploited in the wild?
As of Sep 25, 2026, Mallory has no reports of CVE-2026-40357 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-40357?
As of Sep 25, 2026, Mallory has found no public exploit for CVE-2026-40357.
Is there a patch for CVE-2026-40357?
Apply the May 12, 2026 Microsoft security updates for affected on-premises SharePoint versions. Patched builds identified in the available information are SharePoint Enterprise Server 2016 build 16.0.5552.1002, SharePoint Server 2019 build 16.0.10417.20128, and SharePoint Server Subscription Edition build 16.0.19725.20280.
What products are affected by CVE-2026-40357?
Microsoft Corporation Sharepoint Server, Microsoft Corporation Sharepoint Server 2019, and Microsoft Corporation Sharepoint Server 2016.
How severe is CVE-2026-40357?
CVE-2026-40357 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 2.3% (84th percentile) as of Sep 25, 2026.
Activity feed

Recent activity

10 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+3 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
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 activity1Community discussion across Reddit, Mastodon, and other social sources.