CVE-2026-70094

Visual Studio Code Remote Code Execution Vulnerability

Published Nov 10, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
Description
Untrusted search path in Visual Studio Code allows an unauthorized attacker to execute code over a network.

Analysis

AI-generated

Technical impact

An untrusted search path flaw in Visual Studio Code allows an attacker to place a malicious executable in a directory that the editor scans during operation. The missing validation of the search path enables arbitrary code to run with the privileges of the VS Code process, falling under the CWE‑426 class of vulnerabilities.

Affected Systems

The vulnerability affects Microsoft’s Visual Studio Code across all releases for which no explicit fixed version is listed in the advisory. Any installation of this editor that has not been updated to the patched release is potentially vulnerable.

Risk and Exploitability

The CVSS score of 8.8 signals a high severity impact, while an EPSS score of less than 1% indicates a very low probability of current exploitation, and the issue is not listed in the CISA KEV catalog. The likely attack vector is an unauthorized attacker over a network who can place a malicious executable into the editor’s untrusted search path. If successful, the attacker can run arbitrary code with the same rights as the VS Code user, potentially compromising the host or other network resources.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Visual Studio Code to the latest release that contains the security fix.
  • Configure the operating system to restrict the editor’s search paths to trusted directories, removing any exposure to writable directories that could be used for malicious executables.
  • Apply network segmentation or firewall rules to limit remote access to the machine running Visual Studio Code, reducing the opportunity for an attacker to upload a malicious file into the vulnerable path.

Generated by OpenCVE AI on November 14, 2026 at 03:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:microsoft:visual_studio_code:*:*:*:*:*:-:*:*
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description Untrusted search path in Visual Studio Code allows an unauthorized attacker to execute code over a network.
Title Visual Studio Code Remote Code Execution Vulnerability
First Time appeared Microsoft
Microsoft visual Studio Code
Weaknesses CWE-426
CPEs cpe:2.3:a:microsoft:visual_studio_code:*:*:*:*:*:*:*:*
Vendors & Products Microsoft
Microsoft visual Studio Code
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
microsoft
Published
Updated
Dec 2, 2026, 7:32 PM
Reserved
Aug 3, 2026, 11:23 PM
Status
Analyzed
Published
Nov 10, 2026, 7:21 PM
Modified
Dec 3, 2026, 8:06 PM