Description
Improper limitation of a pathname to a restricted directory ('path traversal') in Visual Studio Code allows an authorized attacker to disclose information over a network.
Published: 2026-10-13
Score: 6.8 Medium
EPSS: 1.1% Low
KEV: No
Impact: Information disclosure
Action: Apply patch
AI Analysis

Impact

An improper restriction of a pathname to a designated directory (path traversal) in Visual Studio Code permits an authorized attacker to expose files or directories over a network. The flaw involves the assignment of a controlled path to a critical function that fails to enforce strict directory boundaries, allowing data that should remain private to be accessed and transmitted externally. The weakness is classified as Path Traversal (CWE‑22) and could lead to accidental leakage of confidential files or configurations. Because the affected data can be retrieved through network channels, confidentiality is the primary impaired asset.

Affected Systems

Microsoft Visual Studio Code is the sole supported product for this issue. Precise version numbers are not disclosed in the public advisory, but the vulnerability remains present in all releases until the patch detailed on the Microsoft Security Response Center update guide is applied. Administrators should verify that their installations match the fixed versions listed on the MSRC page and route network access accordingly.

Risk and Exploitability

The vulnerability carries a CVSS score of 6.8, indicating moderate severity, and its EPSS score is not reported, so the current likelihood of exploitation is unclear. It is not currently listed in the CISA KEV catalog, suggesting no widespread exploitation reports to date. Likely attack vectors include an authenticated user with sufficient privileges in an environment where Visual Studio Code can bind to external network interfaces; from there, the path traversal can be used to read and send files over the network. The absence of an EPSS figure and KEV listing advises vigilance but does not diminish the need for timely remediation.

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

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Download and install the latest Visual Studio Code release that addresses the path‑traversal flaw as recommended by Microsoft.
  • If an update cannot be applied immediately, configure the editor to run only on internal interfaces or limit network access for the application to prevent external data exfiltration.
  • Monitor user activity and system logs for attempts to access or transmit unexpected file paths, and revoke or quarantine any suspicious extensions that may interact with the filesystem.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 16 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 13 Oct 2026 19:15: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 authorized attacker to disclose information over a network.
Title Visual Studio Code Information Disclosure 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': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N/E:U/RL:O/RC:C'}


Subscriptions

Microsoft Visual Studio Code
cve-icon MITRE

Status: PUBLISHED

Assigner: microsoft

Published:

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

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

Link: CVE-2026-102229

cve-icon Vulnrichment

Updated: 2026-10-13T21:15:20.140Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-13T19:17:48.577

Modified: 2026-10-13T22:17:20.667

Link: CVE-2026-102229

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T05:30:03Z

Weaknesses
  • CWE-22

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