Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2026-58644: Remote Code Execution in Microsoft SharePoint Server via Untrusted Deserialization

Published Jul 14, 2026 · Updated 9 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.8Critical · v3.1
EPSS15.9%98th percentile
CISA KEVYesAdded Jul 16, 2026
In the wildActivePer CISA KEV
Vendor
Microsoft Corporation
IdentifiersCVE-2026-58644CWE-502 · Deserialization of Untrusted Data

CVE-2026-58644 is a critical deserialization-of-untrusted-data vulnerability affecting on-premises Microsoft SharePoint Server 2016, SharePoint Server 2019, and SharePoint Server Subscription Edition. Crafted input delivered over the network can cause arbitrary code execution on the SharePoint server. The vendor-defined exploitation scenario requires an authenticated attacker with at least Site Owner permissions. Affected builds are earlier than 16.0.5556.1005 for SharePoint Server 2016, 16.0.10417.20153 for SharePoint Server 2019, and 16.0.19725.20384 for Subscription Edition. Microsoft released security updates on July 14, 2026. Exploitation in the wild has been confirmed, and the vulnerability entered CISA's Known Exploited Vulnerabilities catalog on July 16, 2026. SharePoint Online and Microsoft 365 are not affected.

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 compromises server-side code execution and can affect the confidentiality, integrity, and availability of the SharePoint environment. Potential consequences include theft or modification of accessible documents, deployment of web shells or other malware, credential and machine-key theft, and service disruption. Depending on service-account permissions and network access, attackers could use the compromised server for lateral movement. Stolen machine keys or other persistence mechanisms can permit continued access after patching unless separately remediated.

Mitigation

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

Reduce or eliminate direct internet exposure and restrict SharePoint access to trusted networks or an authenticated reverse proxy. Block external access to Central Administration. Enable supported SharePoint AMSI integration, including Full request-body scanning where available, and maintain endpoint protection. Monitor IIS, Windows, and SharePoint telemetry for anomalous requests, unexpected worker-process children, unauthorized uploads, malicious IIS modules, and machine-key access. If updates or effective protections cannot be implemented, discontinue access to the vulnerable service until it can be secured.

Remediation

Patch, then assume compromise.

Apply the Microsoft security updates addressing CVE-2026-58644 to every affected SharePoint farm server, preferably installing the latest applicable cumulative security updates. Minimum fixed builds are 16.0.5556.1005 for SharePoint Server 2016 and Enterprise Server 2016, 16.0.10417.20153 for SharePoint Server 2019, and 16.0.19725.20384 for Subscription Edition. The same applicable KB update covers SharePoint Server 2016 and Enterprise Server 2016. Investigate potentially exposed systems for compromise. If compromise is suspected or confirmed, remove malicious artifacts and persistence before rotating ASP.NET/IIS machine keys and other exposed credentials or secrets; patching alone does not revoke stolen secrets.

Public exploits

Exploits

1 exploit validated by Mallory's analysis.

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-58644 exploited in the wild?
Yes. As of Nov 19, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Jul 16, 2026.
Is there a public exploit for CVE-2026-58644?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2026-58644, the earliest disclosed Jul 26, 2026.
Is there a patch for CVE-2026-58644?
Apply the Microsoft security updates addressing CVE-2026-58644 to every affected SharePoint farm server, preferably installing the latest applicable cumulative security updates. Minimum fixed builds are 16.0.5556.1005 for SharePoint Server 2016 and Enterprise Server 2016, 16.0.10417.20153 for SharePoint Server 2019, and 16.0.19725.20384 for Subscription Edition.
What products are affected by CVE-2026-58644?
Microsoft Corporation Sharepoint Server, Microsoft Corporation Sharepoint Server 2016, and Microsoft Corporation Sharepoint Server 2019.
How severe is CVE-2026-58644?
CVE-2026-58644 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 15.9% (98th percentile) as of Nov 19, 2026.
Activity feed

Recent activity

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

View more in app →
+54 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 malware3Malware 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 activity100Community discussion across Reddit, Mastodon, and other social sources.