Vulnerability · Published Jul 14, 2026 · Assigned by microsoft

CVE-2026-50520Visual Studio Code Remote Code Execution Vulnerability

High 8.4

In plain English

A high-severity command injection in Visual Studio Code from Microsoft. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 29% of all known vulnerabilities).

Severity (CVSS 3.1)8.4High
Exploit odds (30 days)0.4%top 71.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Improper neutralization of special elements used in a command ('command injection') in Visual Studio Code allows an unauthorized attacker to execute code locally.

Affected products (as reported)

VendorProductVersions
Microsoft Visual Studio Code 1.0.0 – before 1.128.1

Weakness: CWE-77 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C

References