T The Triage ManualTechnical Guides for IT Emergencies
P1 · Microsoft 365 & Collaboration

Microsoft SharePoint Server JWT Token Authentication Bypass — CVE-2026-55040 (Unauthenticated Impersonation via Forged Actor Token)

A critical authentication bypass in Microsoft SharePoint Server Subscription Edition allows unauthenticated remote attackers to forge JWT tokens and impersonate any site user or administrator. The vulnerability chains four weaknesses in SPJsonWebSecurityTokenHandlerV2 and SPJsonWebSecurityBaseTokenHandlerV2 classes within Microsoft.SharePoint.IdentityModel.dll, bypassing signature validation on nested 'actor tokens'. Remediation requires applying Microsoft's July 14, 2026 security update and running PSConfig across all farm servers.

Indicators

Likely causes

Diagnostic steps

  1. Run the following PowerShell on each SharePoint server to identify the current build: (Get-SPFarm).BuildVersion
    Determine whether the farm is running the vulnerable build (16.0.19725.20210 or earlier unpatched equivalent) compared to the patched July 14, 2026 release.
  2. Inventory all SharePoint front-end web servers exposing endpoints that accept Bearer tokens via the Authorization header. Check IIS bindings and firewall rules to confirm external reachability.
    Establish the external attack surface for the JWT authentication bypass vulnerability.
  3. Review IIS logs (typically C:\inetpub\logs\LogFiles) for requests containing 'Authorization: Bearer' headers from unusual source IPs or without prior federated authentication traffic. Use LogParser or grep: findstr /i "Bearer" u_ex*.log
    Detect potential exploitation attempts leveraging forged JWTs against SPApplicationAuthenticationModuleV2.TryExtractAndValidateToken().
  4. Correlate SharePoint audit logs (site/administrative actions via Site Settings > Audit log reports) with Entra ID/ADFS authentication logs to identify actions performed by identities lacking a corresponding valid sign-in event.
    Identify possible impersonation via forged actor tokens indicating active exploitation.
  5. On a non-production SharePoint instance mirroring production patch level, run the Rapid7 Labs published proof-of-concept for CVE-2026-55040 to confirm exploitability.
    Validate that the vulnerable code path is exercisable in your environment prior to patch deployment.
  6. During a suspected exploit attempt, capture a w3wp.exe process dump using procdump -ma <PID> or attach WinDbg. Examine the call stack for SPJsonWebSecurityTokenHandlerV2.ValidateToken being reached without legitimate signing certificate validation.
    Provide forensic confirmation that the vulnerable code path in Microsoft.SharePoint.IdentityModel.dll is being exercised by an attacker.

Resolution path

Prevention

Tools

References

SharePointCVE-2026-55040authentication-bypassJWTS2SMicrosoft.SharePoint.IdentityModelSPJsonWebSecurityTokenHandlerV2Rapid7patchingidentityimpersonationcritical-vulnerabilityzero-day