Path traversal in Visual Studio Code allows remote code execution
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
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
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
- 2026-10-13 Threatist record created from CVE-2026-102238
- 2026-10-13 Alias added: GHSA-hccq-3qmx-2g7f
- 2026-10-14 CISA SSVC decision points changed
- 2026-10-16 EPSS moved to the 50th–90th percentile
References
More Microsoft vulnerabilities
- 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
Sources
- CVE-2026-102238 · CVE Program
- CVE-2026-102238 · NVD
- FIRST EPSS
- GHSA-hccq-3qmx-2g7f · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences