CVE-2021-43891
HighCVSS 7.8Exploitation Probability (EPSS)
Very high risk96th percentile - higher than 96% of all known CVEs
Summary
Visual Studio Code contains a remote code execution vulnerability. An attacker could exploit this flaw to execute arbitrary code in the context of the user.
Risk Assessment
Risk of taking over a developer's workstation and accessing sensitive data.
Recommendation
Update Visual Studio Code to the latest version that includes the security fix.
Other vulnerabilities in Visual Studio Code
See all- CVE-2026-102238Critical
Visual Studio Code is affected by a path traversal vulnerability due to improper limitation of a pathname to a restricted directory. This allows an unauthorized attacker to execute code over a network.
- CVE-2026-81376Critical
Incomplete comparison with missing factors in Visual Studio Code allows an unauthorized attacker to bypass a security feature over a network.
- 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-70098High
Visual Studio Code has a missing authorization vulnerability that allows an unauthorized attacker to execute code over a network.
- CVE-2026-102235High
Improper encoding or escaping of output in Visual Studio Code allows an unauthorized attacker to execute code over a network.
- CVE-2026-102234High
Reliance on untrusted inputs in a security decision in Visual Studio Code allows an unauthorized attacker to bypass a security feature over a network.
- CVE-2026-69370High
Improper neutralization of special elements used in a command ('command injection') in Visual Studio Code allows an unauthorized attacker to execute code over a network.
- CVE-2026-102851Medium
Incorrect privilege assignment in Visual Studio Code allows an authorized attacker to bypass a security feature locally.
- CVE-2026-102233High
Missing authorization in Visual Studio Code allows an unauthorized attacker to bypass a security feature locally.
Original NVD description (English source)
Visual Studio Code Remote Code Execution Vulnerability
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

