Skip to content
Path traversal Advisory Advanced CVE-2026-70161

.NET Elevation of Privilege Vulnerability (CVE-2026-70161)

A path traversal flaw in .NET lets an authorised local attacker escape a restricted directory and gain the privileges of the account running the affected process. The text does not describe how the traversal is triggered or what code is affected.

Aobo Wang Follow

Originally disclosed on Microsoft

High 7.3 View original

Description

Improper limitation of a pathname to a restricted directory ('path traversal') in .NET allows an authorized attacker to elevate privileges locally.

FAQ

What privileges could be gained by an attacker who successfully exploited this vulnerability? An attacker who successfully exploited this vulnerability could gain the privileges of the user account or service account running the affected process.

.NET

.NET

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Aobo Wang. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the .NET code that handles file paths does not properly restrict a pathname to its intended directory, allowing traversal outside it.

Impact

An attacker who successfully exploited this could gain the privileges of the user account or service account running the affected process, but the text does not say whether this was demonstrated in practice.

What the attacker needed

Local access to the affected system; ability to run code as an authorised user

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Path traversal is when a program accepts a file path from a user but does not stop that path from climbing out of the folder it is meant to stay in. Here, someone who can already run code on the machine could use that weakness to act as the user or service that runs the vulnerable .NET process, which may have more rights than they do.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More by Aobo Wang

View all

44 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.