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.
Originally disclosed on Microsoft
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
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.