SharePoint's Stolen Keys Outlive Your Patch
Two live RCE situations share one defeat mechanism: the patch closes the door but leaves the burglar holding a copied key — one via machine-key theft, one via an absent auto-updater.
Threat Briefing
CVE-2026-50522 is not a routine patch item. The flaw is unsafe deserialization on on-prem SharePoint, and it yields unauthenticated RCE. The operationally dangerous part comes after. A single request extracts the ASP.NET validationKey and decryptionKey, the keys that sign and encrypt ViewState and authentication tokens. Lift them once and an attacker forges trusted tokens against that server indefinitely. watchTowr has confirmed in-the-wild exploitation, and a public PoC is already circulating. Microsoft's July 2026 update closes the RCE. It does nothing about keys already gone.
7-Zip's XZ decompression heap overflow is the same lesson from a different angle. A malicious archive gets an attacker RCE. 7-Zip ships with no auto-update mechanism, which means the patch that exists never reaches endpoints unless someone pushes it. The fix is available. Delivery is the open question.
Attack Surface Analysis
| Dimension | SharePoint CVE-2026-50522 | 7-Zip XZ overflow |
|---|---|---|
| Vector | Unsafe deserialization → unauth RCE | Malicious archive → RCE |
| Exploitation | Active, public PoC live | Disclosed, patch available |
| Why the patch isn't enough | Stolen machine keys forge tokens after patching | No auto-updater — patch never lands unmanaged |
| Closing move | Rotate keys, restart IIS, hunt forged tokens | Manual push via SCCM/Intune |
Both defeat a patch-centric SLA. On SharePoint, remediation is not complete until every internet-exposed instance has rotated its keys and been swept for web shells and forged tokens. On 7-Zip, remediation does not begin until endpoint tooling forces the version, because user self-update will not happen.
Defense Playbook
- Treat any internet-exposed SharePoint as presumed key-compromised: patch, rotate, restart, hunt, in that order.
- Enumerate 7-Zip installs, including unmanaged and developer machines, and push the patched build centrally.
Patching SharePoint without rotating the machine keys changes the locks after the burglar has already been handed a spare.
What to do
Patch all on-prem SharePoint 2016/2019/Subscription Edition with the July 2026 update now, then rotate ASP.NET validationKey/decryptionKey, restart IIS, and hunt web shells and forged tokens on every internet-exposed instance.
Push a manual 7-Zip update to every managed endpoint via SCCM/Intune this sprint and sweep for unmanaged installs.