Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2026-55040: JWT authentication bypass in Microsoft SharePoint Server

Published Jul 14, 2026 · Updated today
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
CVSS9.1Critical · v3.1
EPSS69.5%99th percentile
CISA KEVYesAdded Aug 18, 2026
In the wildActivePer CISA KEV
Vendor
Microsoft Corporation
IdentifiersCVE-2026-55040CWE-1390 · Weak Authentication

CVE-2026-55040 is a critical authentication-bypass vulnerability in the service-to-service JWT validation pipeline of on-premises Microsoft SharePoint Server 2016, SharePoint Server 2019, and SharePoint Server Subscription Edition. Weak validation in SPJsonWebSecurityTokenHandlerV2 and SPJsonWebSecurityBaseTokenHandlerV2 permits acceptance of an unsigned outer token and an embedded actor token whose signature is not cryptographically verified. Insufficient signing-key and issuer validation allows attackers to use publicly retrievable SharePoint security token service certificate information to construct accepted tokens. A remote, unauthenticated attacker who knows a target user's identifier can impersonate that user, including a SharePoint site administrator. The vulnerability has a CVSS v3.1 score of 9.1. Exploitation was observed after public proof-of-concept disclosure in August 2026, and CISA added it to the Known Exploited Vulnerabilities catalog on August 18, 2026. SharePoint Online is unaffected.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation compromises SharePoint authentication, allowing unauthorized access to protected resources and operations with the impersonated user's permissions. Direct consequences include sensitive-file disclosure, data modification, and SharePoint administrative access when an administrator is impersonated. The standalone vulnerability has high confidentiality and integrity impact but no direct availability impact. When chained with the separate CVE-2026-63520 vulnerability in Business Connectivity Services, it can enable unauthenticated remote code execution under the SharePoint site's service account; code execution is not an intrinsic capability of this authentication bypass alone.

Mitigation

If you can’t patch tonight, do this now.

Reduce exposure by removing direct public access where feasible or placing SharePoint behind an authenticating and inspecting Layer 7 reverse proxy. Restrict external access to Central Administration and limit farm and database communications to necessary systems. Monitor for anomalous service-to-service Bearer-token authentication, unexpected administrator activity, unusual authentication-context requests, and unauthorized Business Data Connectivity model uploads. These measures reduce risk but do not replace patching; no vulnerability-specific configuration workaround is established.

Remediation

Patch, then assume compromise.

Apply Microsoft's July 2026 SharePoint security updates or subsequent cumulative updates that include the fix to every server in the affected farm, and complete the required SharePoint configuration process on each server. Identified fixed builds are 16.0.5561.1001 for SharePoint Server 2016, 16.0.10417.20175 for SharePoint Server 2019, and 16.0.19725.20434 for SharePoint Server Subscription Edition. Also apply the August 2026 updates or later cumulative updates to address CVE-2026-63520 and close the associated remote-code-execution chain. Verify installed build numbers and investigate previously exposed systems for compromise; patching does not remove established attacker access.

Public exploits

Exploits

4 exploits validated by Mallory's analysis. Hidden: 2 rejected by Mallory's analysis as not a working exploit.

