---
id: CVE-2021-42322
title: Visual Studio Code Elevation of Privilege Vulnerability
summary: Visual Studio Code Elevation of Privilege Vulnerability
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C'
cvssSource: cna
vendor: Microsoft
product: Visual Studio Code
affected:
  - visual_studio_code >= 1.0.0 < 1.62.1
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-11-02T18:12:08.222845Z'
published: '2021-11-10'
updated: '2026-11-02'
sourceUpdated: '2026-11-02T18:13:13.331Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2021-42322'
references:
  - url: 'https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-42322'
    label: Visual Studio Code Elevation of Privilege Vulnerability
tags:
  - cve.org
epss: 0.00542
epssPercentile: 0.45828
ingestedAt: '2026-11-05T19:30:42.769Z'
---

## Overview

Visual Studio Code Elevation of Privilege Vulnerability

## Affected

- `visual_studio_code >= 1.0.0 < 1.62.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
