CVE-2020-1171
publishedVisual Studio Code Python Extension Remote Code Execution Vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Microsoft | — | Python extension for Visual Studio Code2020 to < publication | Affected | Not stated | microsoft |
Description
A remote code execution vulnerability exists in Visual Studio Code when the Python extension loads configuration files after opening a project. 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 with the Python extension installed. Attacker-specified code would execute when the target opened the integrated terminal. The update address the vulnerability by modifying the way Visual Studio Code Python extension handles environment variables.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Microsoft | Python extension for Visual Studio Code | 2020 to < publication (affected · custom) | microsoft · cna |
Weaknesses
1- Remote Code Execution
References
2- Visual Studio Code Python Extension Remote Code Execution Vulnerability https://msrc.microsoft.com/update-guide/vulnerability/CVE-2020-1171
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-1171
Provider assertions
2microsoft · cna
Visual Studio Code Python Extension Remote Code Execution Vulnerability
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4fa82e238b2ff1e4fa06f0d95d259eea6bcfb296b1b275ad5ab333b6ebf2d2ca
- Ingested
- 23 Sep 2026, 07:49:11 UTC
- Source record
- Official CVE record