Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessStage malicious workspace or repo
-
DeliveryDeveloper opens project in VS Code
-
ExploitCopilot/VS Code resolves traversal path
-
ExecutionBypass sandbox boundary
-
PersistRead or write protected files
-
ImpactExfiltrate credentials and source
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires local-vector delivery on a machine running an affected build of Visual Studio Code with the GitHub Copilot extension installed, meaning the attacker needs a way to place attacker-controlled input - such as a malicious workspace, repository, project file, or extension-channel message - in front of the vulnerable path-handling routine. CVSS PR:N and UI:N indicate no prior privileges and no explicit user interaction are required once that input is processed, but the AV:L vector means the attacker cannot reach the flaw purely over the network and must rely on the developer opening or loading the malicious content. Limiting factors include the need for the GitHub Copilot extension to be present and enabled, the user opening untrusted project content (which Workspace Trust may gate), and the specific security feature whose bypass is in scope not being independently documented in the supplied data. |
| Impact | The CVSS vector AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H describes a locally exploitable flaw with no privileges and no user interaction needed once code can run on the host, yielding a high 8.4 score driven by full CIA impact rather than network reach. The AV:L vector materially limits real-world risk because an attacker must already have a foothold - for example a malicious workspace, repository, or extension payload that Copilot/VS Code processes - so this is more relevant to supply-chain and developer-trust threat models than to mass internet exploitation. No EPSS score, KEV listing, or POC was provided, and no public exploit is identified at time of analysis, suggesting this is currently a patch-and-monitor priority rather than an emergency. Key gap: the only reference is the MSRC advisory stub, so independently confirmed fixed builds, affected version ranges, and the precise security feature being bypassed are not visible in the supplied data and should be validated directly with Microsoft. |
| Exploit ScenarioDerived | A developer is socially engineered or directed to open a malicious repository, workspace folder, or shared Live Share session crafted to feed traversal sequences into a Copilot or VS Code path-handling routine. When the editor or Copilot resolves the attacker-controlled reference it escapes the intended sandbox and reads, overwrites, or executes content outside the workspace, granting access to secrets, SSH keys, or configuration files on the developer's host. No public exploit identified at time of analysis, but the low attack complexity and lack of required interaction make POC development straightforward once the affected code path is disclosed. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 09, 2026
Security feature bypass via path traversal in GitHub Copilot and Visual Studio Code allows a local unauthorized attacker to escape a restricted directory and reach files or resources that should be inaccessible. The flaw is tracked under CWE-22 with a CVSS 3.1 base score of 8.4 (AV:L/AC:L/PR:N/UI:N) reflecting high confidentiality, integrity, and availability impact from local exploitation. There is no public exploit identified at time of analysis and the issue is not listed in CISA KEV.
RemediationAI
Apply the Microsoft-supplied update for Visual Studio Code and the GitHub Copilot extension as published in the MSRC advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-45482; exact fixed version numbers were not included in the supplied data, so cite the build IDs listed in that advisory when planning rollout. Patch available per vendor advisory. As compensating controls until updates are deployed, restrict developers from opening untrusted workspaces by enabling VS Code Workspace Trust in restricted mode (which disables many extension capabilities and may reduce Copilot functionality), disable or unload the GitHub Copilot extension on machines that handle sensitive secrets (trade-off: loss of AI assistance), and avoid cloning or opening repositories from unvetted sources since local-vector exploitation typically requires attacker-influenced project content. Endpoint monitoring for unexpected file reads outside workspace roots by Code.exe / code processes can serve as a detection backstop.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in microsoft, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability sits in the GitHub Copilot extension and the Visual Studio Code editor, both Microsoft developer tooling that processes workspace files, configuration, and AI prompt context on the local user's machine. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) indicates that input used to construct a filesystem path is not sufficiently normalized or canonicalized, so sequences such as '../' or absolute paths can break out of an intended sandbox or workspace root. In a Copilot/VS Code context this typically manifests in features that resolve file references from prompts, project metadata, settings, or extension messages, where the path-handling routine trusts attacker-influenced input to remain inside an allowlisted directory. CPE data was not included in the supplied intelligence, so exact build identifiers must be retrieved from the Microsoft Security Response Center advisory.
Know when Visual Studio Code gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (microsoft).
CVSS VectorVendor: microsoft
DescriptionCVE.org
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.
Executive ViewAI
GitHub Copilot and Visual Studio Code contain a path traversal vulnerability (CVE-2026-45482, CVSS 8.4) that allows unauthenticated local attackers to bypass security controls and access restricted files. Development teams using these tools face exposure of source code, credentials, and intellectual property, with no vendor patch currently available.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict tool access by role and business need, implement OS-level file system permissions (ACLs) to isolate sensitive repositories, disable cloud-sync and remote collaboration features on affected systems, establish filesystem access logging and monitoring for exploitation attempts, and segment development environments by data sensitivity level.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Related Vulnerabilities in Visual Studio Code Security Feature Bypass Flaws
View all 4More in Visual Studio Code
View allVisual Studio Code Remote Code Execution Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is no authent
Visual Studio Code Remote Code Execution Vulnerability. Rated high severity (CVSS 8.8), this vulnerability is remotely e
Security-feature bypass in Microsoft Visual Studio Code before 1.136.2 lets a remote, unauthenticated attacker defeat a
Remote code execution in Visual Studio Code (versions 1.0.0 up to but not including 1.141.1) is achievable through a pat
Visual Studio Code Remote Code Execution Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is no authent
Security-feature bypass in Microsoft Visual Studio Code lets a remote attacker deliver functionality from an untrusted c
Remote code execution in Visual Studio Code (versions 1.0.0 through 1.132.0) is enabled by a missing authorization check
Command injection in Visual Studio Code 1.0.0 through 1.141.0 allows an unauthenticated remote attacker to execute arbit
Remote code execution in Microsoft Visual Studio Code allows a network-based attacker to inject and execute arbitrary co
Remote code execution in Visual Studio Code versions 1.0.0 through 1.141.1 allows an unauthenticated, network-positioned
Authorization bypass in Visual Studio Code versions 1.0.0 through 1.136.1 allows an unauthenticated network attacker to
EUVD-2026-35547
GHSA-f78m-9xhc-p52v
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB