Skip to content
RCE Advisory Advanced CVE-2026-40368

Microsoft SharePoint Server Remote Code Execution Vulnerability (CVE-2026-40368)

SharePoint Server deserialises untrusted data, allowing an authenticated attacker to execute code over the network. The attack requires a client to connect to a malicious server, which could let the attacker gain code execution on the client.

Butterfly Follow

Originally disclosed on Microsoft

High 8.0 View original

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, the attack vector is network (AV:N) and the user interaction is required (UI:R). What is the target context of the remote code execution? This attack requires a client to connect to a malicious server, and that could allow the attacker to gain code execution on the client.

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

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

The original report as published on the Microsoft Security Response Center, by Butterfly. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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

Root cause

Likely unsafe deserialisation of untrusted data in SharePoint, where a client connects to an attacker-controlled server and processes its response.

Impact

An authenticated attacker could gain code execution on a client that connects to a malicious server; the text does not say whether any defence limited this.

What the attacker needed

Authenticated low-privilege account; victim client connects to malicious server

The fix

Microsoft should fix it by installing the security update; the text says customers should install it to be protected.

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.

Deserialisation is when a program turns stored data back into objects; if that data comes from an untrusted source, an attacker can craft it so the program runs their code. Here, a logged-in attacker could make a victim's SharePoint client connect to a malicious server and run code on that client. The attacker needs a valid account but no admin rights.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Butterfly

View all

1 more disclosed report, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.