Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttain network interception position
-
DeliveryUser triggers VS Code Copilot or auth action
-
ExploitIntercept insufficiently protected credentials in transit
-
ExecutionAuthenticate to GitHub or Microsoft services
-
ImpactAccess victim repositories or organizational resources
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V6 - Authentication Credential protection in transit/storage
|
| Exploitation Conditions | The user must perform an action that triggers credential transmission from VS Code or the GitHub Copilot extension over the network (UI:R in the CVSS vector), meaning exploitation cannot occur without a user actively using the editor's network-dependent features. The attacker must have network interception capability between the developer workstation and Microsoft/GitHub endpoints - such as a MITM position on the local network or a compromised network path. No authentication or special privileges are required on the attacker's side (PR:N). Exploitation is limited by: (1) the user-interaction dependency preventing fully automated attacks; (2) the need for network positioning rather than simple remote internet-based exploitation; and (3) the credential scope being bounded to VS Code/Copilot authentication context. Non-default or specific Copilot configuration requirements are not specified in available data - the flaw appears to affect standard VS Code deployments using Copilot or Microsoft account sign-in. |
| Impact | The CVSS base score of 6.5 (Medium) is supported by vector AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N - network-reachable with low complexity and no attacker-side privileges, but requiring user interaction (UI:R), which limits fully automated exploitation. EPSS at 0.60% (45th percentile) suggests low real-world exploitation activity and aligns with SSVC's assessment of Exploitation: none and Automatable: no. The Technical Impact is rated partial by SSVC despite C:H in CVSS, likely because the credential scope is bounded to VS Code/Copilot authentication context rather than broad system compromise. The vulnerability is not listed in CISA KEV. Taken together, the signals consistently indicate this is a genuine but non-urgent medium-priority issue: real credential theft risk exists if an attacker can intercept traffic at the right moment, but the user-interaction dependency and absence of any known exploitation reduce the operational urgency relative to the CVSS score alone. |
| Exploit ScenarioDerived | An attacker with a man-in-the-middle position on the same network segment as a developer (e.g., shared corporate Wi-Fi or a compromised network appliance) passively captures traffic from VS Code when the developer triggers a Copilot request or authentication flow. The intercepted credential - likely a GitHub OAuth token or PAT - is then reused by the attacker to authenticate to GitHub's API and access the victim's repositories, organization resources, or private code. No public exploit code has been identified at time of analysis, and the user-interaction requirement means passive network sniffing alone is insufficient without the user actively using the affected feature. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 22, 2026
Credential disclosure in Visual Studio Code (including GitHub Copilot integration) exposes user credentials to network-positioned attackers across all versions prior to 1.128.1. Rooted in CWE-522 (Insufficiently Protected Credentials), the flaw enables a remote unauthenticated attacker to capture credentials when a user performs a triggering action, potentially granting access to GitHub or Microsoft services. No active exploitation is confirmed (SSVC: Exploitation none; not in CISA KEV), and the EPSS score of 0.60% reflects low observed exploitation probability at time of analysis.
RemediationAI
The primary fix is to upgrade Visual Studio Code to version 1.128.1 or later, which addresses the credential protection deficiency per the Microsoft Security Response Center advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-47282. VS Code typically auto-updates, but users on managed or air-gapped environments should apply the update manually. As a compensating control prior to patching, administrators can restrict outbound network access from developer workstations to known-good Microsoft and GitHub endpoints using an allowlist firewall policy, reducing the window for credential interception; note this may disrupt Copilot functionality in environments with non-standard egress routing. Rotating any GitHub Personal Access Tokens or OAuth tokens associated with affected VS Code sessions after upgrading is advisable as a precaution, since credentials exposed prior to patching remain valid until revoked.
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
CWE-522 (Insufficiently Protected Credentials) indicates that credentials - likely GitHub authentication tokens or Microsoft account credentials used by VS Code and the GitHub Copilot extension - are transmitted or stored without adequate protection, such as in cleartext or with weak encryption over a network channel. The affected product is identified by CPE cpe:2.3:a:microsoft:visual_studio_code:*:*:*:*:*:*:*:* covering all VS Code releases from 1.0.0 up to (but not including) 1.128.1. GitHub Copilot relies on OAuth or PAT-based authentication to GitHub's API; a failure in credential handling at the VS Code layer could expose these tokens during network transmission or inter-process communication, depending on the specific implementation flaw. The CVSS network attack vector (AV:N) confirms credential exposure occurs over the network rather than being a purely local storage issue.
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:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Network attacker intercepts credentials during user-triggered VS Code action; no attacker privileges needed, but UI:R dependency limits automation; no integrity or availability impact.
Primary rating from Vendor (microsoft).
CVSS VectorVendor: microsoft
DescriptionCVE.org
Insufficiently protected credentials in GitHub Copilot and Visual Studio Code allows an unauthorized attacker to disclose information over a network.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More 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
Privilege escalation in Microsoft Visual Studio Code allows remote unauthenticated attackers to elevate privileges over
Visual Studio Code Remote Code Execution Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is no authent
Security feature bypass in Visual Studio Code before 1.145.3 allows an unauthenticated remote attacker to evade a securi
Cross-site scripting in Visual Studio Code before 1.145.3 can let unauthenticated, network-reachable attackers run attac
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
EUVD-2026-43992
GHSA-3v99-gw88-f2cw
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB