Microsoft SharePoint Upload Page Path Traversal and RCE
Score: 9/10

Microsoft SharePoint Upload Page Path Traversal and RCE

Authenticated attackers can exploit a path traversal vulnerability in SharePoint's Upload.aspx to upload ASPX webshells and achieve remote code execution.

Executive Summary

A critical path traversal vulnerability (CVE-2026-45454) has been identified in Microsoft SharePoint Server's file upload functionality (`Upload.aspx`). This vulnerability stems from a failure to validate that the destination folder, specified via the `RootFolder` parameter, belongs to the document library authorized by the `List` parameter. An authenticated attacker with basic upload permissions can bypass intended restrictions to write files to sensitive directories.

The most severe impact occurs when attackers target the Master Page Gallery (`/_catalogs/masterpage`). In many production environments, this directory is configured to allow server-side scripts. By uploading a crafted ASPX webshell to this location, attackers can achieve full remote code execution (RCE) under the context of the SharePoint application pool identity (`w3wp.exe`). Microsoft released patches for this vulnerability in June 2026 across SharePoint 2016, 2019, and Subscription Edition.

While Microsoft initially rated the vulnerability as 'Medium' severity with a focus on confidentiality, security researchers have demonstrated high-integrity impact through unauthorized file writes and subsequent system compromise. Organizations utilizing custom branding or master pages are at elevated risk due to common configurations that facilitate the RCE chain.

Key Details

Threat Name

CVE-2026-45454

Affects

Microsoft SharePoint Server 2019, Microsoft SharePoint Enterprise Server 2016, Microsoft SharePoint Server Subscription Edition

Adversary

—

MITRE Techniques

Malware/Tools

None identified

Report Score

9out of 10
Quality Score
Excellent
IOC Quality7
TTP Details9
Detection Guidance9
Enterprise Relevance9
Clarity & Structure10
Technical Depth10

Sources