What’s Vulnerable › Vulnerabilities
CVE-2022-26921: Visual Studio Code Elevation of Privilege Vulnerability
- Severity: medium (CVSS 4.6 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-04-15 · updated 2026-10-08
Description
Visual Studio Code Elevation of Privilege Vulnerability
Affected products
- Microsoft Visual Studio Code: all versions
- Microsoft Visual Studio Code: from 1.0.0 before 1.66.2 — fixed in 1.66.2
How to fix
Upgrade to a fixed version: Microsoft Visual Studio Code 1.66.2. Check the vendor advisory for mitigations.
References
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-26921
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-26921
Get alerted when CVE-2022-26921 or the next vulnerability affects your stack