CVE-2026-47287

Visual Studio Code Tampering Vulnerability

Published Jun 9, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
Relative path traversal in Visual Studio Code allows an unauthorized attacker to perform tampering over a network.

Analysis

AI-generated

Technical impact

Microsoft Visual Studio Code is vulnerable to a relative path traversal flaw that allows an unauthorized attacker to tamper with files over a network. The weakness, identified as CWE-23, permits modification of code or configuration files when a malicious actor can influence request paths. The result is the potential for code injection, alteration of application behavior, or escalation of privileges within the development environment.

Affected Systems

The flaw impacts Microsoft Visual Studio Code on all platforms where it is installed. No specific version range is indicated, so any installation of Visual Studio Code may be susceptible until the vendor releases a fixed build.

Risk and Exploitability

The CVSS score of 6.5 indicates a medium severity, and although an EPSS score is not available, the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is a remote network connection that an attacker can manipulate, exploiting the relative path traversal to modify files. Given the moderate severity and lack of known exploitation stats, the risk remains significant for any environment that accepts external connections to VS Code or runs untrusted code.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Visual Studio Code to the latest version that includes the fix for CVE-2026-47287.
  • Restrict network connectivity for Visual Studio Code or run it in a sandboxed environment to limit unauthorized remote access.
  • Disable or block untrusted extensions and enforce least‑privilege extension permissions.
  • Configure the editor to use read‑only mode for critical files and monitor the file system for unexpected changes.

Generated by OpenCVE AI on June 9, 2026 at 19:53 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 Relative path traversal in Visual Studio Code allows an unauthorized attacker to perform tampering over a network.
Title Visual Studio Code Tampering Vulnerability
First Time appeared Microsoft
Microsoft visual Studio Code
Weaknesses CWE-23
CPEs cpe:2.3:a:microsoft:visual_studio_code:*:*:*:*:*:*:*:*
Vendors & Products Microsoft
Microsoft visual Studio Code
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-23

    Relative Path Traversal

Sources

Status
PUBLISHED
Assigner
microsoft
Published
Updated
Nov 19, 2026, 10:14 PM
Reserved
May 18, 2026, 11:53 PM
Status
Analyzed
Published
Jun 9, 2026, 5:17 PM
Modified
Jul 23, 2026, 8:10 AM