CVE-2020-1192

Visual Studio Code Python Extension Remote Code Execution Vulnerability

No CVSS score yet EPSS 4.26%

Published 21 May 2020 Updated 19 Aug 2026 CNA: microsoft

Description

A remote code execution vulnerability exists in Visual Studio Code when the Python extension loads workspace settings from a notebook 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 open a specially crafted file in Visual Studio Code with the Python extension installed. The update address the vulnerability by modifying the way Visual Studio Code Python extension enforces user settings.

Exploitation

EPSS 4.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 91.8% of all scored CVEs. Scores of 27 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Visual Studio Code
affected from 1.0.0, before publication

Is my server affected?

This CVE is in Visual Studio Code of Microsoft, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Advisories

Other references

Source: the record CVE-2020-1192 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.