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 4 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days2 mentions · peak 1 in a dayToday
CVSS9.1Critical · v3.1
EPSS17.5%98th 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 weak-authentication vulnerability in the service-to-service JWT validation pipeline of on-premises Microsoft SharePoint Server 2016, 2019, and Subscription Edition. The affected SPJsonWebSecurityTokenHandlerV2 and SPJsonWebSecurityBaseTokenHandlerV2 token handlers accept an unsigned outer token and inadequately validate an embedded actor token's signature and issuer trust. An unauthenticated remote attacker can forge authentication tokens and impersonate a SharePoint user, including a site administrator, using a known target user identifier. SharePoint Online is unaffected. The vulnerability has a CVSS v3.1 score of 9.1. Exploitation was observed following public proof-of-concept disclosure in August 2026, and CISA added it to the Known Exploited Vulnerabilities catalog on August 18, 2026.

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 confidentiality and integrity by allowing unauthorized access to SharePoint files and modification of data with the impersonated account's permissions. Impersonating a site administrator enables privileged SharePoint operations. The vulnerability alone has no identified direct availability impact and does not independently provide operating-system code execution. Chaining it with the separate CVE-2026-63520 Business Connectivity Services vulnerability can enable unauthenticated remote code execution under the SharePoint site's service account.

Mitigation

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

Until patching is complete, remove unnecessary direct internet exposure and restrict SharePoint access to trusted networks. Where external access is necessary, place SharePoint behind an authenticating and inspecting Layer 7 reverse proxy, and prevent external access to Central Administration. Monitor IIS and SharePoint authentication telemetry for anomalous service-to-service Bearer tokens, unexpected administrator activity, and unusual form-digest requests. Investigate unexpected Business Data Connectivity model uploads and suspicious processes associated with the SharePoint service account for possible chained exploitation. These measures reduce exposure but do not replace the security update.

Remediation

Patch, then assume compromise.

Apply Microsoft's July 14, 2026 SharePoint security updates or a superseding cumulative update to every affected farm server. 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. Complete Microsoft's required post-update configuration process on every farm server and verify installed build numbers. Apply the August 2026 updates or later cumulative updates as well to remediate the companion CVE-2026-63520 remote-code-execution vulnerability. Investigate potentially exposed systems for prior 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 Nov 24, 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 14, 2026 SharePoint security updates or a superseding cumulative update to every affected farm server. 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 17.5% (98th percentile) as of Nov 24, 2026.
Activity feed

Recent activity

293 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.