CVE-2026-45482

Microsoft Visual Studio Code CoPilot Chat Security Feature Bypass Vulnerability

Published Jun 9, 2026 CVSS 3.1 · 8.4 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability allows an attacker to supply crafted file paths that escape a restricted directory boundary, enabling access or modification of files outside the sandbox and exposing or altering confidential information on the host system. Based on the description, it is inferred that the attack requires a local attacker who can interact with the extension to provide malicious paths.

Affected Systems

The affected component is the Microsoft Visual Studio Code CoPilot Chat Extension. No specific version information is disclosed; any installation that has not applied the fix is potentially vulnerable. The extension is part of GitHub Copilot and Visual Studio Code.

Risk and Exploitability

The CVSS score of 8.4 indicates a high‑impact vulnerability. The EPSS score is below 1%, implying a low but non‑zero exploitation probability. The description indicates that a local attacker is required; exploitation most likely involves manipulating file paths or configuration inputs processed by the extension, after which the attacker can bypass the security feature on the host machine. The vulnerability is not listed in the CISA KEV catalog.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Visual Studio Code CoPilot Chat Extension to the latest version from Microsoft.
  • If an update is not available, uninstall or disable the extension until a fix is released.
  • Restrict file system permissions on directories accessed by the extension to ensure that only trusted users can modify or read files outside the allowed scope.

Generated by OpenCVE AI on August 3, 2026 at 07:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description Initialization of a resource with an insecure default in GitHub Copilot and Visual Studio Code allows an unauthorized attacker to disclose information over a network. 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.
Type Values Removed Values Added
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. Initialization of a resource with an insecure default in GitHub Copilot and Visual Studio Code allows an unauthorized attacker to disclose information over a network.
Type Values Removed Values Added
Title Microsoft Visual Studio Code CoPilot Chat Extension Security Feature Bypass Vulnerability Microsoft Visual Studio Code CoPilot Chat Security Feature Bypass Vulnerability
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Microsoft Visual Studio Code CoPilot Chat Extension Security Feature Bypass Vulnerability
First Time appeared Microsoft
Microsoft visual Studio Code Copilot Chat Extension
Weaknesses CWE-22
CPEs cpe:2.3:a:microsoft:visual_studio_code_copilot_chat_extension:*:*:*:*:*:*:*:*
Vendors & Products Microsoft
Microsoft visual Studio Code Copilot Chat Extension
References
Metrics cvssV3_1

{'score': 8.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
microsoft
Published
Updated
Nov 19, 2026, 10:14 PM
Reserved
May 12, 2026, 4:07 PM
Status
Modified
Published
Jun 9, 2026, 5:17 PM
Modified
Jul 23, 2026, 8:10 AM