{"id":"CVE-2020-1192","aliases":["AZL-113051","EUVD-2020-12072","GHSA-7c3q-gqj2-m85j"],"status":"published","title":"Visual Studio Code Python Extension Remote Code Execution Vulnerability","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.\nTo 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.\nThe update address the vulnerability by modifying the way Visual Studio Code Python extension enforces user settings.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.04255,"percentile":0.91127,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-20"],"published":"2020-05-21T22:53:37Z","modified":"2026-11-10T14:18:01Z","affected":[{"source":"osv","ecosystem":"Azure Linux:3","package":"python-py","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.11.0-1"}]}]}],"products":[{"vendor":"microsoft","product":"python"},{"vendor":"microsoft","product":"visual studio code"}],"references":[{"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2020-1192","tags":["vendor-advisory","patch"]},{"url":"https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-1192","tags":["x_refsource_MISC","x_transferred","Patch","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1192","tags":["web"]},{"url":"https://github.com/advisories/GHSA-7c3q-gqj2-m85j"}],"sources":{"cve":[{"id":"CVE-2020-1192","title":"Visual Studio Code Python Extension Remote Code Execution Vulnerability","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.\nTo 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.\nThe update address the vulnerability by modifying the way Visual Studio Code Python extension enforces user settings.","status":"published","published":"2020-05-21T22:53:37Z","modified":"2026-08-19T16:33:15.177Z","updated_at":"2026-11-02T14:35:56.638833Z"}],"euvd":[{"id":"EUVD-2020-12072","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.\nTo 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.\nThe update address the vulnerability by modifying the way Visual Studio Code Python extension enforces user settings.","status":"published","published":"2020-05-21T22:53:37Z","modified":"2026-08-19T16:33:15Z","updated_at":"2026-11-02T18:01:42.411264Z"}],"ghsa":[{"id":"GHSA-7c3q-gqj2-m85j","title":"A remote code execution vulnerability exists in Visual Studio Code when the Python extension...","description":"A remote code execution vulnerability exists in Visual Studio Code when the Python extension loads workspace settings from a notebook file, aka 'Visual Studio Code Python Extension Remote Code Execution Vulnerability'. This CVE ID is unique from CVE-2020-1171.","status":"published","published":"2022-05-24T17:18:34Z","modified":"2026-08-19T18:31:27Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:10:40.42434Z"}],"nvd":[{"id":"CVE-2020-1192","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.\nTo 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.\nThe update address the vulnerability by modifying the way Visual Studio Code Python extension enforces user settings.","status":"published","published":"2020-05-21T23:15:18.837Z","modified":"2026-08-19T17:17:34.207Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:06:04.922138Z"}],"osv":[{"id":"AZL-113051","title":"CVE-2020-1192 affecting package python-py 1.11.0-1","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.\nTo 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.\nThe update address the vulnerability by modifying the way Visual Studio Code Python extension enforces user settings.","status":"published","published":"2020-05-21T23:15:18Z","modified":"2026-11-10T14:18:01.552342429Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-10T15:02:19.085067Z"}]}}
