CVE-2026-50520: Visual Studio Code Remote Code Execution Vulnerability
Improper neutralization of special elements used in a command ('command injection') in Visual Studio Code allows an unauthorized attacker to execute code locally.
CSIRTS triage
- What
- Improper neutralization of special elements used in a command allows an unauthorized attacker to execute code locally.
- Who is affected
- Deployments of Visual Studio Code that are vulnerable to command injection.
- Urgency
- Remediation is urgent due to the high severity and potential for local code execution.
- Action
- Update to the latest version of Visual Studio Code to mitigate this vulnerability.
AI-assisted analysis generated from the source advisory — verify against the original.
⚡ Watch Visual Studio Code
Get an email when a new Visual Studio Code advisory drops — max one per day, one-click unsubscribe.
Details
Original advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-50520
Exploitation outlook
EPSS (FIRST.org) estimates each CVE’s probability of exploitation in the next 30 days — here is the CSIRTS.com read on those numbers.
- Low exploitation riskCVE-2026-505200.25% 30-day exploitation probability — currently an unlikely target, but scores change as exploit code circulates. Riskier than 17% of all scored CVEs.
Referenced CVEs
| CVE | CSIRTS overview | External |
|---|---|---|
| CVE-2026-50520 | coverage & exploitation status | NVD · CVE.org |
Same CVEs, other sources
How other CERTs, PSIRTs and databases cover the vulnerabilities in this advisory.
Recent advisories for Visual Studio Code
A cluster of recent advisories against the same product widens the attack surface — attackers routinely chain freshly published CVEs on one product, so review these together.
- highCVE-2026-44191: A flaw was found in the Visual Studio Code Ansible Lightspeed extension. This command injectio…nvd · 2026-07-22
- highCVE-2026-44190: A flaw was found in the Ansible Lightspeed Visual Studio Code extension. This Command Injectio…nvd · 2026-07-22
- highCVE-2026-44189: A flaw was found in the Visual Studio Code Ansible Lightspeed extension's AnsiblePlaybookRunPr…nvd · 2026-07-22
- lowCVE-2026-44187: A flaw was found in the Ansible Lightspeed extension for Visual Studio Code. This vulnerabilit…nvd · 2026-07-22
- highCVE-2026-47305: Protection mechanism failure in Visual Studio allows an unauthorized attacker to execute code …nvd · 2026-07-14
- highCVE-2026-57102: Inclusion of functionality from untrusted control sphere in Visual Studio Code allows an unaut…nvd · 2026-07-14
More from Microsoft Security Response Center
- highCVE-2026-57992: Microsoft Edge (Chromium-based) Remote Code Execution Vulnerability2026-07-14
- mediumCVE-2026-59926: Mistune: XSS via unescaped class option in Admonition directive2026-07-14
- mediumCVE-2026-55003: Windows Remote Desktop Protocol (RDP) Information Disclosure Vulnerability2026-07-14
- highCVE-2026-42900: Microsoft Windows App Store Elevation of Privilege Vulnerability2026-07-14
- unknownCVE-2026-13867: Chromium: CVE-2026-13867 Inappropriate implementation in Geolocation2026-07-14