Attackers Exploit SharePoint Flaw to Steal Machine Keys and Maintain Access

Summary
watchTowr and Defused report exploitation of CVE-2026-50522 against on-premises SharePoint. The flaw can expose machine keys for forged authentication tokens; Microsoft patched it in July updates, and watchTowr advises rotating credentials on potentially exposed assets.
Key points
- Microsoft describes CVE-2026-50522 as an unauthenticated remote-code-execution flaw caused by deserialization of untrusted data.
- watchTowr says its honeypots captured successful exploitation attempts within hours of a public proof of concept appearing; it is unclear whether those attacks used that PoC.
- Attackers reportedly steal SharePoint machine keys, which can enable forged authentication tokens and continued access after patching.
- Defused detected an undocumented SharePoint deserialization vector as early as July 17 and later assessed that it was likely linked to CVE-2026-50522.
- The published PowerShell PoC uses a malicious .NET BinaryFormatter payload in a forged SecurityContextToken sent to SharePoint's /_trust/default.aspx endpoint.
- Microsoft addressed the flaw in July security updates, though its advisory did not mark it as actively exploited; watchTowr recommends rotating credentials on potentially exposed assets.
Article Details
- Vulnerability Types
- Deserialization of untrusted data
- Remote code execution
- Severity
- Critical
- Exploitation Status
- active
- Exploit Availability
- public_poc
- Patch Status
- available
- Workarounds
- Rotate credentials on any asset that may have been exposed.
