Microsoft Visual Studio Code

79 CVEs affecting Microsoft Visual Studio Code. Latest disclosed: 2026-08-11. Critical: 1, High: 64.

Top CVEs affecting Microsoft Visual Studio Code
CVESeverityScorePublishedSummary
CVE-2026-47281Critical9.62026-06-09Missing authorization in Visual Studio Code allows an unauthorized attacker to elevate privileges over a network.
CVE-2026-70336High8.82026-08-11Improper control of generation of code ('code injection') in Visual Studio Code allows an unauthorized attacker to execute code over a network.
CVE-2026-69320High8.82026-08-11Improper neutralization of special elements used in an os command ('os command injection') in Visual Studio Code allows an unauthorized attacker to execute cod…
CVE-2026-59113High8.82026-08-11Missing authorization in Visual Studio Code allows an unauthorized attacker to execute code over a network.
CVE-2026-57102High8.82026-07-14Inclusion of functionality from untrusted control sphere in Visual Studio Code allows an unauthorized attacker to bypass a security feature over a network.
CVE-2026-41613High8.82026-05-12Session fixation in Visual Studio Code allows an unauthorized attacker to elevate privileges over a network.
CVE-2026-41109High8.82026-05-12Improper neutralization of special elements in output used by a downstream component ('injection') in GitHub Copilot and Visual Studio allows an unauthorized a…
CVE-2026-21518High8.82026-02-10Improper neutralization of special elements used in a command ('command injection') in GitHub Copilot and Visual Studio Code allows an unauthorized attacker to…
CVE-2025-55319High8.82025-09-12Ai command injection in Agentic AI and Visual Studio Code allows an unauthorized attacker to execute code over a network.
CVE-2024-43488High8.82024-10-08Missing authentication for critical function in Visual Studio Code extension for Arduino allows an unauthenticated attacker to perform remote code execution th…
CVE-2024-26165High8.82024-03-12Visual Studio Code Elevation of Privilege Vulnerability
CVE-2022-30129High8.82022-05-10Visual Studio Code Remote Code Execution Vulnerability
CVE-2020-1416High8.82020-07-14An elevation of privilege vulnerability exists in Visual Studio and Visual Studio Code when they load software dependencies, aka 'Visual Studio and Visual Stud…
CVE-2026-50520High8.42026-07-14Improper neutralization of special elements used in a command ('command injection') in Visual Studio Code allows an unauthorized attacker to execute code local…
CVE-2026-45482High8.42026-06-09Improper limitation of a pathname to a restricted directory ('path traversal') in GitHub Copilot and Visual Studio Code allows an unauthorized attacker to bypa…
CVE-2026-69306High8.22026-08-11Not failing securely ('failing open') in Visual Studio Code allows an unauthorized attacker to bypass a security feature over a network.
CVE-2022-21991High8.12022-02-09Visual Studio Code Remote Development Extension Remote Code Execution Vulnerability
CVE-2026-21523High8.02026-02-10Time-of-check time-of-use (toctou) race condition in GitHub Copilot and Visual Studio allows an authorized attacker to execute code over a network.
CVE-2025-64660High8.02025-11-20Improper access control in GitHub Copilot and Visual Studio Code allows an authorized attacker to execute code over a network.
CVE-2026-70335High7.82026-08-11Improper neutralization of special elements used in an os command ('os command injection') in GitHub Copilot and Visual Studio Code allows an unauthorized atta…