Skip to content
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.

Microsoft advisory

Affected versions

PackageAffectedFixed in
Visual Studio Code
Product
>= 1.0.0, < 1.128.11.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
Advisory
Secret exfiltration vulnerability
HighJul 14
Workspace Trust Security Feature Bypass Vulnerability
HighJul 14
Remote Code Execution Vulnerability
HighJul 14
Microsoft .NET 8.0: unsafe deserialization
High7.8Jul 14
Microsoft .NET 8.0: code injection
High7.8Jul 14
Microsoft .NET 10.0: resource exhaustion
High7.5Jul 14

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.