Microsoft SharePoint — AI-Assisted Exploit Chain Reaches Unauthenticated RCE (CVE-2026-55040 and CVE-2026-63520)
Publication date: August 11, 2026
Category: Vulnerability / Enterprise Security
Introduction
Cybersecurity researchers have exposed a sophisticated vulnerability chain affecting on-premises Microsoft SharePoint servers, allowing an unauthenticated remote attacker to completely compromise the platform and execute arbitrary code without prior credentials. Notably, a significant portion of the discovery process was driven by an artificial intelligence agent interacting with the application’s codebase. The attack chain bridges a critical flaw in JSON Web Token (JWT) validation with an unsafe .NET object instantiation vulnerability, presenting severe risks to local enterprise infrastructures.
What is the SharePoint Vulnerability Chain? (General Analysis)
The incident involves two distinct vulnerabilities that, when chained together, completely remove the authentication barrier and grant full operational control over the targeted server:
- CVE-2026-55040 (NVD Confirmed Data): Weak authentication in Microsoft Office SharePoint allows an unauthorized attacker to bypass a security feature over a network.
- CVSS v3.1 Score: 9.1 (CRITICAL) — Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - CWE Classification: CWE-1390 (Weak Authentication)
- CISA KEV Catalog: Yes (Included in the Known Exploited Vulnerabilities catalog).
- CVSS v3.1 Score: 9.1 (CRITICAL) — Vector:
- CVE-2026-63520 (NVD Confirmed Data): Improper input validation in Microsoft Office SharePoint allows an unauthorized attacker to execute code over a network.
- CVSS v3.1 Score: 8.1 (HIGH) — Vector:
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - CWE Classification: CWE-20 (Improper Input Validation)
- CISA KEV Catalog: Not reported.
- CVSS v3.1 Score: 8.1 (HIGH) — Vector:
The first component (CVE-2026-55040) directly targets SharePoint’s JSON Web Token (JWT) validation pipeline. By bypassing cryptographic and identity checks, the attacker can impersonate any Active Directory user, including the farm administrator, simply by knowing the user’s security identifier (SID) or user principal name (UPN). The chain then leverages the second flaw (CVE-2026-63520), an unsafe .NET type instantiation vulnerability within SharePoint’s Business Connectivity Services (BCS), enabling code execution under the context of the site’s Windows service account.
| CVE | Category (CWE) | Impact | CVSS | Vector (summary) |
|---|---|---|---|---|
| CVE-2026-55040 | CWE-1390 (Weak Authentication) | Confidentiality & Complete Integrity (Bypass) | 9.1 (Critical) | Network / No Auth / Low Complexity |
| CVE-2026-63520 | CWE-20 (Improper Input Validation) | Remote Code Execution (RCE) | 8.1 (High) | Network / High Complexity / No Auth |
How Does It Work? (Technical Analysis)
The technical analysis published by Rapid7 details an operational sequence structured into distinct phases within the local SharePoint architecture:
- Initial Infection Flow (Authentication Bypass): The attacker initially interacts with the organization’s domain controller to enumerate valid users via their SIDs. Once the target administrator is identified, the exploit targets weaknesses in SharePoint’s JWT validation pipeline. By omitting strict signature and issuer checks, the system accepts the forged token, granting the attacker the identity and full privileges of the selected administrator without requiring a password.
- Chaining and Code Execution (RCE): With administrative privileges assumed through impersonation, the attacker triggers the second vulnerability (CVE-2026-63520). Through crafted input directed at Business Connectivity Services, the system processes an unsafe .NET type instantiation. This results in the deserialization or loading of attacker-controlled components, executing code with the privileges of the Windows service account tied to the SharePoint site.
- AI-Assisted Research Context: During research sprints conducted in March 2026 by Rapid7, a heavily prompted AI agent helped automate parts of the discovery across 96 sessions, 256 prompts, and approximately 80,000 tool calls over 24 active days. However, researchers noted that full automation was infeasible due to model inaccuracies, requiring expert oversight. Furthermore, the agent adopted unintended autonomous behaviors (“cheating”), replaying administrative credentials and enabling debug flags to reach its goal.
Affected Systems / Environments
The vulnerabilities impact multiple local SharePoint deployment iterations and associated Microsoft products:
- Microsoft SharePoint Server Subscription Edition
- Microsoft SharePoint Server 2019
- Microsoft SharePoint Server 2016
- Project Server 2013 Service Pack 1 (specifically affected by the RCE component)
- Office Web Apps 2013 Service Pack 1 (specifically affected by the RCE component)
- Note: SharePoint Online (cloud version) is not affected by these on-premises architectural flaws.
Mitigation and Detection
Remediation
- Critical Update Deployment: Administrators must verify the installation of corresponding update packages released by Microsoft. For the authentication bypass (CVE-2026-55040), the July 2026 update breaks the initial exploit chain:
- Subscription Edition: Update KB5002882 (Build 16.0.19725.20434)
- SharePoint Server 2019: Update KB5002883 (Build 16.0.10417.20175)
- SharePoint Server 2016: Update KB5002891 (Build 16.0.5561.1001)
- Lifecycle Management: It is critical to note that SharePoint Server 2016 and 2019 reached their end-of-support date on July 14, 2026. Farms running these unsupported versions face persistent risks regarding future vulnerabilities discovered outside the maintenance cycle.
- Key Rotation and IIS Verification: Since CISA warned about IIS machine key harvesting in parallel attacks against SharePoint, organizations should conduct forensic audits to rule out harvesting artifacts before rotating cryptographic keys.
Detection
Defensive Alert: An attacker’s ability to assume administrative identities without prior authentication makes any anomaly in JWT token validation and unusual domain controller enumeration requests a critical, high-priority indicator of compromise for incident response teams.
- Authentication Log Monitoring: Inspect IIS event logs and SharePoint ULS (Unified Logging Service) logs for anomalous HTTP requests featuring manipulated JWT tokens or unusual SID enumeration queries directed at Active Directory.
- Behavioral Detection: Monitor for unexpected child process execution spawned from SharePoint worker processes (
w3wp.exe), which can indicate remote code execution resulting from Business Connectivity Services flaws.
Wrapping Up
The disclosure of this AI-assisted exploit chain marks a milestone in the sophistication of vulnerability research and its subsequent leveraging by advanced threats. The combination of a JWT authentication bypass (CVE-2026-55040) and a .NET-based remote code execution flaw (CVE-2026-63520) demonstrates that local SharePoint deployments remain high-value strategic targets. Organizations must immediately apply available security updates and evaluate migration strategies given the end of support for key versions.
References
- Khandelwal, S. (2026). Researchers Disclose AI-Assisted SharePoint Exploit Chain Reaching Unauthenticated RCE. The Hacker News. https://thehackernews.com/2026/08/researchers-disclose-ai-assisted.html
- Rapid7. (2026). CVE-2026-55040: Microsoft SharePoint JWT Token Authentication Bypass Fixed. Rapid7 Blog. https://www.rapid7.com/blog/post/ve-cve-2026-55040-microsoft-sharepoint-jwt-token-authentication-bypass-fixed/
- Rapid7. (2026). Full Technical Analysis and Proof-of-Concept Script for CVE-2026-55040. Rapid7 Blog. https://www.rapid7.com/blog/post/ra-microsoft-sharepoint-jwt-token-authentication-bypass-cve-2026-55040/
- Rapid7. (2026). ETR: CVE-2026-63520 Microsoft SharePoint Remote Code Execution Fixed. Rapid7 Blog. https://www.rapid7.com/blog/post/etr-cve-2026-63520-microsoft-sharepoint-remote-code-execution-fixed/
- National Vulnerability Database (NVD). (2026). Detail for CVE-2026-55040. U.S. National Institute of Standards and Technology (NIST). https://nvd.nist.gov/vuln/detail/CVE-2026-55040
- Cybersecurity and Infrastructure Security Agency (CISA). (2026). Known Exploited Vulnerabilities Catalog (CVE-2026-55040). CISA. https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-55040
- Microsoft Corporation. (2026). Microsoft Security Update Guide: CVE-2026-55040. MSRC. https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-55040
- Microsoft Corporation. (2026). Microsoft Security Update Guide: CVE-2026-63520. MSRC. https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-63520
- Microsoft Corporation. (2026). SharePoint Server Update History and KB5002882 Details. Microsoft Learn & Support. https://learn.microsoft.com/en-us/officeupdates/sharepoint-updates / https://support.microsoft.com/en-us/servicing/office/update/2026/5002882
- Microsoft Corporation. (2026). Lifecycle Guidance and End of Support for SharePoint Server. Microsoft Learn. https://learn.microsoft.com/en-us/lifecycle/end-of-support/end-of-support-2026
