Back to Intelligence

CVE-2026-70193: Critical SharePoint Path Traversal RCE (CVSS 9.9) — Detection, Hunting, and Remediation Guide

SA
Security Arsenal Team
November 23, 2026
13 min read

NVD has published CVE-2026-70193, a CVSS 9.9 (Critical) vulnerability in Microsoft Office SharePoint — one of the most widely deployed collaboration platforms in enterprise environments. The flaw is an improper limitation of a pathname to a restricted directory (path traversal, CWE-22) that allows an authorized attacker to execute code remotely over the network.

Let me be direct about why this matters to your organization. SharePoint sits at the intersection of your most sensitive data — documents, credentials stored in service accounts, integration points with M365 — and it is internet-facing in a significant percentage of environments we assess. A network-reachable, near-maximum-severity RCE in SharePoint is precisely the class of vulnerability that ransomware affiliates and state-sponsored operators scan for within hours of public disclosure. The 2025 exploitation waves against SharePoint (which forced emergency patching across thousands of organizations and multiple CISA emergency directives) demonstrated exactly how fast this attack surface gets weaponized.

The CVSS 9.9 score with an 'authorized attacker' prerequisite deserves unpacking. This is not an unauthenticated bug — but do not let that lower your urgency. 'Authorized' in a SharePoint context can mean a low-privilege site member, a compromised user account, a stolen session token, or a misconfigured anonymous-access site. Post-compromise, this is a privilege-escalation-to-code-execution primitive running in the context of the SharePoint farm account — typically a highly privileged service identity.

Technical Analysis

What We Know

AttributeDetail
CVECVE-2026-70193
CVSS v3.x Score9.9 (Critical)
Attack VectorNetwork
Weakness ClassCWE-22 — Improper Limitation of a Pathname to a Restricted Directory (Path Traversal)
Affected ProductMicrosoft Office SharePoint (Server editions)
Exploitation RequirementAuthenticated (authorized attacker)
ImpactRemote code execution