View more in app →
CVE-2026-55040This repository is a small standalone Python exploit for CVE-2026-55040 targeting Microsoft SharePoint. It contains only two files: a brief README and a single executable script, gettoken.py. The script uses requests to contact a target SharePoint site over HTTPS, specifically the metadata endpoint /_layouts/15/metadata/json/1, then parses the JSON response to extract the issuer value and the first certificate key blob. It computes a SHA-1 digest of the decoded certificate to derive an x5t thumbprint, constructs an actor JWT-like token, and then creates an outer unsigned token with alg set to none. The resulting token includes claims such as issuer, audience, nameid, and an embedded actortoken, enabling impersonation of an arbitrary account identity supplied via -n/--name or defaulting to c#.w|NT AUTHORITY\LOCAL SERVICE. The exploit does not deliver code execution or a shell; its main capability is authentication bypass/forged token generation for privilege impersonation against a vulnerable SharePoint deployment. The script disables TLS verification warnings and explicitly requires an HTTPS target, printing a Microsoft guidance URL otherwise. Overall, this is an operational proof-of-concept token forgery utility rather than a scanner or detection script.l0ggg · Disclosed Jul 28, 2026 · python · markdown · web · networkOperationalCVE-2026-55040The repository contains one standalone Python 3 exploit script, CVE-2026-55040.py (approximately 29 KB), with no identified exploitation framework dependency. It implements an end-to-end claimed Microsoft SharePoint authentication-bypass-to-RCE chain. The script first discovers token inputs such as realm and x5t from SharePoint STS metadata and attempts identity discovery through optional impacket SMB/LSARPC SID/RID enumeration; alternatively, it accepts a UPN/SID or uses a local-service identity fallback. It then creates an alg:none JWT containing a trustedfordelegation-style claim, uses that token to call SharePoint's context-info REST API for a request digest, uploads a C# ASPX command shell using SharePoint REST file operations, and requests the shell with a configurable command. HTTP is implemented with Python standard-library sockets/http.client and deliberately disables TLS certificate verification; it also supports an IP override while retaining a target hostname in Host/SNI. The script is operational rather than merely a detector because it includes a deployable webshell and arbitrary command execution. The source comment references a different CVE (CVE-2026-63520) than the script name/claimed target (CVE-2026-55040), so the claimed CVE association should be independently validated before relying on it.zenzue · Disclosed Aug 26, 2026 · python · csharp · web · networkOperationalCVE-2026-63520The repository contains a README and one standalone Python exploit, poc.py; it is not a Metasploit, Nuclei, or other framework module. The script implements a claimed unauthenticated SharePoint RCE chain against CVE-2026-55040 and CVE-2026-63520. First, it requests public SharePoint STS metadata to recover the token realm and calculate an x5t value from the advertised signing certificate. It also performs optional NTLM and TLS-certificate reconnaissance to identify target naming information. It then constructs nested JWTs: an unsigned outer token (alg:none) that carries a selected user identity and an inner RS256-formatted actor token with a non-empty dummy signature and the recovered x5t. The README and code identify SID, UPN, and limited AccessToken identity modes; optional impacket-assisted domain-SID discovery is available through --domain-ip. After confirming access, the script generates a malicious BDCM XML model, creates a BusinessDataMetadataCatalog location, uploads the model, refreshes SharePoint request digests, and invokes ProcessQuery to cause BDC unsafe type resolution. The intended gadget is System.Windows.Data.ObjectDataProvider, configured to call Process.Start on a user-controlled executable and argument string. This yields arbitrary command execution under the SharePoint service/application-pool identity. The command is configurable through --cmd, while --check-only stops after authentication-bypass validation.hypnguyen1209 · Disclosed Aug 26, 2026 · python · markdown · web · networkOperationalCVE-2026-55040Repository contains a single Python proof-of-concept exploit script and a README. The main file, CVE-2026-55040.py, targets Microsoft SharePoint authentication bypass CVE-2026-55040 by forging JWT tokens with attacker-controlled identity claims. The script supports multiple identity modes: a default LOCAL SERVICE AccessToken identity, a SID-based Active Directory identity, or a UPN-based Active Directory identity. Its workflow is: auto-discover SharePoint token-signing metadata (x5t and realm), optionally discover domain SID and enumerate RIDs via SMB/LSARPC against a domain controller to locate a valid site admin, forge a JWT, then call SharePoint to obtain a form digest for authenticated follow-on requests. The code uses curl as an external HTTP client, supports direct host-to-IP resolution overrides, inspects HTTPS certificates to derive names, and is clearly intended as an exploitation aid rather than mere detection. The README documents usage patterns and shows that successful exploitation yields authenticated access and digest retrieval, while also noting that the script stops short of implementing the final RCE chain ('Step 4: ...RCE...').sfewer-r7 · Disclosed Aug 6, 2026 · python · markdown · web · networkPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Microsoft CorporationSharepoint Serverapplication
Microsoft CorporationSharepoint Server 2016application
Microsoft CorporationSharepoint Server 2019application
FAQ

Frequently asked questions

Is CVE-2026-55040 exploited in the wild?
Yes. As of Dec 4, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Aug 18, 2026.
Is there a public exploit for CVE-2026-55040?
Yes. Mallory tracks 4 public exploits or proofs of concept for CVE-2026-55040, the earliest disclosed Jul 28, 2026.
Is there a patch for CVE-2026-55040?
Apply Microsoft's July 2026 SharePoint security updates or subsequent cumulative updates that include the fix to every server in the affected farm, and complete the required SharePoint configuration process on each server. Identified fixed builds are 16.0.5561.1001 for SharePoint Server 2016, 16.0.10417.20175 for SharePoint Server 2019, and 16.0.19725.20434 for SharePoint Server Subscription Edition.
What products are affected by CVE-2026-55040?
Microsoft Corporation Sharepoint Server, Microsoft Corporation Sharepoint Server 2016, and Microsoft Corporation Sharepoint Server 2019.
How severe is CVE-2026-55040?
CVE-2026-55040 has a CVSS v3.1 score of 9.1 (Critical) and an EPSS score of 69.5% (99th percentile) as of Dec 4, 2026.
Activity feed

Recent activity

294 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+31 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signatures3YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity160Community discussion across Reddit, Mastodon, and other social sources.