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.
Published: 2026-10-13
Score: 9.6 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

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.

Generated by OpenCVE AI on October 17, 2026 at 05:23 UTC.

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 yet.

History

Thu, 15 Oct 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 13 Oct 2026 19:30:00 +0000

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'}


Subscriptions

Microsoft Visual Studio Code
cve-icon MITRE

Status: PUBLISHED

Assigner: microsoft

Published:

Updated: 2026-10-31T18:00:24.375Z

Reserved: 2026-09-28T18:28:18.686Z

Link: CVE-2026-102238

cve-icon Vulnrichment

Updated: 2026-10-13T21:14:59.234Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-13T20:17:06.727

Modified: 2026-10-15T20:39:54.150

Link: CVE-2026-102238

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T15:45:16Z

Weaknesses
  • CWE-22

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