Skip to content
RCE Advisory Intermediate CVE-2026-102235

Visual Studio Code Remote Code Execution Vulnerability (CVE-2026-102235)

Visual Studio Code fails to properly encode or escape output shown in its integrated terminal. An attacker can place crafted content there, and if the user clicks a notification link, commands may run with the user's privileges.

kayiz Follow with dldil

Originally disclosed on Microsoft

High 8.8 View original

Description

Improper encoding or escaping of output in Visual Studio Code allows an unauthorized attacker to execute code over a network.

FAQ

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.

Visual Studio Code

Visual Studio Code

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by kayiz with Lien Phat Technology Corporation. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely improper encoding or escaping of output displayed in the integrated terminal, allowing crafted content to become an active link.

Impact

If the user clicks the crafted notification link, an attacker could execute commands in the context of the user; authentication is not required.

What the attacker needed

User clicks a notification link; crafted content in integrated terminal

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Visual Studio Code is a popular code editor. It has a built-in terminal, a text window where commands run. The editor did not clean up some text before showing it, so a malicious link could appear in a notification. If the user clicked that link, harmful commands could run on their computer as if the user had typed them.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by kayiz

View all

3 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.