{"id":"CVE-2020-1171","published":"2020-05-21T22:53:30Z","modified":"2026-08-19T16:34:14Z","title":"Visual Studio Code Python Extension Remote Code Execution Vulnerability","vendor":"Microsoft","product":"Python extension for Visual Studio Code","tier":"tail","description":{"text":"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.\nTo 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.\nThe update address the vulnerability by modifying the way Visual Studio Code Python extension handles environment variables.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.05211,"percentile":0.92693,"provenance":"source"},"cwes":[],"references":[{"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2020-1171","tags":["vendor-advisory","patch"]},{"url":"https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-1171","tags":["x_refsource_MISC","x_transferred"]}],"priority":{"score":18.5,"factors":[{"name":"EPSS percentile","points":18.54}]},"vendorSlug":"microsoft","affectedVersions":[{"vendor":"Microsoft","product":"Python extension for Visual Studio Code","versions":[">= 2020, < publication"]}],"summary":{"text":"The Python extension for Visual Studio Code, a Microsoft product, contains a remote code execution flaw in how it loads configuration files after a project is opened. An attacker could run arbitrary code as the current user, with full control of the system if that user has administrative rights, provided they convince the target to clone a malicious repository and open it in Visual Studio Code with the extension installed, which then executes attacker-specified code when the integrated terminal is opened.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:09:45Z"},"euvd":{"id":"EUVD-2020-12053","exploited":false,"provenance":"source"}}