Skip to content
Path traversal Advisory Intermediate CVE-2026-62801

Microsoft PowerShell Security Feature Bypass Vulnerability (CVE-2026-62801)

Windows PowerShell contains a path traversal flaw that lets an unauthorised attacker bypass the safeguards checking which files may be changed and which sensitive locations need user approval. Successful exploitation could allow changes to protected files without the user's knowledge or consent.

yhw Follow with Harkenzo

Originally disclosed on Microsoft

High 6.5 View original

Description

Improper limitation of a pathname to a restricted directory ('path traversal') in Windows PowerShell allows an unauthorized attacker to bypass a security feature over a network.

FAQ

What kind of security feature could be bypassed by successfully exploiting this vulnerability? Successful exploitation could bypass the path validation safeguards that check which files may be changed and require user approval for sensitive locations, allowing changes to protected files without the user’s knowledge or consent.

Windows PowerShell

Windows PowerShell

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by yhw & txz. 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 improper limitation of a pathname to a restricted directory, meaning crafted paths are not correctly resolved before the sensitive-location check runs.

Impact

An attacker could bypass path validation safeguards and change protected files without the user's knowledge or consent.

What the attacker needed

Network access to the target; crafted path input

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.

PowerShell is a command-line tool built into Windows for running scripts and managing files. Normally it checks where a file lives and asks the user before touching sensitive locations. Here that check can be tricked by a crafted path, so a file in a protected place could be changed silently.

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 yhw

View all

156 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.