Microsoft SharePoint Server Remote Code Execution Vulnerability (CVE-2026-47294)
SharePoint Server fails to neutralise special elements used in an OS command, allowing an authenticated attacker with at least Site Owner rights to write and execute arbitrary code remotely on the server. The advisory also notes a client-side scenario where a victim connecting to a malicious server could have code run on their machine.
Originally disclosed on Microsoft
Description
Improper neutralization of special elements used in an os command ('os command injection') 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
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
Root cause
Likely the server passes user-supplied input into an operating-system command without properly escaping or validating the special characters in it.
Impact
An authenticated attacker holding at least Site Owner permissions could execute arbitrary code on the SharePoint Server over the network; the advisory also states that a client connecting to a malicious server could have code executed on the client.
What the attacker needed
Authenticated account; at least Site Owner role; network access to the server
The fix
Microsoft shipped security updates for the affected SharePoint Server versions, and 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 product for sharing documents and building internal sites. This flaw means someone who already has a fairly privileged account on it can slip extra operating-system commands into something the server processes, and the server then runs them. That gives the attacker the ability to run their own code on the machine rather than just use the website normally.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.