CVE-2026-50520
High
Description
Improper neutralization of special elements used in a command ('command injection') in Visual Studio Code allows an unauthorized attacker to execute code locally.
SeverityHigh
CVSS8.4
Exploit probability—
Product
Microsoft Visual Studio Code
PublishedJul 14, 2026
First seenJul 14, 2026
Weakness typeCWE-77Command injection
How to fix
Update
- microsoft visual_studio_code1.128.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| microsoft visual_studio_code | 1.0.0 ≤ v < 1.128.1 | 1.128.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.