CVE-2021-42322
HighCVSS 7.8Exploitation Probability (EPSS)
Low risk40th percentile - higher than 40% of all known CVEs
Summary
Visual Studio Code contains an Elevation of Privilege Vulnerability that could allow an attacker to gain elevated privileges on the system.
Risk Assessment
The vulnerability could allow an attacker to escalate privileges, potentially leading to unauthorized access to sensitive data or full system compromise.
Recommendation
Update Visual Studio Code to the latest version that includes a fix for this vulnerability.
Other vulnerabilities in Visual Studio Code
See all- CVE-2026-41613High
A vulnerability in Visual Studio Code allows an unauthorized attacker to elevate privileges over a network using session fixation.
- CVE-2026-41611High
Visual Studio Code has improper neutralization of script-related HTML tags, leading to basic XSS vulnerability. This allows an unauthorized attacker to execute code locally.
- CVE-2026-47281Critical
Missing authorization in Visual Studio Code allows an unauthorized attacker to elevate privileges over a network.
- CVE-2020-1192High
Remote code execution vulnerability in Visual Studio Code when the Python extension loads workspace settings from a notebook file. An attacker could run arbitrary code in the context of the current user, potentially taking control of the system if the user has administrative rights.
- CVE-2026-70336High
A code injection vulnerability in Visual Studio Code allows an unauthorized attacker to execute code over a network.
- CVE-2026-69320High
OS command injection vulnerability in Visual Studio Code. An unauthorized attacker can execute code remotely over the network.
- CVE-2026-69306High
Failing open vulnerability in Visual Studio Code. An unauthorized attacker can bypass a security feature over the network.
- CVE-2026-69278High
Incorrect authorization in Visual Studio Code. An unauthorized attacker can bypass a security feature locally.
- CVE-2026-59113High
A vulnerability in Visual Studio Code is due to missing authorization, allowing an unauthorized attacker to execute code over a network.
- CVE-2026-58650High
A vulnerability in Visual Studio Code involves an authorization bypass through a user-controlled key, allowing an unauthorized attacker to bypass a security feature locally.
Original NVD description (English source)
Visual Studio Code Elevation of Privilege Vulnerability

