What’s Vulnerable › Vulnerabilities
CVE-2026-50520: Visual Studio Code Remote Code Execution Vulnerability
- Severity: high (CVSS 8.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-14 · updated 2026-10-28
- Weakness: CWE-77
Description
Improper neutralization of special elements used in a command ('command injection') in Visual Studio Code allows an unauthorized attacker to execute code locally.
Affected products
- Microsoft Visual Studio Code: from 1.0.0 before 1.128.1 — fixed in 1.128.1
- Microsoft Visual Studio Code: from 1.0.0 before 1.128.1 — fixed in 1.128.1
How to fix
Upgrade to a fixed version: Microsoft Visual Studio Code 1.128.1; Microsoft Visual Studio Code 1.128.1. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-50520 or the next vulnerability affects your stack