Read the docs

Path traversal in Visual Studio Code allows remote code execution

Priority MEDIUM 44CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

Visual Studio Code from 1.0.0 before 1.141.1 contains a path traversal flaw (CWE-22) because it does not properly restrict pathnames to a restricted directory. An unauthorized remote attacker can execute code over a network, and user interaction is required.

Written with Claude Haiku 5.5 from the sources below · 2026-10-28

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00817 57th percentileScored 2026-11-07
Fix Fixed Visual Studio Code (Microsoft): 1.141.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
MicrosoftVisual Studio Code1.0.0 to before 1.141.11.141.1Patch availableCNA
  • Visual Studio Code VendorMicrosoft Affected 1.0.0 to before 1.141.1 Fixed in 1.141.1 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:microsoft:visual_studio_code:*:*:*:*:*:*:*:*——Microsoft
  • cpe:2.3:a:microsoft:visual_studio_code:*:*:*:*:*:*:*:* Versions — — ·Microsoft

Remediation

Update Visual Studio Code to version 1.141.1 or later.

Written with Claude Haiku 5.5 from the sources below · 2026-10-28

  • Fix · CNA Visual Studio Code (Microsoft) Fixed in 1.141.1

Timeline

  1. 2026-10-13 Threatist record created from CVE-2026-102238
  2. 2026-10-13 Alias added: GHSA-hccq-3qmx-2g7f
  3. 2026-10-14 CISA SSVC decision points changed
  4. 2026-10-16 EPSS moved to the 50th–90th percentile

References

  • TI-2026-42212 Microsoft SharePoint Remote Code Execution Vulnerability KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-37256 Microsoft SharePoint Remote Code Execution Vulnerability KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-26194 Windows Internet Key Exchange (IKE) Service Extensions Remote Code Execution Vulnerability KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-16982 Microsoft SharePoint Remote Code Execution Vulnerability KEVCVSS 3.1CRITICAL 9.8
  • TI-2025-36863 Windows Server Update Service (WSUS) Remote Code Execution Vulnerability KEVCVSS 3.1CRITICAL 9.8
  • TI-2025-33671 Microsoft SharePoint Server Remote Code Execution Vulnerability KEVCVSS 3.1CRITICAL 9.8
See all 18045 →

Sources