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

Microsoft Visual Studio Code CoPilot Chat Security Feature Bypass Vulnerability (CVE-2026-45482)

A path traversal flaw in GitHub Copilot and Visual Studio Code lets an unauthorised attacker bypass a security feature locally. The advisory says this allows impersonation, effectively bypassing authentication.

Daniel Weglowski Follow

Originally disclosed on Microsoft

High 8.4 View original

Description

Improper limitation of a pathname to a restricted directory ('path traversal') in GitHub Copilot and Visual Studio Code allows an unauthorized attacker to bypass a security feature locally.

FAQ

What kind of security feature could be bypassed by successfully exploiting this vulnerability? The authentication feature could be bypassed as this vulnerability allows impersonation.

GitHub Copilot and Visual Studio Code

GitHub Copilot and Visual Studio Code

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Daniel Weglowski. 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 software failed to properly restrict a file path to its intended directory, allowing access outside it.

Impact

An attacker could bypass an authentication feature locally and impersonate something or someone, though the advisory gives no further detail on the practical consequences.

What the attacker needed

Local access to the affected software

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.

A path traversal bug means a program can be tricked into reaching files or locations outside the folder it is meant to stay in. Here the affected software is a code editor and its AI assistant, and the flaw lets someone get around a security check on their own machine. The advisory is very short and does not explain the exact mechanism.

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 Daniel Weglowski

View all

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