Permissions, Privileges, and Access Controls in Visual Studio Code - CVE-2022-26921
Published: May 2, 2022 / Updated: April 23, 2026
Vulnerability identifier: #VU62717
CSH Severity: Low
CVSS v4: 7 [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]
CVE-ID: CVE-2022-26921
CWE-ID: CWE-264
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to application does not properly impose security restrictions in Visual Studio Code, which leads to security restrictions bypass and privilege escalation.
Affected software
Visual Studio Code
How to mitigate CVE-2022-26921
Install updates from vendor's website.
Visual Studio Code - update to 1.66.2