SEVERITY AND EXPLOITATION CONTEXT

CVE-2020-16977: Visual Studio Code Python Extension Remote Code Execution Vulnerability

Review published vectors, EPSS probability and CISA KEV status independently.

Lookup reads saved CVE and CISA snapshots from this site and requests EPSS from FIRST. The CVE source is contacted when a saved record is unavailable or you request a refresh. External providers receive your IP address. Finding notes and saved assessments are not sent by this feature.

Visual Studio Code Python Extension Remote Code Execution Vulnerability

<p>A remote code execution vulnerability exists in Visual Studio Code when the Python extension loads a Jupyter 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.</p> <p>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.</p> <p>The update addresses the vulnerability by modifying the way Visual Studio Code Python extension renders notebook content.</p>

Published CVE snapshot: 2026-10-22. Record last updated: 2024-08-04T13:45:34.781Z. The live panels refresh separately; this snapshot remains available if a source cannot be reached.

View the CVE Program source record

microsoft · CVSS 3.1: 6.3 Medium

Calculated from the published vector. Base score: 7.0. Provider-reported Base score: 7.

Vector and metric explanationsCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C
MetricValueMeaning
Attack vector (AV)LRequires local access, a local execution path, or a user opening an attacker-supplied file.
Attack complexity (AC)HSuccessful exploitation depends on conditions beyond the attacker’s control, requiring additional preparation or execution effort.
Privileges required (PR)NThe attacker needs no privileges before exploiting the vulnerability.
User interaction (UI)RA user other than the attacker must take an action for exploitation to succeed.
Scope (S)UConsequences stay within resources managed by the same security authority.
Confidentiality (C)HAll information is disclosed, or a limited disclosure has a direct, serious confidentiality consequence.
Integrity (I)HIntegrity is completely lost, or modification has a direct, serious consequence.
Availability (A)HAvailability is completely lost, or the disruption has a direct, serious consequence.
Exploit code maturity (E)PA proof of concept is available, but substantial modification or expertise is needed for practical use.
Remediation level (RL)OAn official complete fix is available.
Report confidence (RC)CDetailed evidence or authoritative confirmation establishes the vulnerability.

These definitions explain provider selections; they do not independently verify exploitation.

Review vector in calculator

Affected products reported by the provider

  • Microsoft · Python extension for Visual Studio Code

Consult the advisory for affected version ranges, configurations and remediation. A product listing alone does not establish that your installation is vulnerable.

Source references (1)

Interpret severity and exploitation separately

CVSS measures technical severity. EPSS estimates exploitation probability over the next 30 days. CISA KEV lists known exploited vulnerabilities. A missing EPSS result is not zero probability, and absence from KEV does not prove no exploitation. Review your deployment and retain the version, vector and evidence when documenting a finding.

Browse CVEs from 2020 · All published CVEs · Calculation methodology