Microsoft SharePoint Server Remote Code Execution Vulnerability (CVE-2026-40365)
SharePoint Server deserialises untrusted data, allowing an authenticated attacker with at least Site Owner privileges to execute arbitrary code remotely over the network. The vulnerability requires low privileges but no admin rights.
f7d8c52bec79e42795cf15888b85cbad Follow
Originally disclosed on Microsoft
Description
Deserialization of untrusted data in Microsoft Office SharePoint allows an authorized attacker to execute code over a network.
FAQ
According to the CVSS metric, privileges required is low (PR:L). What does that mean for this vulnerability? Any authenticated attacker could trigger this vulnerability. It does not require admin or other elevated privileges.
FAQ
How could an attacker exploit the vulnerability? In a network-based attack, an authenticated attacker, as at least a Site Owner, could write arbitrary code to inject and execute code remotely on the SharePoint Server.
FAQ
I am running SharePoint Server 2016. Do the updates for SharePoint Enterprise Server 2016 also apply to the version I am running? Yes. The same KB number applies to both SharePoint Server 2016 and SharePoint Enterprise Server 2016. Customers running either version should install the security update to be protected from this vulnerability.
Microsoft Office SharePoint
Microsoft Office SharePoint
Microsoft
Microsoft
Customer Action Required
Yes
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
An authenticated attacker with at least Site Owner privileges could execute arbitrary code remotely on the SharePoint Server.
What the attacker needed
Authenticated SharePoint account; at least Site Owner privileges; network access to SharePoint Server
The fix
Microsoft released security updates (KB numbers) for affected SharePoint versions; customers should install them.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
SharePoint is a Microsoft web application for document sharing and collaboration. Deserialisation is when a program turns stored data back into objects; if that data is untrusted, an attacker can craft it so the program runs their code. Here, someone with a normal account (Site Owner) could run their own code on the server.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.