SharePoint CVE-2026-50522: rotate your machine keys
A CVSS 9.8 SharePoint RCE is under active exploitation to steal machine keys. Patching alone leaves the attacker logged in — rotate keys and restart IIS.
There's a class of vulnerability where applying the patch and calling it done is worse than useless, because it tells you the job is finished when it isn't. SharePoint CVE-2026-50522 is that class. It's a CVSS 9.8 unauthenticated remote code execution flaw in on-prem SharePoint, it's being exploited in the wild, and what attackers are taking is your machine keys — the cryptographic material that lets them keep minting valid sessions long after the update installs.
What actually happened
Microsoft shipped the fix for CVE-2026-50522 in its July 14 security updates. It's a deserialization-of-untrusted-data flaw affecting SharePoint Server 2016, 2019, and Subscription Edition. Microsoft's advisory framed it as requiring at least Site Owner access; Defused reported that the requests it captured in the wild carried no authentication material at all. Believe the packet capture.
The timeline is tight. Defused saw undocumented SharePoint deserialization attacks starting July 17. On July 20, watchTowr identified public proof-of-concept code, and per BleepingComputer, its honeypot network was capturing successful exploitation within hours. The payload goes to SharePoint's /_trust/default.aspx sign-in endpoint as a forged security token.
The goal isn't a webshell. It's the ASP.NET machine keys. With those, an attacker forges their own authentication tokens and impersonates any user with access to your sites and documents — no exploit needed, because they're not exploiting anything anymore. They're just signing in. This is the third SharePoint flaw exploited in the wild in 2026.
Why patch-and-forget fails your business
The mental model most small teams carry is that a CVE is a hole and a patch is a plug. That works for memory-corruption bugs. It does not work when the payload is credential theft, because the patch closes the door the thief used and leaves the copied keys in their pocket.
So the remediation is three steps, not one. Apply the July updates. Rotate the machine keys. Restart IIS so the new keys take effect. Skip step two and you have a patched server that a prior visitor can still authenticate to.
Then ask the harder question: why is a SharePoint server answering unauthenticated requests from the internet at all? For most companies under 200 people, on-prem SharePoint is inherited infrastructure — stood up by a consultant, still holding contracts and HR files, on nobody's patch calendar. If that describes yours, the CVE is a symptom. The exposure is the real finding.
Key takeaways
- CVE-2026-50522 is a CVSS 9.8 unauthenticated RCE in on-prem SharePoint 2016, 2019, and Subscription Edition, patched July 14
- Public PoC landed July 20 and exploitation followed within hours — attackers are pulling machine keys in a single request
- Patching alone is not remediation: rotate ASP.NET machine keys and restart IIS, or stolen keys keep minting valid sessions
- If an inherited SharePoint box is internet-facing and off your patch calendar, the exposure is the finding — not this one CVE
Do you know what your business still runs on-prem? We inventory the forgotten servers, get them patched or retired, and move the documents people actually use somewhere you don't have to babysit. See how we harden small-business infrastructure or book an audit.
Sources: BleepingComputer, The Hacker News, Microsoft Security Update Guide.
- #cve-2026-50522
- #sharepoint
- #patch-management
- #machine-keys
- #incident-response
Tommy Rush — Founder, Rush Commerce
Operator turned builder. 15+ years running operations — now shipping the systems businesses run on. More
Get The Rush Report weekly — one email, zero fluff.
Keep reading
Qualcomm's price increase hits your hardware budget
Qualcomm told customers of a double-digit price increase on chips shipped after September 1. The AI buildout is now repricing hardware that has nothing to do with AI.
Read it24,000 exposed BMCs leak hashes: close your IPMI port
A 2004 protocol flaw with no patch is handing out password hashes from 24,000 internet-exposed server BMCs. The fix is network exposure, not a firmware update.
Read it