MicrosoftCVE-2026-50520
Microsoft Visual Studio Code: command injection
High8.4CVE-2026-50520 · Published Jul 14, 2026 · updated Jul 16, 2026
Improper neutralization of special elements used in a command ('command injection') in Visual Studio Code allows an unauthorized attacker to execute code locally.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| Visual Studio Code Product | >= 1.0.0, < 1.128.1 | 1.128.1 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Severity from
- the vendor (its own CVE record or advisory)
- Weakness
- CWE-77
More Microsoft advisories
All Microsoft| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Jul 14 | Secret exfiltration vulnerability | High | 1.128.1 |
| Jul 14 | Workspace Trust Security Feature Bypass Vulnerability | High | 1.128.1 |
| Jul 14 | Remote Code Execution Vulnerability | High | 1.128.1 |
| Jul 14 | Microsoft .NET 8.0: unsafe deserialization | High7.8 | 8.0.29+9 more |
| Jul 14 | Microsoft .NET 8.0: code injection | High7.8 | 8.0.29+10 more |
| Jul 14 | Microsoft .NET 10.0: resource exhaustion | High7.5 | 10.0.10+5 more |