SharePoint Flaw CVE-2026-50522 Actively Exploited: Machine Keys Stolen

Step by step
How the attack unfolded
Click a phase for details – or let the animation play through.
PHASE 1/5 · Initial Access

Attackers reach the internet-facing SharePoint endpoint without authentication and without user interaction.

T1190 – Exploit Public-Facing Application
  • CVE-2026-50522, CVSS 9.8 (AV:N/AC:L/PR:N/UI:N)
  • Attack via /_trust/default.aspx from the internet
  • No authentication and no user interaction required
  • About 1,500 on-premises instances exposed worldwide, Germany heavily affected
PHASE 2/5 · Execution

A forged security token with a .NET payload triggers the deserialization flaw and achieves remote code execution.

T1203 – Exploitation for Client Execution T1059 – Command and Scripting Interpreter
  • Deserialization vulnerability (CWE-502)
  • Single crafted HTTP request with a forged token
  • Malicious .NET payload leads to remote code execution (RCE)
  • Low attack complexity, reliably repeatable
PHASE 3/5 · Credential Access

Attackers extract the server's cryptographic IIS machine keys with a single request.

T1552 – Unsecured Credentials
  • IIS/ASP.NET machine keys are extracted
  • watchTowr: 'Attackers are pulling SharePoint machine keys via a single request'
  • Keys protect and validate authentication data
PHASE 4/5 · Persistence

Using the stolen machine keys, attackers forge valid tokens and retain access even after the patch is installed.

T1606 – Forge Web Credentials T1550 – Use Alternate Authentication Material
  • Forging valid authentication tokens, impersonating any user
  • Patching alone is insufficient – machine keys must be rotated
  • Microsoft recommends rotating machine keys in addition to the update
PHASE 5/5 · Impact

Full compromise of SharePoint servers with persistent access and 'ToolShell-class impact'.

  • watchTowr classifies the damage potential as 'ToolShell-class impact'
  • Reference ToolShell 2025 (CVE-2025-53770/53771): over 400 organizations compromised
  • Added to CISA KEV catalog on 2026-07-22, patch deadline 2026-07-25
  • Affected: Subscription Edition, 2019, 2016 (on-premises), not SharePoint Online
Short & clear answers
Frequently asked questions about this incident
Am I affected by CVE-2026-50522?
Only self-hosted on-premises versions of SharePoint Server are affected: Subscription Edition (before build 16.0.19725.20434), 2019 (before build 16.0.10417.20175) and Enterprise Server 2016 (before build 16.0.5561.1001). If you use SharePoint Online via Microsoft 365, you are not affected, as Microsoft patches the cloud version centrally. Check your build number in Central Administration under 'System Settings' > 'Manage servers in this farm'.
What do I need to do right now?
Immediately install the Microsoft updates from July 14, 2026 on all SharePoint farms: KB5002882 (Subscription Edition), KB5002883 (2019) or KB5002891 (2016). Search your system FIRST for signs of intrusion and machine key theft before rotating the keys. Verify the patch was successful by checking the build numbers.
Why isn't installing the patch alone enough?
With a single request, attackers can extract the IIS machine keys — cryptographic keys they can use to forge valid authentication tokens. With these keys, they retain persistent access even after the patch is installed. That is why watchTowr and Microsoft recommend rotating the machine keys on all potentially exposed systems.
How can I tell if my server has already been compromised?
Check the IIS logs (default path C:\inetpub\logs\LogFiles\) for suspicious POST requests to /_trust/default.aspx, especially those without authentication or with unusually large payloads. Look in Defender/AMSI logs for signatures such as Exploit:Script/ToolPaneAuthBypass.A or Backdoor:MSIL/LeakFang.A!dha. Also watch for new admin accounts, modified web.config files, unknown scheduled tasks and suspicious .aspx files (webshells).
How dangerous is this vulnerability really?
With a CVSS score of 9.8 out of 10, it is one of the highest severity ratings, and it has been actively exploited since July 20, 2026 following the release of a proof-of-concept. The attack works directly from the internet, without a password, without user interaction and with low complexity. CISA added the flaw to its KEV catalog on July 22, 2026; watchTowr describes it as 'ToolShell-class impact', referencing the 2025 attack wave that compromised over 400 organizations.
More security news
You might also be interested in
Critical Elementor Pro Flaw: Attackers Can Fully Take Over WordPress Sites
A file upload bug in Elementor Pro up to 4.2.1 allows RCE without login. Version 4.2.2 fixes the flaw – update now!
Pods Plugin: Critical Flaw Enables Admin Takeover, No Login
A critical flaw in the WordPress plugin Pods lets attackers overwrite admin passwords without login. Over 100,000 sites are affected.
miniOrange SAML SSO: Critical Bypass Turns Attackers Into Admins
Two critical auth bypasses in the miniOrange SAML SSO plugin allow forged SAML assertions—up to full WordPress admin access.