How the Vulnerability Works (Defender's Perspective)

Path traversal in SharePoint follows a well-understood exploitation pattern that our red teams replicate regularly:

  1. Authentication: The attacker holds valid SharePoint credentials — a phished user, a compromised service account, or a legitimate low-privilege insider. Authorization requirements vary by farm configuration; sites with broad 'Everyone' or 'Domain Users' memberships dramatically widen the attack surface.

  2. Traversal primitive: The vulnerable code path accepts user-controlled input used in file path construction without properly canonicalizing or constraining it to the intended directory. Sequences such as ../, URL-encoded variants (%2e%2e%2f, %2e%2e/, ..%2f), double-encoding (%252e%252e%252f), or Unicode equivalents allow the attacker to escape the restricted directory — typically a web content or upload path — and read or write outside it.

  3. Code execution: In SharePoint, path traversal historically escalates to RCE through one of several mechanisms:

    • Writing a web shell (.aspx, .ashx, .asmx) into a web-served directory such as TEMPLATE\LAYOUTS or TEMPLATE\CONTROLTEMPLATES under the SharePoint hive (commonly C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\ or \16\).
    • Overwriting or planting ASPX/compiled resources that execute under the IIS worker process (w3wp.exe).
    • Abusing server-side template or deserialization paths reachable once file placement is achieved.
  4. Post-exploitation: Code executes as the SharePoint application pool identity (often the farm account), giving attackers a foothold to dump the SharePoint configuration database credentials, pivot to SQL, and deploy webshells for persistence — the exact playbook observed in the 2025 SharePoint mass-exploitation campaigns.

Affected Systems and Exploitation Status

At time of publication, NVD lists the flaw as affecting Microsoft Office SharePoint. Defenders should treat all supported on-premises SharePoint Server editions (Subscription Edition, 2019, and 2016) as potentially in scope until Microsoft's advisory enumerates exact build ranges — SharePoint Online is not affected by server-side bugs of this class. Confirm exact affected builds against the Microsoft Security Response Center advisory for CVE-2026-70193 and the source NVD entry at https://nvd.nist.gov/vuln/detail/CVE-2026-70193.

As of this writing, there is no confirmed public proof-of-concept and CVE-2026-70193 has not yet been added to the CISA Known Exploited Vulnerabilities (KEV) catalog. That status can change within hours — SharePoint CVEs have repeatedly moved from disclosure to mass scanning in under 24 hours in 2025 and early 2026. Assume active scanning will follow and treat this as an emergency patch candidate. Monitor the CISA KEV catalog and MSRC continuously.

Detection & Response

Detection for SharePoint path-traversal exploitation centers on three high-fidelity behavioral signals: the SharePoint/IIS worker process spawning command interpreters, file writes of executable web content into the SharePoint hive or web root, and HTTP requests containing traversal sequences targeting SharePoint endpoints. These indicators have proven durable across multiple SharePoint exploitation campaigns and are far more reliable than IOC matching.

Sigma Rules

YAML
---
title: SharePoint IIS Worker Process Spawning Command Interpreter
id: 9c2e7f14-3b6a-4d51-8f90-2a4c6e8b1d35
status: experimental
description: Detects the SharePoint/IIS worker process (w3wp.exe) spawning command shells, PowerShell, or script interpreters — a hallmark of post-exploitation following SharePoint RCE such as CVE-2026-70193 path traversal abuse.
references:
  - https://nvd.nist.gov/vuln/detail/CVE-2026-70193
  - https://attack.mitre.org/techniques/T1059/
  - https://attack.mitre.org/techniques/T1190/
author: Security Arsenal
date: 2026/02/10
tags:
  - attack.execution
  - attack.initial_access
  - attack.t1190
  - attack.t1059
logsource:
  category: process_creation
  product: windows
detection:
  selection_parent:
    ParentImage|endswith: '\w3wp.exe'
  selection_child:
    Image|endswith:
      - '\cmd.exe'
      - '\powershell.exe'
      - '\pwsh.exe'
      - '\cscript.exe'
      - '\wscript.exe'
      - '\mshta.exe'
      - '\rundll32.exe'
      - '\regsvr32.exe'
      - '\certutil.exe'
      - '\bitsadmin.exe'
      - '\whoami.exe'
      - '\net.exe'
      - '\nltest.exe'
  condition: selection_parent and selection_child
falsepositives:
  - Rare legitimate SharePoint administrative tooling or health-monitoring scripts invoking processes from the app pool context
level: critical
---
title: Web Shell or Executable File Written to SharePoint Hive
id: 4d8a1b27-6e5c-4f39-a712-8c3d5f7e9b42
status: experimental
description: Detects creation of ASPX/ASHX/ASMX or DLL files in SharePoint TEMPLATE, LAYOUTS, or web root directories by non-standard processes — consistent with path traversal file-write exploitation (CVE-2026-70193) and webshell deployment.
references:
  - https://nvd.nist.gov/vuln/detail/CVE-2026-70193
  - https://attack.mitre.org/techniques/T1505/003/
author: Security Arsenal
date: 2026/02/10
tags:
  - attack.persistence
  - attack.t1505.003
logsource:
  category: file_event
  product: windows
detection:
  selection_path:
    TargetFilename|contains:
      - '\Web Server Extensions\15\TEMPLATE\'
      - '\Web Server Extensions\16\TEMPLATE\'
      - '\LAYOUTS\'
      - '\CONTROLTEMPLATES\'
      - '\inetpub\wwwroot\'
  selection_ext:
    TargetFilename|endswith:
      - '.aspx'
      - '.ashx'
      - '.asmx'
      - '.asp'
      - '.dll'
      - '.exe'
  filter_updaters:
    Image|endswith:
      - '\setup.exe'
      - '\msiexec.exe'
      - '\TiWorker.exe'
      - '\TrustedInstaller.exe'
      - '\wsusutil.exe'
      - '\psconfig.exe'
      - '\psconfigui.exe'
  condition: selection_path and selection_ext and not filter_updaters
falsepositives:
  - SharePoint cumulative update installation and psconfig operations (filtered); custom solution deployment by admins during maintenance windows
level: high
---
title: Path Traversal Sequence in HTTP Request to SharePoint
id: 7b3f9c58-1d4e-4a82-9b65-5e2a8d4c7f19
status: experimental
description: Detects URI path traversal sequences (including encoded variants) in web server requests targeting SharePoint layout or API endpoints — indicative of exploitation attempts against CVE-2026-70193.
references:
  - https://nvd.nist.gov/vuln/detail/CVE-2026-70193
  - https://attack.mitre.org/techniques/T1190/
  - https://attack.mitre.org/techniques/T1083/
author: Security Arsenal
date: 2026/02/10
tags:
  - attack.initial_access
  - attack.t1190
logsource:
  category: webserver
detection:
  selection_traversal:
    cs-uri-stem|contains:
      - '../'
      - '..\\'
      - '%2e%2e'
      - '..%2f'
      - '..%5c'
      - '%252e%252e'
      - '..;/'
  selection_sp_paths:
    cs-uri-stem|contains:
      - '/_layouts/'
      - '/_api/'
      - '/_vti_bin/'
      - '/_catalogs/'
  condition: selection_traversal and selection_sp_paths
falsepositives:
  - Uncommon; malformed requests from misbehaving crawlers or scanners — correlate with source reputation and response codes
level: high

KQL Hunt — Microsoft Sentinel / Defender

This query hunts for the post-exploitation process behavior and webshell staging on SharePoint servers. Deploy it as a scheduled analytics rule on any server running SharePoint Server, and run it retroactively across the last 30 days.

KQL — Microsoft Sentinel / Defender
// Hunt: SharePoint w3wp spawning shells, or webshell file creation in SharePoint hive
let Lookback = 30d;
let SharePointServers = (DeviceInfo
    | where DeviceName has_any ("sp-", "sharepoint", "sps-", "spweb", "spapp") // adjust to your naming convention
    | summarize by DeviceId, DeviceName);
let SuspiciousChildren = dynamic(["cmd.exe","powershell.exe","pwsh.exe","cscript.exe","wscript.exe","mshta.exe","rundll32.exe","regsvr32.exe","certutil.exe","whoami.exe","net.exe","nltest.exe","bitsadmin.exe"]);
union
(DeviceProcessEvents
    | where TimeGenerated > ago(Lookback)
    | where DeviceId in (SharePointServers)
    | where InitiatingProcessFileName =~ "w3wp.exe"
    | where FileName in~ (SuspiciousChildren)
    | project TimeGenerated, DeviceName, Signal="w3wp child process", FileName, ProcessCommandLine, InitiatingProcessCommandLine, AccountName, SHA256),
(DeviceFileEvents
    | where TimeGenerated > ago(Lookback)
    | where DeviceId in (SharePointServers)
    | where FolderPath has_any ("Web Server Extensions\\15\\TEMPLATE","Web Server Extensions\\16\\TEMPLATE","\\LAYOUTS\\","\\CONTROLTEMPLATES\\","\\inetpub\\wwwroot\\")
    | where FileName endswith_any (".aspx",".ashx",".asmx",".asp")
    | where InitiatingProcessFileName !in~ ("psconfig.exe","psconfigui.exe","msiexec.exe","setup.exe","TiWorker.exe","TrustedInstaller.exe")
    | project TimeGenerated, DeviceName, Signal="Executable web content written to hive", FileName, FolderPath, InitiatingProcessFileName, InitiatingProcessCommandLine, AccountName, SHA256)
| sort by TimeGenerated desc

For network-layer hunting via IIS/W3C logs ingested into Sentinel (or a WAF upstream of SharePoint):

KQL — Microsoft Sentinel / Defender
// Hunt: traversal sequences in requests to SharePoint endpoints (W3CIISLog or CEF web logs)
let Lookback = 14d;
W3CIISLog
| where TimeGenerated > ago(Lookback)
| where csUriStem has_any ("/_layouts/", "/_api/", "/_vti_bin/", "/_catalogs/")
| where csUriStem has_any ("../", "%2e%2e", "..%2f", "..%5c", "%252e%252e", "..;/") or csUriQuery has_any ("../", "%2e%2e", "..%2f", "..%5c")
| summarize Requests=count(), DistinctURIs=dcount(csUriStem), ResponseCodes=make_set(scStatus) by cIP, csUserName, csUserAgent, bin(TimeGenerated, 1h)
| where Requests > 3 or DistinctURIs > 2
| sort by TimeGenerated desc

Velociraptor VQL — Endpoint Hunt

Run this artifact across your SharePoint farm to sweep for webshell artifacts written to the hive and for anomalous child processes of the IIS worker process. The file sweep uses filesystem last-write times within a recent window to surface freshly planted shells.

VQL — Velociraptor
-- Hunt: SharePoint webshell artifacts + suspicious w3wp child processes (CVE-2026-70193)
-- Part 1: Recently written executable web content in the SharePoint hive / web roots
SELECT FullPath, Size, Mtime, Atime, Ctime
FROM glob(globs=[
  'C:/Program Files/Common Files/Microsoft Shared/Web Server Extensions/15/TEMPLATE/**/*.aspx',
  'C:/Program Files/Common Files/Microsoft Shared/Web Server Extensions/15/TEMPLATE/**/*.ashx',
  'C:/Program Files/Common Files/Microsoft Shared/Web Server Extensions/16/TEMPLATE/**/*.aspx',
  'C:/Program Files/Common Files/Microsoft Shared/Web Server Extensions/16/TEMPLATE/**/*.ashx',
  'C:/inetpub/wwwroot/**/*.aspx',
  'C:/inetpub/wwwroot/**/*.ashx'
])
WHERE Mtime > now() - 2592000  -- last 30 days
ORDER BY Mtime DESC
VQL — Velociraptor
-- Part 2: w3wp.exe spawning command interpreters or LOLBins
SELECT Pid, Ppid, Name, Exe, CommandLine, Username, CreateTime
FROM pslist(parent=pslist(name='w3wp.exe'))
WHERE Name =~ '(?i)(cmd|powershell|pwsh|cscript|wscript|mshta|rundll32|regsvr32|certutil|whoami|net|nltest|bitsadmin)\.exe$'

Verification & Hardening Script

Use this PowerShell script on each SharePoint server to (1) inventory installed SharePoint build levels against Microsoft's patched baseline, (2) detect recently modified executable web content in the hive (webshell triage), and (3) check for anomalous child processes of w3wp. Run as Administrator. Update $PatchedBuilds with the exact fixed build numbers from the Microsoft advisory for CVE-2026-70193 before running.

PowerShell
# CVE-2026-70193 — SharePoint verification and triage script
# Security Arsenal — run elevated on each SharePoint farm server

$report = [ordered]@{}

# --- 1. Installed SharePoint build ---
$spReg = 'HKLM:\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\16.0'
if (Test-Path $spReg) {
    $report['SharePointVersion'] = (Get-ItemProperty $spReg -ErrorAction SilentlyContinue).Version
} else {
    $spReg15 = 'HKLM:\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\15.0'
    $report['SharePointVersion'] = (Get-ItemProperty $spReg15 -ErrorAction SilentlyContinue).Version
}
Write-Host "[+] Installed SharePoint build: $($report['SharePointVersion'])"
# ACTION: Compare this build to the fixed versions in the MSRC advisory for CVE-2026-70193.
# If your build predates the security update, the server is VULNERABLE — patch immediately.

# --- 2. Recent patch history (last 60 days) ---
Write-Host "`n[+] Recent security updates installed:"
Get-HotFix | Where-Object { $_.InstalledOn -gt (Get-Date).AddDays(-60) } |
    Sort-Object InstalledOn -Descending | Format-Table HotFixID, Description, InstalledOn -AutoSize

# --- 3. Webshell triage: executable web content modified in the last 30 days ---
Write-Host "`n[+] Scanning SharePoint hive and web roots for recently written scriptable content..."
$hiveRoots = @(
    'C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE',
    'C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\TEMPLATE',
    'C:\inetpub\wwwroot'
) | Where-Object { Test-Path $_ }
$suspicious = foreach ($root in $hiveRoots) {
    Get-ChildItem -Path $root -Recurse -Include *.aspx,*.ashx,*.asmx,*.asp -ErrorAction SilentlyContinue |
        Where-Object { $_.LastWriteTime -gt (Get-Date).AddDays(-30) } |
        Select-Object FullName, LastWriteTime, Length,
            @{N='SHA256';E={(Get-FileHash $_.FullName -Algorithm SHA256 -ErrorAction SilentlyContinue).Hash}}
}
if ($suspicious) {
    Write-Host "[!] REVIEW REQUIRED — recently modified web-served files:" -ForegroundColor Red
    $suspicious | Format-Table -AutoSize
    $suspicious | Export-Csv -Path ".\CVE-2026-70193_file_triage.csv" -NoTypeInformation
} else {
    Write-Host "[+] No recently modified executable web content found in hive roots."
}

# --- 4. Live check: anomalous child processes of w3wp.exe ---
Write-Host "`n[+] Checking for suspicious child processes of w3wp.exe..."
$lolbins = 'cmd','powershell','pwsh','cscript','wscript','mshta','rundll32','regsvr32','certutil','whoami','bitsadmin'
$w3wpPids = (Get-CimInstance Win32_Process -Filter "Name='w3wp.exe'").ProcessId
foreach ($ppid in $w3wpPids) {
    Get-CimInstance Win32_Process -Filter "ParentProcessId=$ppid" |
        Where-Object { $lolbins -contains ($_.Name -replace '\.exe$','') } |
        Select-Object ProcessId, ParentProcessId, Name, CommandLine,
            @{N='Owner';E={($_ | Invoke-CimMethod -MethodName GetOwner).User}}
}
Write-Host "`n[+] Triage complete. If findings exist, isolate the server from the network, preserve memory and IIS logs (C:\inetpub\logs), and escalate to IR."

Remediation

1. Patch immediately. Apply the Microsoft security update addressing CVE-2026-70193 to every on-premises SharePoint Server farm (Subscription Edition, 2019, 2016) — including test/staging environments, which attackers routinely use as an entry point. Obtain the update via the Microsoft Security Response Center advisory for CVE-2026-70193 and the corresponding Update Catalog entries. After patching, run the SharePoint Products Configuration Wizard (psconfig) on every farm server — SharePoint patches do not fully apply until this step completes, and skipping it is a classic cause of 'patched but still vulnerable' findings. Verify the resulting build number against the fixed builds listed in the advisory.

2. Treat 'authenticated' as no mitigation. Audit and reduce SharePoint authorization scope immediately: remove broad 'Everyone'/'Domain Users'/'All Authenticated Users' site permissions, disable any anonymous access, and review service accounts with site collection administrator rights. Enforce phishing-resistant MFA on all accounts with SharePoint access and review sign-in logs for anomalous authentications to SharePoint in the last 30 days.

3. Reduce network exposure. If your SharePoint farm is internet-facing and does not strictly need to be, place it behind a VPN, identity-aware proxy, or WAF immediately as compensating control. Block external access to /_layouts/, /_vti_bin/, and administrative paths at the edge where business function permits. Deploy WAF rules blocking path traversal sequences (including double-encoded variants) in URIs and query strings.

4. Assume breach — hunt before you patch. Because exploitation may have predated your patch, run the KQL hunts, Sigma rules, and triage script above across the last 30+ days of telemetry. Any hit on webshell artifacts or w3wp child processes is an IR engagement, not a patching task: isolate the host, acquire memory, preserve C:\inetpub\logs and ULS logs, and scope for lateral movement to SQL Server and the farm configuration database.

5. Rotate credentials after patching. If there is any possibility of pre-patch exploitation, rotate the SharePoint farm account, all service accounts, and any credentials stored in the configuration database. Attackers who achieved code execution as the app pool identity had access to everything the farm touches.

6. Monitor for escalation. Track the CISA KEV catalog and MSRC advisory for updates on exploitation status. Given SharePoint's exploitation history through 2025 and into 2026, a KEV listing — potentially with a federal remediation deadline — is a realistic near-term scenario. Pre-stage your emergency change approval now so you are not waiting on process while attackers are scanning.

Bottom Line

CVE-2026-70193 is a CVSS 9.9 path-traversal-to-RCE in one of the most-targeted enterprise platforms in the world. The authentication requirement buys you minutes of attacker friction, not days of patching runway — compromised credentials are the normal state of affairs in the intrusions we respond to. Patch every farm server, run psconfig, hunt retroactively for webshells and w3wp child processes, and harden authorization scope. If you find evidence of pre-patch exploitation, treat it as a confirmed breach and engage IR.

Related Resources

Security Arsenal Penetration Testing Services AlertMonitor Platform Book a SOC Assessment vulnerability-management Intel Hub

Is your security operations ready?

Get a free SOC assessment or see how AlertMonitor cuts through alert noise with automated triage.