Abstract illustration of connected devices separated by a protected security boundary.
Developers and IT administrators managing software engineering workstations have a new item on their security checklist from the Microsoft Security Response Center (MSRC). Tracked as CVE-2026-102235, the Visual Studio Code Remote Code Execution Vulnerability addresses a flaw in how the code editor handles output escaping in its integrated terminal. Rated Important with a CVSS base score of 8.8 and a temporal score of 7.7, the flaw stems from improper encoding or escaping of output (CWE-116) and requires administrators and developers to update Visual Studio Code to fixed build 1.141.1 or later.

While modern integrated development environments (IDEs) and code editors make life dramatically easier by turning terminal output into clickable notifications and interactive elements, that very convenience can become an attack surface when untrusted output is not strictly sanitized.

Abstract illustration of connected devices separated by a protected security boundary. Official Advisory Breakdown and Risk Metrics​

According to the official MSRC advisory, the core issue is defined as follows:

  • CVE ID: CVE-2026-102235
  • Title: Visual Studio Code Remote Code Execution Vulnerability
  • Severity: Important
  • CVSS Base Score: 8.8
  • CVSS Temporal Score: 7.7
  • CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
  • Weakness (CWE): CWE-116
  • Description: Improper encoding or escaping of output in Visual Studio Code allows an unauthorized attacker to execute code over a network.
  • Exploitation Assessment: Exploitation Less Likely
  • Publicly disclosed: No
  • Exploited: No
  • Customer action required: Yes

Summary of Advisory Metrics​

The vulnerability carries a high base score of 8.8 because it is network-accessible (AV:N), requires low attack complexity (AC:L) and no privileges (PR:N), and can result in a complete compromise of confidentiality, integrity, and availability (C:H/I:H/A:H) within the user's security context. However, user interaction is required (UI:R), and Microsoft currently assesses the flaw as Exploitation Less Likely, with no prior public disclosure or active exploitation observed.

How the Vulnerability Works: Terminal Output and Notification Links​

At the heart of CVE-2026-102235 is CWE-116 (Improper Encoding or Escaping of Output). In the official advisory facts, Microsoft details the exact attack scenario:

  • Visual Studio Code Remote Code Execution Vulnerability: Improper encoding or escaping of output in Visual Studio Code allows an unauthorized attacker to execute code over a network.
  • How could an attacker exploit this vulnerability? An attacker could cause specially crafted content to appear in the Visual Studio Code integrated terminal. If the user clicks the resulting notification link, successful exploitation could allow the attacker to execute commands in the context of the user. Authentication is not required.

Why Integrated Terminal Escaping Matters to Developers​

Why does a terminal output bug carry an 8.8 base score? Based on general industry knowledge of terminal emulators and developer workflows, developers routinely interact with untrusted or remote data streams inside the Visual Studio Code integrated terminal—whether tailing remote logs, running build scripts from third-party repositories, or inspecting network responses.

When a terminal emulator parses output stream sequences to generate interactive UI elements—such as a notification link—any failure to properly encode or escape that output can allow an unauthenticated attacker to disguise malicious command execution triggers inside seemingly benign link text. Because the resulting commands run in the context of the current user, clicking that crafted notification link grants the attacker the same access to source code, local credentials, and system resources that the developer possesses.

Fortunately, the attack is not zero-click. An attacker must both deliver the specially crafted content into the user's integrated terminal and convince the user to click the resulting notification link.

Affected Products and Remediation Guide​

Microsoft has released an official fix that resolves the output encoding issue in Visual Studio Code.

Affected ProductFixed BuildOfficial Remediation
Visual Studio Code1.141.1For Visual Studio Code, update to fixed build 1.141.1 or later.

Actionable Steps for Developers and IT Teams​

Because Customer action required: Yes applies to this advisory, organizations and individual users must ensure their installations are updated:

  1. Apply the Official Update: For Visual Studio Code, update to fixed build 1.141.1 or later.
  2. Verify Installed Build Versions: Endpoint administrators and developers should check their currently installed Visual Studio Code version to confirm it meets or exceeds build 1.141.1.
  3. Exercise Caution with Terminal Links: Until build 1.141.1 or later is deployed across all development machines, developers should treat unexpected notification links generated from integrated terminal output with strict skepticism, particularly when working with untrusted network inputs or external logs.

Section Summary​

CVE-2026-102235 highlights how even a single unescaped output sequence in a developer tool can bridge the gap between passive terminal output and active command execution. Updating Visual Studio Code to fixed build 1.141.1 or later closes this vector completely.

 

References

  1. Official MSRC or vendor evidence msrc.microsoft.com
  2. Official MSRC or vendor evidence api.msrc.microsoft.com
  3. Official MSRC or vendor evidence api.msrc.microsoft.com