IT SBIT Services
Schneeberger
DEEN
CVE tracker

Microsoft Visual Studio Code: Remote Code Execution

CVE-2026-121662High 8.6

← All vulnerabilities

Summary

Visual Studio Code contains a command injection flaw (CWE-77) that allows an attacker to execute code on the computer where it runs. According to the research notes, exploitation requires a user to open a crafted workspace or folder, and the flaw may bypass Workspace Trust protections. The CVSS 3.1 base score is 8.6, and the issue is local rather than internet-facing.

Affected

  • Microsoft Visual Studio Code from 1.0.0 before 1.145.3

Fixed in

  • Microsoft Visual Studio Code 1.145.3 or later

Workaround

  • No workaround is needed once the patch is applied.
  • Until systems are updated, do not open untrusted repositories or workspaces.
  • Keep Workspace Trust enabled and do not trust workspaces from unknown sources. Do not rely on it as the only safeguard.

Exploitation

  • CISA SSVC assessment in the CVE record: exploitation none, not automatable.
  • Microsoft temporal vector E:U (unproven); no public exploit code found.
  • Tenable reports Microsoft's exploitability index as Exploitation More Likely.
  • Strix lists KEV as No; this is a secondary source and should be verified against CISA's catalogue.

Our recommendation

  • Update all Visual Studio Code installations, including portable copies, to 1.145.3 or later.
  • Prioritise developer workstations with elevated rights or access to source code, secrets or CI/CD credentials.
  • Enforce Workspace Trust through managed settings where possible.
  • Do not open repositories or files from unknown sources.
  • Monitor for unusual processes started by Visual Studio Code.

Information from Microsoft (Patch Tuesday November 2026)

Severity (Microsoft)
Important
Impact
Remote code execution – Visual Studio Code
Status on Patch Tuesday
Neither exploited nor publicly disclosed
Exploitability assessment
Exploitation more likely
Product family
Developer tools (.NET, Visual Studio …)

Entry in the Microsoft Security Update Guide

Public exploits

PoC-in-GitHub, Metasploit and Exploit-DB list nothing for this CVE.

Research sources

Researched and written up in English and German by an AI (Claude by Anthropic) based on NVD, CISA, EPSS and the sources listed. The vendor information is authoritative. Researched on 11 Nov 2026, 01:11.

Original description (NVD)

Improper neutralization of special elements used in a command ('command injection') in Visual Studio Code allows an unauthorized attacker to execute code locally.

NVD references (1)

Sources

The tracker combines official, freely usable data sources – updated continuously:

This product uses data from the NVD API but is not endorsed or certified by the NVD. EPSS data © FIRST.org.

Affected? We can help.

We check whether your systems are affected, install updates and close the gap – continuously with the System Health Checker if you wish.