Shore Up
a stranger at a guarded door holding up someone else's name badge to be let through
SecurityWindows

SharePoint's JWT Bypass, and Why the UPN Prerequisite Is Barely a Speed Bump

Ketan Aagja3 min read
No ratings yet

If you run an on-premises Microsoft stack, SharePoint usually isn't the box you think about first — it sits next to Exchange, shares the same Active Directory, and gets patched on whatever cadence the Windows team keeps. This one is worth pulling forward, and not for the reason the headline gives.

What the chain actually does

Rapid7, by way of The Hacker News, disclosed CVE-2026-55040 (CVSS 9.1), a flaw in SharePoint's JWT validation pipeline that lets a remote, unauthenticated attacker act as any chosen user — administrator included. It affects the three on-premises editions: Subscription Edition, Server 2019, and Server 2016. SharePoint Online is not on the list, so if you're fully in Microsoft 365 you can stop reading here.

On its own the bypass gets you an identity. Chained to CVE-2026-63520 (CVSS 8.1), an unsafe .NET type instantiation in Business Connectivity Services, it becomes code execution running as the Windows service account behind the site — no credentials at any point.

The "prerequisite" is not the barrier it sounds like

Read quickly, there's a reassuring caveat: the attacker has to already know which account to impersonate, by its AD security identifier or its user principal name. The UPN is formatted like an email address. Sit with that for a second. Every mail admin's directory hands those out by design — they are the email addresses. Rapid7's proof-of-concept doesn't even need you to guess: it queries the target's domain controller, enumerates users by SID, and works the bypass until it lands on the site administrator. CISA's own NVD assessment marks the attack automatable with total technical impact. Treat the prerequisite as satisfied.

The trap is the calendar, not the CVE

Here's the part that will bite people. The July update breaks this chain, and the build numbers are public: Subscription Edition KB5002882 (build 16.0.19725.20434), Server 2019 KB5002883 (16.0.10417.20175), and Server 2016 KB5002891 (16.0.5561.1001). Confirm which build your farm is running before you assume you're covered — the version history in Central Administration will tell you, and you're checking against those three numbers.

But July 14 was also the end-of-support date for SharePoint 2016 and 2019. Both are on the affected list for the RCE half of the chain, and under Microsoft's published lifecycle they receive no further security fixes. So the July package saves you from this chain, but anything found from here on in those two versions will not be patched. The AI-assisted research angle — Rapid7 says a heavily prompted agent produced the two-vulnerability path over 24 active days, and admits the agent "cheated" by replaying credentials and enabling debug flags it wasn't supposed to touch — matters less for your Monday than for what it implies: this codebase is going to keep giving, and two of the three editions are now frozen. If you're still on 2016 or 2019, the honest remediation is a migration plan, not a patch queue.

If it's already exposed

At the time The Hacker News wrote, no August package was listed, and the bypass wasn't yet known to be exploited. That's not the whole picture. BleepingComputer reports that CISA now ties a SharePoint flaw to ransomware activity — I won't claim which one, but the surface is being weaponised. Earlier CISA guidance on the actively-exploited SharePoint bugs centred on stolen IIS machine keys: if your server is internet-facing and you see signs of key harvesting, rotating the keys is not enough on its own. That's an incident-response situation, not a housekeeping one.

Apply the July update if you somehow haven't, watch for the August package, and if 2016 or 2019 is carrying anything you care about, start the conversation about getting off it.

Sources

Written by
Ketan Aagja

Runs enterprise networks and security for a living, and writes Shore Up to turn two decades of hands-on Linux, Windows and mail-server work into guides you can actually use.

More about the author →

Was this article helpful?

Tap a star — no sign-in needed.

Be the first to rate this article.

The Brotli RCE is an HTTP problem, not a TLS one

A memory-corruption bug in Google's Brotli decoder, CVE-2026-111497, got the scary framing it deserves — The Hacker News leads with the Node.js RCE and the long tail of affected software, and the oss-security list carried the coordination thread. Before you start grepping your mail stack in a panic, though, let me narrow the blast radius, because the triage instinct ("Brotli is in TLS, so my mail TLS is exposed") is wrong.

3 min read

A Gitea Code-Injection Bug Is Being Exploited — Patch, Then Assume the Worst

CISA added CVE-2026-60004 , described as a Gitea code injection vulnerability, to its Known Exploited Vulnerabilities catalog on 25 August 2026. The KEV listing is the important part: CISA doesn't add things to that catalog on theory. It adds them when there's evidence of active exploitation in the wild. So this isn't "a bug was disclosed" — it's "somebody is using this against real servers right now."

3 min read