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

High 8.4 Published Updated

An attacker can bypass security features in VS Code Copilot Chat via path traversal, requiring a patch to mitigate.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-45482?

CVE-2026-45482 is a high-severity vulnerability in Microsoft Visual Studio Code, published on 9 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-22

Which versions are affected by CVE-2026-45482?

It affects 1 product.

Products include Microsoft Visual Studio Code.

How do I fix CVE-2026-45482?

No fix has been published for CVE-2026-45482 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-45482 being exploited?

There is no known exploitation of CVE-2026-45482 in the wild and no public exploit code.

All Microsoft Visual Studio Code vulnerabilities

Sources

Also known as GHSA-f78m-9xhc-p52v.

Is CVE-2026-45482 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free