CVE-2026-102238

Visual Studio Code Remote Code Execution Vulnerability

Published Oct 13, 2026 CVSS 3.1 · 9.6 Critical EPSS < 1% KEV · Not listed
Description
Improper limitation of a pathname to a restricted directory ('path traversal') in Visual Studio Code allows an unauthorized attacker to execute code over a network.

Analysis

AI-generated

Technical impact

Improper limitation of a pathname to a restricted directory (path traversal) in Visual Studio Code permits an unauthorized attacker to execute code over a network. The flaw falls under the category of path traversal weaknesses (CWE‑22) and can lead to arbitrary code execution, potentially compromising the host system.

Affected Systems

Microsoft Visual Studio Code is the vendor and product affected. No specific version data is listed in the entry, so all deployed releases of Visual Studio Code may be vulnerable until a patch is applied.

Risk and Exploitability

The CVSS score of 9.6 indicates a critical severity, and although the EPSS score is not provided, the lack of a KEV listing suggests the vulnerability may not yet be actively exploited in the wild, but the high CVSS and network attack possibility still warrant urgent attention. The flaw can be leveraged over a network by a remote attacker to run arbitrary code, making it a high‑risk remote code execution vulnerability.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Install the latest Microsoft Visual Studio Code update that contains the fix for CVE‑2026‑102238.
  • Until the patch is applied, block or limit network access to the VS Code Remote Server so that only trusted hosts can connect.
  • If the Remote Development extensions are not required, disable or remove them as a temporary mitigation until a patch is installed.

Generated by OpenCVE AI on October 17, 2026 at 05:23 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 Improper limitation of a pathname to a restricted directory ('path traversal') 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-22
CPEs cpe:2.3:a:microsoft:visual_studio_code:*:*:*:*:*:*:*:*
Vendors & Products Microsoft
Microsoft visual Studio Code
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
microsoft
Published
Updated
Nov 19, 2026, 10:19 PM
Reserved
Sep 28, 2026, 6:28 PM
Status
Analyzed
Published
Oct 13, 2026, 8:17 PM
Modified
Nov 10, 2026, 9:17 PM