Microsoft patched this JWT flaw back in July. A public proof-of-concept turned it into real attacks in under 48 hours — here's exactly what's broken and how to check if you're exposed.
Microsoft patched CVE-2026-55040 on July 14, folded quietly into that month's Patch Tuesday batch. It sat mostly ignored for four weeks. Then on August 11, security firm Rapid7 published a full technical writeup and a working Python proof-of-concept — and within 48 hours, real attackers were using it to forge admin access on unpatched SharePoint servers.
How attackers skip the login screen entirely
This isn't a stolen-password story. CVE-2026-55040 chains several separate weaknesses in how on-premises SharePoint validates JSON Web Tokens, and the end result is an attacker who never had credentials being treated as a real, known user. All they need is that user's Active Directory SID or UPN — both of which are routinely guessable or discoverable from a company's own public-facing directory or Outlook autodiscover setup.
Rapid7's proof-of-concept doesn't stop at proving the bug exists. It's built to be useful to an attacker: the script forges the token, then automatically queries the target's own domain controller to enumerate users by SID and locate a site administrator to impersonate. Once impersonating that admin, the attacker can read and modify SharePoint content as them — and in observed attacks, this bypass has been chained with a separate remote-code-execution flaw for full, unauthenticated compromise of the server itself.
What's affected
SharePoint Enterprise Server 2016
Product
Vulnerable pre-patch
Status
16.0.5561.1001
SharePoint Server 2019
Product
Vulnerable pre-patch
Status
16.0.10417.20175
SharePoint Server Subscription Edition
Product
Vulnerable pre-patch
Status
16.0.19725.20434
Product
Status
Fixed version
SharePoint Enterprise Server 2016
Vulnerable pre-patch
16.0.5561.1001
SharePoint Server 2019
Vulnerable pre-patch
16.0.10417.20175
SharePoint Server Subscription Edition
Vulnerable pre-patch
16.0.19725.20434
Weaponized in under 48 hours
KEV Intelligence, which tracks confirmed exploitation attempts, logged 12 total hits against CVE-2026-55040 going back to mid-July — a handful of early, quiet probes before the technical detail was public. Then the PoC dropped on August 11, and 8 of those 12 attempts landed in the 48 hours that followed, on August 12 and 13 alone. That's not a coincidence; that's a proof-of-concept doing exactly what it was designed to demonstrate, just in the wrong hands.
On-premises SharePoint servers are the target here — Microsoft's cloud-hosted SharePoint Online uses a different auth stack and isn't affected. · Unsplash
Are you actually exposed
You're only at risk if you run SharePoint on-premises (Enterprise Server 2016, Server 2019, or Subscription Edition) — SharePoint Online in Microsoft 365 isn't affected.
Check your build number against the patched versions above; anything older is vulnerable.
If you can't patch immediately, pull the server off the open internet or gate access behind VPN and MFA until you can.
Check IIS and SharePoint ULS logs for unusual JWT-bearing requests or unexpected user-impersonation events from August 11 onward — that's when public exploitation began.
Is SharePoint Online (Microsoft 365) affected by CVE-2026-55040?
No. This is an on-premises-only flaw in Enterprise Server 2016, Server 2019, and Subscription Edition. SharePoint Online uses a different authentication stack and isn't exposed.
Do I need anything besides the July patch?
No — the July 14, 2026 update fully closes CVE-2026-55040. If you're already on the patched build numbers above, this specific bug is closed for you. The urgency is for anyone who hasn't applied it yet.
How would I know if I've already been hit?
Look for JWT-bearing requests to unusual endpoints and impersonation events in your SharePoint ULS and IIS logs from August 11 onward, when public exploitation began.
Why is this rated 9.1 and not a perfect 10?
Rapid7's writeup notes the bug lets an attacker read and modify data as an impersonated user but doesn't directly let them take the server offline — that leaves availability impact, and therefore the score, just under the maximum.
Shadowserver's count of 8,500+ still-exposed servers means this isn't close to over. If patching hasn't happened yet, do it before reading the next headline about it — the four weeks of quiet between the fix and the first mass exploitation wave is exactly the kind of grace period that doesn't repeat.