Privilege escalation in Microsoft Visual Studio Code

Published: 2022-09-14
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-38020
Exploitation vector Network
Public exploit N/A
Vulnerable software
Visual Studio Code
Universal components / Libraries / Software for developers

Vendor Microsoft

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Permissions, Privileges, and Access Controls

EUVDB-ID: #VU67292

Risk: Medium


CVE-ID: CVE-2022-38020

CWE-ID: CWE-264 - Permissions, Privileges, and Access Controls

Exploit availability: No


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

The vulnerability exists due to application does not properly impose security restrictions in the Visual Studio Code. A remote user can trick a victim to open a specially crafted file, which leads to security restrictions bypass and privilege escalation.


Install updates from vendor's website.

Vulnerable software versions

Visual Studio Code: All versions

CPE2.3 External links

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?