CVE-2026-102238: Visual Studio Code Remote Code Execution Vulnerability

Overview

Severity
Critical (CVSS 9.6)
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C
Category
Remote Code Execution
Exploit Status
Not Exploited
Exploitation Likelihood
Less Likely
Patch Tuesday
2026-Oct
Released
2026-10-13

Description

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.

FAQ

How could an attacker exploit this vulnerability? An attacker could convince a user to import a specially crafted Visual Studio Code profile or open specially crafted content or links. Successful exploitation could bypass path-containment checks, allowing access outside intended locations and potentially resulting in code execution in the context of the user.

Affected Products (1)

Developer Tools

  • Visual Studio Code

Security Updates (1)

Acknowledgments

<a href="https://rayhan.ch/">Rayhan Destian</a>, <a href="https://x.com/vulda17">vulda1</a> with Viettel Cyber Security

Revision History

  • 2026-10-13: Information published.