CVE-2026-70193 — Microsoft SharePoint Authenticated Path Traversal (REST folder parameter)
Published: 2026-11-25 • Researcher: cveForge (PoC author / repo owner); Microsoft MSRC (vendor advisory)
- Severity
- Critical
- CVE
- CVE-2026-70193
- Category
- web
- Affected product
- Microsoft Office SharePoint (SharePoint Server 2019, SharePoint Server SE, SharePoint Online per repo README)
- Affected versions
- Not enumerated in the NVD data supplied (products and version_ranges empty) — see references. Repo README names SharePoint Server 2019, SharePoint Server SE and SharePoint Online (on-prem sync agent) without build numbers.
- Disclosed
- 2026-11-25
- Patch status
- Patched
Tags
References
Archive entry
intelseclab/poc-archiveOn this page
Metadata
| Field | Value |
|---|---|
| Date Added | 2026-11-25 |
| Last Updated | 2026-11-24 |
| Author / Researcher | cveForge (PoC author / repo owner); Microsoft MSRC (vendor advisory) |
| CVE / Advisory | CVE-2026-70193 |
| Category | web |
| Severity | Critical |
| CVSS Score | 9.9 (base vector not provided in the NVD/worklist record; EPSS 0.0157) |
| Status | PoC |
| Tags | path-traversal, SharePoint, CWE-22, authenticated, arbitrary-file-read, SSRF, cloud-metadata, REST-API, Microsoft, IIS |
| Related | N/A |
Affected Target
| Field | Value |
|---|---|
| Software / System | Microsoft Office SharePoint (SharePoint Server 2019, SharePoint Server SE, SharePoint Online per repo README) |
| Versions Affected | Not enumerated in the NVD data supplied (products and version_ranges empty) — see references. Repo README names SharePoint Server 2019, SharePoint Server SE and SharePoint Online (on-prem sync agent) without build numbers. |
| Language / Platform | Python 3 (PoC; stdlib only); target is Windows Server / IIS hosting SharePoint REST endpoints |
| Authentication Required | Yes — low-privileged authenticated user (FedAuth/rtFA session cookie or Bearer token) |
| Network Access Required | Yes |
Summary
CVE-2026-70193 is a path traversal (CWE-22) in Microsoft Office SharePoint that allows an authorized attacker to execute code over a network, according to the NVD record. The public PoC from cveForge instead demonstrates the traversal as arbitrary file read plus server-side request forgery from a low-privileged authenticated account. It sends double URL-encoded dot-dot sequences through SharePoint REST endpoints to attempt reading server files such as win.ini and web.config, and points the folder parameter at internal URLs to try to reach cloud metadata services.
Vulnerability Details
Root Cause
NVD classifies the issue as improper limitation of a pathname to a restricted directory (CWE-22) in Microsoft Office SharePoint. The repo README attributes it to double URL-encoded dot-dot sequences (%252e%252e) not being normalized when the REST folder parameter is passed to filesystem path resolution. That root-cause detail is the researcher’s claim and is not confirmed by the NVD record supplied.
Attack Vector
An authenticated attacker sends HTTP GET requests to the SharePoint REST API. The archived PoC targets two endpoints: /_api/web/GetFolderByServerRelativeUrl(’
Impact
Per the PoC author, a low-privileged authenticated user can read arbitrary files on the SharePoint server (for example web.config with database credentials, or recon files such as win.ini and hosts) and trigger SSRF toward internal hosts and cloud metadata endpoints (AWS, Azure, GCP, Alibaba). NVD describes the impact as code execution over a network; the archived PoC does not implement a code-execution step, so that impact is taken from the advisory only.
Environment / Lab Setup
OS: Windows Server with SharePoint (lab farm), or any reachable SharePoint deployment
Target: Microsoft SharePoint REST endpoints (/_api/web, /_layouts/15/GetListItems.aspx)
Attacker: Linux/macOS/Windows with Python 3.8+ (stdlib only), same network or VPN
Tools: python3, curl, Burp Suite or browser dev tools for token captureSetup Steps
| |
Note: the archived poc.py is byte-identical to upstream except for the added research header, and upstream as released contains a Python SyntaxError (see Notes), so it must be fixed before it can run.
Proof of Concept
Step-by-Step Reproduction
Obtain a low-privileged session — sign in to the lab SharePoint site with an ordinary account and capture the FedAuth/rtFA cookie pair, or an OAuth Bearer token.
Shell script1export SP_COOKIE="FedAuth=...;rtFA=..."Fingerprint the deployment — the script calls /_api/web to read UIVersion and ServerRelativeUrl; a JSON response confirms the REST API is reachable with the supplied credentials.
Shell script1python3 poc.py --url https://sharepoint.example.com --cookie "$SP_COOKIE" --mode traversalSend traversal payloads — the script walks its built-in payload list (deep %252e%252e sequences to windows/win.ini, inetpub/wwwroot/web.config and drivers/etc/hosts, a UNC path, and a null-byte terminated web.config%2500.aspx) against GetFolderByServerRelativeUrl and prints any 200 response whose body contains “value” or “Name”.
Output1payload=%252e%252e/%252e%252e/%252e%252e/%252e%252e/windows/win.iniAttempt SSRF — with –mode ssrf the script sets folderPath to AWS, Azure, GCP and Alibaba metadata URLs through GetListItems.aspx and reports a hit when the body is longer than 20 bytes.
Shell script1python3 poc.py --url https://sharepoint.example.com --cookie "$SP_COOKIE" --mode ssrfConfirm manually — for any reported hit, re-issue the request with curl or Burp and inspect whether the response actually contains the target file contents or metadata payload; the script’s success test is heuristic.
Exploit Code
See
poc.pyin this folder (archived from upstream, with a research header added).
| |
Expected Output
| |
The “[+] VULNERABLE” and “[+] SSRF HIT” markers are the script’s own heuristic verdicts, not extracted proof; the upstream repo ships no captured evidence of a successful run.
Detection & Indicators of Compromise
- IIS / WAF access logs containing %252e%252e, %252E%252E or similarly encoded dot-dot sequences in requests to /_api/web/GetFolderByServerRelativeUrl, /_api/web/GetFileByServerRelativeUrl or /_layouts/15/GetListItems.aspx.
- folderPath or folder parameters containing internal hostnames, UNC paths (backslash-backslash), 169.254.169.254, metadata.google.internal, 100.100.100.200, or other link-local addresses.
- SharePoint web-front-end processes making outbound HTTP requests to cloud metadata endpoints or internal hosts that are not expected.
- Requests from a single low-privileged account walking many traversal variants in a short window, or touching windows/win.ini, web.config, drivers/etc/hosts.
- SharePoint ULS logs showing 200 responses for GetFolderByServerRelativeUrl calls whose paths escape the site collection.
Example of a suspicious request line:
| |
SIEM / IDS rule (example):
| |
Remediation
| Action | Detail |
|---|---|
| Patch | Apply the Microsoft security update for CVE-2026-70193. The repo README names KB5058411 (SharePoint Server 2019) and KB5058412 (SharePoint Server SE), and states SharePoint Online was auto-patched by Microsoft on 2026-11-18; confirm against the MSRC update guide before relying on either KB number. |
| Workaround | Block encoded dot-dot sequences and non-site-relative paths at the WAF or reverse proxy; restrict /_layouts/15/GetListItems.aspx to known client IP ranges; deny web-tier egress to link-local metadata addresses. |
| Config Hardening | Enable SharePoint audit logging for GetFolderByServerRelativeUrl and GetListItems calls, apply least privilege to authenticated users, segment the SharePoint farm from cloud metadata endpoints, and alert on traversal-shaped URIs. |
References
Notes
Auto-ingested from https://github.com/cveForge/CVE-2026-70193 on 2026-11-25.
Review verdict: the repository is a single-file, oracle-style PoC, not a detector or scanner, so it was ingested. It does send crafted traversal and SSRF requests to the real REST endpoints and keeps the payload set in code, but it is limited: it only prints a response snippet and a heuristic “[+] VULNERABLE / SSRF HIT” verdict, it never parses or saves the retrieved file or metadata content, it has no code-execution chain despite the NVD description mentioning code execution, and it ships no captured evidence of a successful run. Severity and root-cause wording are the author’s claims except where they match the NVD summary.
Known defect: the archived poc.py is identical to upstream apart from the added research header, and upstream as released fails to compile — two reporting lines (the response-snippet truncation) contain a literal newline inside a string literal, producing “SyntaxError: unterminated string literal”. It therefore does not run unmodified; the fix is a cosmetic string join and does not touch the request logic. No exploit code was executed during ingestion.
License status: the repository has no LICENSE file, so no license is granted; the files are archived with attribution for authorized research only. Only README.md (as upstream-README.md) and poc.py were copied; there is nothing else in the repository.
Run only against systems you own or have written authorization to test.
| |