Skip to main content

Visual Studio Code CVE-2026-81383

| EUVDEUVD-2026-73851 HIGH
Use of Incorrectly-Resolved Name or Reference (CWE-706)
2026-09-08 secure@microsoft.com GHSA-78w2-6rg9-jr42
7.4
CVSS 3.1 · Vendor: microsoft
View

Attack ChainAIDerived

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

  1. Access
    Host attacker-controlled repo or workspace file
  2. Delivery
    Convince developer to open in VS Code
  3. Exploit
    VS Code misresolves crafted name/reference (CWE-706)
  4. Execution
    Sensitive local resource read by renderer/extension host
  5. Impact
    Data exfiltrated over network to attacker

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Incorrectly specified target
Exploitation Conditions

User interaction is required: the developer must open a malicious workspace, file, or follow a crafted URI within an affected VS Code instance (versions < 1.136.2). The attacker needs no authentication against the victim system. The scope change implies VS Code must be capable of resolving references across its internal trust boundary to a resource visible on the network or local filesystem. Default VS Code installations are in scope if the user opens untrusted content without Workspace Trust restrictions. Exploitation is limited to scenarios where the developer actively opens attacker-supplied content; passive drive-by without user interaction is not supported by the UI:R vector.

Impact

The CVSS 7.4 with vector AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N positions this as a meaningful network-reachable information disclosure. The most important limiting factor is UI:R - a developer must interact with attacker-controlled content (e.g., open a malicious repository, workspace file, or follow a crafted URI). No EPSS data or KEV listing is present in the input, and no POC is publicly identified at time of analysis, which moderates urgency relative to the raw CVSS. The S:C/C:H combination is significant: if the vulnerability allows VS Code to relay host-level file content, environment variables, or credentials to a remote party, the practical impact is severe for developer workstations that routinely hold SSH keys, cloud credentials, and API tokens. The absence of I and A impact confirms this is a pure exfiltration vector. Overall: real priority for developer-facing environments, especially CI/CD runners and cloud IDE deployments, but not a mass-exploitation emergency given the UI dependency.

Exploit ScenarioDerived

An attacker crafts a malicious repository or workspace file containing a specially constructed reference or URI. When a developer clones and opens the workspace in an affected VS Code version, the editor incorrectly resolves the reference, causing it to read a sensitive local resource (e.g., ~/.ssh/id_rsa, .env file, or cloud credential file) and transmit its contents to an attacker-controlled network endpoint. No public exploit code is identified at time of analysis, but the low attack complexity and broad affected version range make this scenario credible for targeted developer phishing campaigns.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.7% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 08, 2026

Information disclosure in Visual Studio Code allows an unauthenticated remote attacker to exfiltrate sensitive data via a crafted file or workspace that triggers incorrect name or reference resolution (CWE-706). Affected versions span 1.0.0 through all releases before 1.136.2. The scope change (S:C) in the CVSS vector indicates the confidentiality impact reaches beyond the VS Code process itself - potentially exposing system files, environment variables, or workspace secrets to a remote origin. No public exploit code or KEV listing is identified at time of analysis, but the broad affected version range and VS Code's developer-centric user base make this a meaningful supply-chain adjacent risk.

RemediationAI

Upgrade Visual Studio Code to version 1.136.2 or later, which contains the vendor-released patch per Microsoft's advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-81383. VS Code typically auto-updates, but enterprise deployments using offline installers or managed distribution (e.g., Intune, SCCM) should verify the installed version via Help > About and push the update actively. As a compensating control prior to patching, advise developers not to open workspaces or files from untrusted repositories or external parties, and consider enabling Workspace Trust prompts if they are configured to auto-trust. In CI/CD environments where VS Code server or remote extensions run headlessly, restrict network egress from the runner to limit the blast radius of any exfiltration. There are no known side effects to upgrading to 1.136.2.

Affected VersionsENISA

Visual Studio Code 1.0.0 <1.136.2

Affected Packages

euvd visual_studio_code fix: 1.136.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-706 (Use of Incorrectly-Resolved Name or Reference) describes flaws where a product resolves a resource name or reference in a way that reaches an unintended target. In VS Code, this class of vulnerability typically manifests in URI resolution, workspace trust boundary crossings, extension host-renderer IPC path handling, or Electron web-content navigation where relative or protocol-relative references are not canonicalized before use. The scope change (S:C) in the CVSS 3.1 vector signals that the vulnerable VS Code component can affect a security scope outside itself - consistent with scenarios where a renderer or extension sandbox is breached and local system resources are read and transmitted. Affected versions are CPE-bounded to Visual Studio Code ≥ 1.0.0 and < 1.136.2, per EUVD-2026-73851.

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 7.4 HIGH
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
ENISA EUVD HIGH
vuln.today AI 7.4 HIGH

Network-delivered malicious content requires active user interaction; no privileges needed; scope change reflects cross-boundary resource disclosure with high confidentiality loss.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/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
Changed
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
Patch available
Sep 08, 2026 - 18:35 EUVD
CVE Published
Sep 08, 2026 - 18:20 nvd
HIGH 7.4

DescriptionCVE.org

Use of incorrectly-resolved name or reference in Visual Studio Code allows an unauthorized attacker to disclose information over a network.

Executive ViewAI

Why It Matters

Visual Studio Code versions prior to 1.136.2 allow unauthenticated attackers to remotely extract sensitive data including system secrets and workspace credentials from developer machines. For organizations with development teams using affected versions, this creates supply-chain risk and potential exposure of credentials used to access production systems.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.7%
Top 49% exploitable
Prevalence
High
VS Code is the dominant IDE globally across developer ecosystems
Threat Intel
1
1 sources
Vendor Status
Publicly Disclosed:No
Exploited:No
Latest Software Release:Exploitation Less Likely
Data Quality
6 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 HIGH
CISA KEV No
Public POC No
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +37
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