What is Microsoft SharePoint Server?
SharePoint Server is Microsoft's on-premises collaboration and document management platform. It stores intranet content, document libraries, and business process data, and it integrates directly with Active Directory for identity. Many deployments are published to the internet to support extranet access or remote staff.
That makes an on-premises SharePoint farm an unusually rich target: it holds the documents an organisation considers worth centralising, it authenticates against the domain, and it runs privileged server-side code. The 2025 ToolShell exploitation wave established on-prem SharePoint as a reliable initial-access target for both criminal and state-aligned actors — this CVE lands in that same context.
Overview
CVE-2026-55040 is a weak authentication flaw (CWE-1390) in SharePoint's JSON Web Token validation. Four independent weaknesses in the token-handling code combine to let an unauthenticated remote attacker forge a valid-looking JWT and act as any SharePoint site user, including a site administrator. CVSS 3.1 base score is 9.1 (AV:N/AC:L/PR:N/UI:N/C:H/I:H/A:N).
Microsoft fixed it in the July 2026 Patch Tuesday release, coordinated with reporter Rapid7. Rapid7 published a full technical analysis and a working proof-of-concept on 2026-08-13, and exploitation attempts spiked within hours. CISA added the CVE to KEV on 2026-08-18 with a 2026-08-21 deadline.
Affected Versions
| Product | Affected (below) | Fixed build | Update |
|---|---|---|---|
| SharePoint Server Subscription Edition | 16.0.19725.20434 | 16.0.19725.20434 | KB5002882 |
| SharePoint Server 2019 | 16.0.10417.20175 | 16.0.10417.20175 | KB5002883 |
| SharePoint Enterprise Server 2016 | 16.0.5561.1001 | 16.0.5561.1001 | KB5002891 |
The advisory addresses on-premises SharePoint Server; SharePoint Online is not listed as affected.
Technical Details
The flaw lives in the SPJsonWebSecurityTokenHandlerV2 and SPJsonWebSecurityBaseTokenHandlerV2 classes. No single defect here is sufficient on its own — the bypass is a chain of four validation failures:
- Signed tokens not required. Outer token validation explicitly sets
RequireSignedTokens = false, so a token declaringalg: noneskips cryptographic verification entirely. - Unverified
x5tkey resolution. The inner actor token's signing key is resolved from thex5t(X.509 certificate thumbprint) header without ever verifying that the signature validates against the resolved key. - Unregistered certificates accepted. When a certificate is not present in
TrustedSecurityTokenServices, issuer validation accepts the issuer unconditionally instead of rejecting it. - Signature check is not cryptographic.
GetTokenSignatureonly requires that the signature value be non-empty. A literal string such asAAAAsatisfies it.
Forging the token. The attacker builds a nested JWT: an outer token using alg: none, wrapping an actor token whose x5t header points at SharePoint's own STS certificate thumbprint, carrying an arbitrary signature string and the target identity in the nameid claim.
Prerequisites are modest. The target hostname and realm GUID are both publicly discoverable — the realm and STS certificate can be retrieved unauthenticated from /_layouts/15/metadata/json/1. The attacker must also name the identity to impersonate: a SID (enumerable with domain controller access) or, more simply, a User Principal Name. No valid credentials are needed at any point.
Discovery
Reported by Stephen Fewer of Rapid7, disclosed in coordination with Microsoft on 2026-07-14. Rapid7 released the detailed root-cause analysis and proof-of-concept on 2026-08-13.
Rapid7 also chained this bypass with a separate, then-unpatched RCE vulnerability to achieve full unauthenticated remote code execution. That second bug was reported separately and scheduled for an August 2026 fix — applying the July update breaks the chain by removing the authentication weakness it depends on.
Exploitation Context
Exploitation tracks the PoC release closely. KEVIntel telemetry recorded 12 exploitation attempts since 2026-07-19, with 8 of them on 12–13 August — clustered directly on the publication of Rapid7's analysis. Traffic came from 8 unique IP addresses across five countries and regions: Hong Kong, Japan, the Netherlands, Taiwan, and the United States. Defused Cyber independently tracked actors using the public exploit.
Rapid7's PoC does more than forge a token: it uses the forged JWT to query the target's domain controller, enumerate users by SID, and automatically locate a site administrator to impersonate. Attribution and end goals remain unclear.
The practical concern is that the authentication bypass is a stepping stone. Site-administrator access to a SharePoint farm typically leads to server-side code execution paths, credential material, and lateral movement into the domain.
Remediation
- Apply the July 2026 update for your edition — KB5002882 (Subscription Edition), KB5002883 (2019), or KB5002891 (Enterprise Server 2016). There are no documented interim mitigations.
- Treat unpatched internet-facing farms as compromised. The PoC has been public since 13 August and exploitation is confirmed.
- Hunt in IIS logs for unauthenticated requests to
/_layouts/15/metadata/json/1(realm and STS certificate reconnaissance), and for authenticated activity that has no corresponding sign-in event. - Review site collection administrator membership and permission changes for entries you cannot account for.
- Audit for follow-on execution — new or modified web parts, unexpected files in the layouts directory, and
w3wp.exespawning child processes. - Rotate credentials and secrets reachable from the farm — service accounts, connection strings, and the farm account — if you find evidence of impersonation.
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2026-55040 |
| Vendor / Product | Microsoft — SharePoint |
| NVD Published | 2026-07-14 |
| NVD Last Modified | 2026-08-19 |
| CVSS 3.1 Score | 9.1 |
| CVSS 3.1 Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| Severity | CRITICAL |
| CWE | CWE-1390 find similar ↗ |
| CISA KEV Added | 2026-08-18 |
| CISA KEV Deadline | 2026-08-21 |
| Known Ransomware Use | No |
CVSS 3.1 Breakdown
Required Action
Timeline
| Date | Event |
|---|---|
| 2026-07-14 | Rapid7 and Microsoft coordinate disclosure; fix ships in July 2026 Patch Tuesday |
| 2026-07-19 | First exploitation attempt recorded in KEVIntel telemetry |
| 2026-08-13 | Rapid7 publishes technical analysis and proof-of-concept; exploitation spikes within hours |
| 2026-08-18 | Added to CISA Known Exploited Vulnerabilities catalog |
| 2026-08-21 | CISA BOD 26-04 remediation deadline |
References
| Resource | Type |
|---|---|
| Microsoft Security Response Center — CVE-2026-55040 | Vendor Advisory |
| Rapid7 — SharePoint JWT Token Authentication Bypass Technical Analysis | Security Research |
| Rapid7 — CVE-2026-55040 Disclosure and Affected Builds | Security Research |
| The Hacker News — Attackers Exploit SharePoint Authentication Bypass After PoC Release | News |
| SecurityWeek — SharePoint Vulnerability Exploited Shortly After PoC Release | News |
| NVD — CVE-2026-55040 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |