CVE-2026-20951 Microsoft SharePoint Server Remote Code Execution Vulnerability

High 7.8 Published Updated

An unauthorized attacker can execute code locally on Microsoft SharePoint Server due to improper input validation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-20951?

CVE-2026-20951 is a high-severity code injection vulnerability in Microsoft Sharepoint Server, published on 13 Jan 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Improper input validation in Microsoft Office SharePoint allows an unauthorized attacker to execute code locally.

Weakness: CWE-20

Which versions are affected by CVE-2026-20951?

It affects 1 product.

Products include Microsoft Sharepoint Server.

How do I fix CVE-2026-20951?

No fix has been published for CVE-2026-20951 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-20951 being exploited?

There is no known exploitation of CVE-2026-20951 in the wild and no public exploit code.

All Microsoft Sharepoint Server vulnerabilities

Sources

Also known as GHSA-gm7r-gh5f-5ghf.

Is CVE-2026-20951 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free