CVE-2026-50520
HighCVSS 8.4Exploitation Probability (EPSS)
Low risk46th percentile - higher than 46% of all known CVEs
Summary
A command injection vulnerability in Visual Studio Code allows an unauthorized attacker to execute code locally by failing to properly neutralize special elements used in commands.
Risk Assessment
An attacker can remotely execute arbitrary code on the victim's machine, leading to full system compromise, data theft, or malware installation.
Recommendation
It is recommended to immediately 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-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.
- CVE-2026-102232High
Incorrect authorization in Visual Studio Code allows an unauthorized attacker to bypass a security feature locally.
- CVE-2026-102231High
Improper resolution of path equivalence in Visual Studio Code allows an unauthorized attacker to bypass a security feature locally.
- CVE-2026-102229Medium
Path traversal vulnerability in Visual Studio Code allows an authorized attacker to disclose information over a network.
- CVE-2026-41613High
A vulnerability in Visual Studio Code allows an unauthorized attacker to elevate privileges over a network using session fixation.
Original NVD description (English source)
Improper neutralization of special elements used in a command ('command injection') in Visual Studio Code allows an unauthorized attacker to execute code locally.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

