RCE in Microsoft Visual Studio Code
CVE-2026-50520
Improper neutralization of special elements used in a command ('command injection') in Visual Studio Code allows an unauthorized attacker to execute code locally.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.4 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.004 (27.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 28th percentile — 27.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000
Affected products
- Microsoft Visual Studio Code — versions 1.0.0
- Microsoft Visual Studio Code
Weakness classification (CWE)
References
- Visual Studio Code Remote Code Execution Vulnerability (Product, vendor-advisory, Patch, patch, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-50520?
- CVE-2026-50520 is a high-severity vulnerability in Microsoft Visual Studio Code, classified under Command Injection. CVSS score: 8.4/10. Published 2026-07-14.
- How severe is CVE-2026-50520?
- High severity. CVSS v3 base score is 8.4 out of 10.