Untrusted search path in Visual Studio Code - CVE-2026-70094

 

Untrusted search path in Visual Studio Code - CVE-2026-70094

Published: November 11, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the victim's system.

The vulnerability exists due to an untrusted search path in Visual Studio Code when opening a specially crafted file. A remote attacker can trick a user into opening such a file to execute arbitrary code on the victim's system.


Affected software

Visual Studio Code

How to mitigate CVE-2026-70094

Install security update from vendor's website.

Visual Studio Code - update to 1.145.3

External References

Related Security Bulletins