Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2026-56164: Unauthenticated Privilege Escalation in Microsoft SharePoint Server

Published Jul 14, 2026 · Updated 3 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
CVSS9.8Critical · v3.1
EPSS7.8%95th percentile
CISA KEVYesAdded Jul 14, 2026
In the wildActivePer CISA KEV
Vendor
Microsoft Corporation
IdentifiersCVE-2026-56164CWE-306 · Missing Authentication for…

CVE-2026-56164 is a missing-authentication vulnerability in on-premises Microsoft SharePoint Server. A critical function is accessible without proper authentication, allowing an unauthenticated attacker to elevate privileges over a network, potentially obtaining site-user or administrator privileges. Affected products include SharePoint Enterprise Server 2016, SharePoint Server 2019, and SharePoint Server Subscription Edition. SharePoint Online and Microsoft 365 are unaffected. The vulnerability has been actively exploited and was added to CISA's Known Exploited Vulnerabilities catalog on July 14, 2026. Exploitation alongside other SharePoint vulnerabilities has enabled server compromise, machine-key theft, persistence, and malware deployment; remote code execution is a consequence of exploit chaining rather than an independently established capability of this flaw.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation permits unauthorized access to privileged SharePoint functionality, potentially exposing protected site information and allowing operations at site-user or administrator privilege levels. The vulnerability can remove authentication or privilege barriers needed to exploit additional SharePoint flaws. Observed chains involving CVE-2026-32201, CVE-2026-45659, and CVE-2026-56164 enabled remote code execution, IIS machine-key theft, persistence, and malware deployment. Stolen machine keys can support forged requests and continued compromise after patching if intrusion artifacts and compromised keys are not addressed.

Mitigation

If you can’t patch tonight, do this now.

Enable SharePoint AMSI integration and scanning of IIS worker-process requests, including Full request-body scanning where supported, with current antimalware signatures. This provides temporary detection and blocking coverage but does not replace patching. Avoid direct internet exposure; where external access is necessary, restrict it through an authenticated Layer 7 reverse proxy and block external access to Central Administration. Restrict farm and database communications. Monitor IIS, Windows, and SharePoint telemetry for anomalous requests, unexpected worker-process child processes, web shells, new IIS modules, and machine-key access or changes.

Remediation

Patch, then assume compromise.

Apply Microsoft's security updates to every affected SharePoint farm server. Fixed builds for CVE-2026-56164 are 16.0.5561.1001 for SharePoint Enterprise Server 2016, 16.0.10417.20175 for SharePoint Server 2019, and 16.0.19725.20434 for SharePoint Server Subscription Edition; install these or later supported security updates. Patch companion SharePoint vulnerabilities as well. For potentially compromised deployments, investigate and remove web shells, malicious IIS modules, and machine-key-harvesting artifacts before rotating IIS/ASP.NET machine keys. Replace compromised credentials and assess whether persistence remains; patching alone does not remove an existing intrusion.

Public exploits

Exploits

1 exploit validated by Mallory's analysis. Hidden: 2 rejected by Mallory's analysis as not a working exploit.

View more in app →
sharepoint-2026-pocRepository contains a documented proof-of-concept and detection notes for SharePoint /_trust WS-Federation SecurityContextToken deserialization leading to unauthenticated RCE and machine-key theft. Structure is small and focused: README and index.html provide the writeup; detection/hunting.md contains defender-oriented hunting guidance; artifacts/ contains redacted example telemetry; scripts/ contains the actual exploit code. The main exploit capability is in scripts/cve-2026-58644_oob_param.ps1. It is a parameterized PowerShell exploit that builds a PowerShell payload, base64-encodes it for -EncodedCommand, invokes ysoserial.net to generate a BinaryFormatter gadget (default TypeConfuseDelegate), wraps the raw gadget bytes with System.IdentityModel.DeflateCookieTransform, embeds that into a crafted WS-Federation RequestSecurityTokenResponse, and POSTs it to $Target/_trust/default.aspx with wa=wsignin1.0. Capabilities include arbitrary command execution, optional HTTP callback/beaconing, optional file drop, optional diagnostic exfiltration, proxy support, and optional direct powershell execution via --rawcmd to avoid cmd.exe in the process tree. The second exploit, scripts/cve-2026-58664_machinekeys.ps1, is a two-stage PowerShell exploit for in-process machine-key disclosure. It generates two ysoserial payloads: a preamble using ActivitySurrogateDisableTypeCheck and a main payload using ActivitySurrogateSelectorFromFile to compile embedded C# code (KeyDump) inside w3wp.exe. That C# reflects into System.Web.Configuration.MachineKeySection, extracts ValidationKey/DecryptionKey and related settings, clears the HTTP response, and writes the values back between sentinel markers. This is more stealthy than the OOB RCE path because it avoids child process creation and external beaconing. Overall, this is a real exploit repository rather than a detector-only repo. It is not part of a major exploitation framework. The code is operational but still PoC-style: payloads are customizable through parameters, but execution depends on an external ysoserial.net binary and a vulnerable SharePoint deployment. The most fingerprintable target artifact across both scripts is POST traffic to /_trust/default.aspx carrying wa=wsignin1.0 and a RequestSecurityTokenResponse/SecurityContextToken body.WismanSec · Disclosed Jul 26, 2026 · powershell · csharp · web · networkOperational
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Microsoft CorporationSharepoint Serverapplication
Microsoft CorporationSharepoint Server 2016application
Microsoft CorporationSharepoint Server 2019application
FAQ

Frequently asked questions

Is CVE-2026-56164 exploited in the wild?
Yes. As of Nov 25, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Jul 14, 2026.
Is there a public exploit for CVE-2026-56164?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2026-56164, the earliest disclosed Jul 26, 2026.
Is there a patch for CVE-2026-56164?
Apply Microsoft's security updates to every affected SharePoint farm server. Fixed builds for CVE-2026-56164 are 16.0.5561.1001 for SharePoint Enterprise Server 2016, 16.0.10417.20175 for SharePoint Server 2019, and 16.0.19725.20434 for SharePoint Server Subscription Edition; install these or later supported security updates.
What products are affected by CVE-2026-56164?
Microsoft Corporation Sharepoint Server, Microsoft Corporation Sharepoint Server 2019, and Microsoft Corporation Sharepoint Server 2016.
How severe is CVE-2026-56164?
CVE-2026-56164 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 7.8% (95th percentile) as of Nov 25, 2026.
Activity feed

Recent activity

183 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+84 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malware8Malware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity82Community discussion across Reddit, Mastodon, and other social sources.