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


Vulnerability identifier: #VU105567

Vulnerability risk: Medium

CVSSv4.0: 4 [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

Exploit availability: No

Vulnerable software:
Visual Studio Code
Universal components / Libraries / Software for developers

Vendor: Microsoft

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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Visual Studio Code: All versions


External links
https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-26631


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability