Path traversal in Visual Studio Code - CVE-2026-102229

 

Path traversal in Visual Studio Code - CVE-2026-102229

Published: October 13, 2026


Vulnerability identifier: #VU154280
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-102229
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to read local files.

The vulnerability exists due to path traversal in Visual Studio Code when resolving pathnames. A remote user can exploit path traversal to escape the sandbox to read local files.

Exploitation requires user interaction.


Affected software

Visual Studio Code

How to mitigate CVE-2026-102229

Install security update from vendor's website.

Visual Studio Code - update to 1.141.1

External References

Related Security Bulletins