CVE-2026-102229

Visual Studio Code Information Disclosure Vulnerability

Published Oct 13, 2026 CVSS 3.1 · 6.8 Medium EPSS 1.1% KEV · Not listed
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.

Analysis

AI-generated

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

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, '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 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'}

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
Undergoing Analysis
Published
Oct 13, 2026, 7:17 PM
Modified
Nov 10, 2026, 9:17 PM