Untrusted search path in Visual Studio Code - CVE-2025-26631

 

Untrusted search path in Visual Studio Code - CVE-2025-26631

Published: March 11, 2025


Vulnerability identifier: #VU105567
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2025-26631
CWE-ID: CWE-426
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Microsoft
Affected software:
Visual Studio Code

Detailed vulnerability description

The vulnerability allows a remote attacker to escalate privileges on the system.

The vulnerability exists due to usage of an untrusted search path in Visual Studio. A remote user can trick a victim to open a specially crafted file and gain elevated privileges on the target system.


How to mitigate CVE-2025-26631

Install updates from vendor's website.

Sources