Read the docs
TI-2020-13007 Aliases CVE-2020-17023GHSA-vwrg-gm47-cm4h

Visual Studio JSON Remote Code Execution Vulnerability

Priority MEDIUM 42Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

<p>A remote code execution vulnerability exists in Visual Studio Code when a user is tricked into opening a malicious 'package.json' file. An attacker who successfully exploited the vulnerability could run arbitrary code in the context of the current user. If the current user is logged on with administrative user rights, an attacker could take control of the affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights.</p> <p>To exploit this vulnerability, an attacker would need to convince a target to clone a repository and open it in Visual Studio Code. Attacker-specified code would execute when the target opens the malicious 'package.json' file.</p> <p>The update address the vulnerability by modifying the way Visual Studio Code handles JSON files.</p>

Why it matters now

EPSS 0.04619 91st percentileScored 2026-11-07
Fix Fixed Visual Studio Code (Microsoft): publication

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
MicrosoftVisual Studio Code1.0.0 to before publicationpublicationPatch availableCNA
  • Visual Studio Code VendorMicrosoft Affected 1.0.0 to before publication Fixed in publication Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:microsoft:visual_studio_code:-:*:*:*:*:*:*:*not specified by NVDVulnerableMicrosoft
  • cpe:2.3:a:microsoft:visual_studio_code:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·Microsoft

Remediation

  • Fix · CNA Visual Studio Code (Microsoft) Fixed in publication

Timeline

  1. 2026-10-02 Threatist record created from CVE-2020-17023
  2. 2026-10-03 Alias added: GHSA-vwrg-gm47-cm4h

References

  • TI-2022-19575 Visual Studio Code Remote Code Execution Vulnerability CVSS 3.1HIGH 7.8
  • TI-2022-12402 Visual Studio Code Remote Code Execution Vulnerability CVSS 3.1HIGH 8.8
  • TI-2023-13732 Visual Studio Code Spoofing Vulnerability CVSS 3.1MEDIUM 6.6
  • TI-2019-00505 A remote code execution vulnerability exists in Visual Studio Code when it process… CVSS 3.0HIGH 7.8
  • TI-2021-19679 Visual Studio Code Remote Code Execution Vulnerability CVSS 3.1HIGH 7.8
  • TI-2022-06348 Visual Studio Code Remote Development Extension Remote Code Execution Vulnerability CVSS 3.1HIGH 8.1
See all 88 →

Sources