CVE-2021-42322

Visual Studio Code Elevation of Privilege Vulnerability

HIGH
7.8
CVSS Score
Published: November 10, 2021 at 12:47 AM UTC
Updated: August 19, 2026 at 05:18 PM UTC
1 product affected across 1 vendorVisual Studio Code

Using Visual Studio Code by Microsoft?

Get instant alerts when new vulnerabilities affect Visual Studio Code - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.5%

Description

Visual Studio Code Elevation of Privilege Vulnerability

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 1.16.21.0.0 ≤ v < 1.62.11.0.0
Affected range stops below 1.16.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.62.1, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

CVSS

7.8HIGHmicrosoft
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-269

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card