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.
Published: 2026-06-09
Score: 8.4 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

History

Wed, 08 Jul 2026 23:30:00 +0000

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.

Fri, 19 Jun 2026 21:15:00 +0000

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.

Wed, 10 Jun 2026 18:15:00 +0000

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

Wed, 10 Jun 2026 11:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 09 Jun 2026 17:15:00 +0000

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'}


Subscriptions

Microsoft Visual Studio Code Copilot Chat Extension
cve-icon MITRE

Status: PUBLISHED

Assigner: microsoft

Published:

Updated: 2026-07-28T22:19:19.783Z

Reserved: 2026-05-12T16:07:22.617Z

Link: CVE-2026-45482

cve-icon Vulnrichment

Updated: 2026-06-10T10:19:50.160Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-06-09T17:17:22.587

Modified: 2026-06-09T19:32:51.440

Link: CVE-2026-45482

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T07:45:17Z

Weaknesses
  • CWE-22

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