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.
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
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.