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

High 8.8 Published Updated

An authorized attacker can execute arbitrary code via SQL injection in Microsoft SharePoint Server, requiring immediate patching.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-20947?

CVE-2026-20947 is a high-severity SQL injection vulnerability in Microsoft Sharepoint Server, published on 13 Jan 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Improper neutralization of special elements used in an sql command ('sql injection') in Microsoft Office SharePoint allows an authorized attacker to execute code over a network.

Weakness: CWE-89

Which versions are affected by CVE-2026-20947?

It affects 1 product.

Products include Microsoft Sharepoint Server.

How do I fix CVE-2026-20947?

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

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2026-20947 being exploited?

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

All Microsoft Sharepoint Server vulnerabilities

Sources

Also known as GHSA-wmcv-5mf2-r699.

Is CVE-2026-20947 in your software?

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

Check your SBOMs for free