CVE & CISA-KEV Catalog

CVE-2020-16881

HIGHEPSS 92th pctl
7.8
CVSS v3
NVD

Description

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. 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. The update address the vulnerability by modifying the way Visual Studio Code handles JSON files.

How to fix

Remediation Available
Microsoft Visual Studio CodeWindows application
Affected:1.48.1Fixed in:1.48.1Microsoft Corporation

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploit Intelligence

5.37%probability of exploitation in 30 days
92ndpercentile

High risk: more likely to be exploited than 92% of all known CVEs.

References

Embed a live status badge for CVE-2020-16881
CVE-2020-16881 severity badge

Markdown

[![CVE-2020-16881](https://tridentstack.com/cve/badge/CVE-2020-16881.svg)](https://tridentstack.com/cve/CVE-2020-16881)

HTML

<a href="https://tridentstack.com/cve/CVE-2020-16881"><img src="https://tridentstack.com/cve/badge/CVE-2020-16881.svg" alt="CVE-2020-16881"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-02-23.