What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: Microsoft Visual Studio Code 1.123.2; Microsoft Visual Studio Code CoPilot Chat Extension 1.123.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-45482 or the next vulnerability affects your stack