Skip to content
RCE Advisory Advanced CVE-2025-49712

Microsoft SharePoint Remote Code Execution Vulnerability (CVE-2025-49712)

SharePoint deserialises untrusted data, letting an authenticated Site Owner run arbitrary code on the server over the network. The attacker needs only low privileges, not admin.

Railgun Follow

Originally disclosed on Microsoft

High 8.8 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 attack complexity is low (AC:L). What does that mean for this vulnerability? The attack vector is Network (AV:N) because this vulnerability is remotely exploitable and can be exploited from the internet. The attack complexity is Low (AC:L) because an attacker does not require significant prior knowledge of the system and can achieve repeatable success with the payload against the vulnerable component.

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 attacker authenticated 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

The original report as published on the Microsoft Security Response Center, by Railgun with Kunlun Lab. 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 the application deserialises data supplied by an authenticated user without validating or restricting the types it will instantiate.

Impact

An authenticated Site Owner could execute arbitrary code remotely on the SharePoint Server; the text does not say whether any defence limited the exploit.

What the attacker needed

Authenticated as at least a Site Owner; network access to the SharePoint server

The fix

Microsoft should fix it by not deserialising untrusted input, or by restricting allowed types; the text only says customers should install the security update.

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 product for sharing documents and building team sites. Deserialisation is when a program turns stored data back into live objects; if that data is untrusted, an attacker can slip in instructions that the program then runs. Here a logged-in user with modest rights could make the server run their code.

What is RCE?

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

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.