Skip to main content

Visual Studio Code CVE-2026-47282

| EUVDEUVD-2026-43992 MEDIUM
Insufficiently Protected Credentials (CWE-522)
2026-07-14 microsoft GHSA-3v99-gw88-f2cw
6.5
CVSS 3.1 · Vendor: microsoft
Temporal: 5.7
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attain network interception position
  2. Delivery
    User triggers VS Code Copilot or auth action
  3. Exploit
    Intercept insufficiently protected credentials in transit
  4. Execution
    Authenticate to GitHub or Microsoft services
  5. Impact
    Access 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Visual Studio Code 1.0.0 <1.128.1

Affected Packages

microsoft visual_studio_code_1_128_1 fix: Visual Studio Code 1.128.1
euvd visual_studio_code fix: 1.128.1

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

Vendor (microsoft) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
ENISA EUVD HIGH
CIRCL (temporal) 5.7 MEDIUM
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (microsoft).

CVSS VectorVendor: microsoft

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

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

EPSS Score
0.6%
Top 55% exploitable
Prevalence
High
most widely deployed code editor globally across enterprise and developer environments
Threat Intel
1
1 sources
Vendor Action
See Below
Required. The vulnerability documented by this CVE requires customer action to resolve.
Vendor Status
Publicly Disclosed:No
Exploited:No
Latest Software Release:Exploitation Less Likely
Data Quality
7 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: +5

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2022-41034 HIGH POC
7.8 Oct 11

Visual Studio Code Remote Code Execution Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is no authent

CVE-2022-30129 HIGH POC
8.8 May 10

Visual Studio Code Remote Code Execution Vulnerability. Rated high severity (CVSS 8.8), this vulnerability is remotely e

CVE-2026-81376 CRITICAL
9.6 Sep 08

Security-feature bypass in Microsoft Visual Studio Code before 1.136.2 lets a remote, unauthenticated attacker defeat a

CVE-2026-102238 CRITICAL
9.6 Oct 13

Remote code execution in Visual Studio Code (versions 1.0.0 up to but not including 1.141.1) is achievable through a pat

CVE-2026-47281 CRITICAL
9.6 Jun 09

Privilege escalation in Microsoft Visual Studio Code allows remote unauthenticated attackers to elevate privileges over

CVE-2021-43891 HIGH
7.8 Dec 15

Visual Studio Code Remote Code Execution Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is no authent

CVE-2026-121663 HIGH
8.8 Nov 10

Security feature bypass in Visual Studio Code before 1.145.3 allows an unauthenticated remote attacker to evade a securi

CVE-2026-119975 HIGH
8.8 Nov 10

Cross-site scripting in Visual Studio Code before 1.145.3 can let unauthenticated, network-reachable attackers run attac

CVE-2026-57102 HIGH
8.8 Jul 14

Security-feature bypass in Microsoft Visual Studio Code lets a remote attacker deliver functionality from an untrusted c

CVE-2026-59113 HIGH
8.8 Aug 11

Remote code execution in Visual Studio Code (versions 1.0.0 through 1.132.0) is enabled by a missing authorization check

CVE-2026-69370 HIGH
8.8 Oct 13

Command injection in Visual Studio Code 1.0.0 through 1.141.0 allows an unauthenticated remote attacker to execute arbit

CVE-2026-70336 HIGH
8.8 Aug 11

Remote code execution in Microsoft Visual Studio Code allows a network-based attacker to inject and execute arbitrary co

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy