Skip to main content

Visual Studio Code EUVDEUVD-2026-56589

| CVE-2026-70336 HIGH
Code Injection (CWE-94)
2026-08-11 secure@microsoft.com GHSA-29cx-mh6p-wj36
8.8
CVSS 3.1 · NVD
Share

Severity by source

Vendor (microsoft) PRIMARY
HIGH
qualitative
NVD
8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
ENISA EUVD
HIGH
qualitative
vuln.today AI
8.8 HIGH

Network-reachable injection requiring victim to open malicious content (UI:R, PR:N); full triad impact limited to user session scope (S:U).

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (microsoft).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Patch available
Aug 11, 2026 - 18:19 EUVD
Analysis Generated
Aug 11, 2026 - 17:51 vuln.today
CVE Published
Aug 11, 2026 - 17:19 nvd
HIGH 8.8

DescriptionNVD

Improper control of generation of code ('code injection') in Visual Studio Code allows an unauthorized attacker to execute code over a network.

AnalysisAI

Remote code execution in Microsoft Visual Studio Code allows a network-based attacker to inject and execute arbitrary code on a victim's machine with no prior authentication, provided the victim performs a user interaction - such as opening a malicious workspace, file, or URI. Classified under CWE-94 (Code Injection), the vulnerability carries a CVSS base score of 8.8, reflecting high impact across confidentiality, integrity, and availability. No public exploit code or CISA KEV listing was identified at the time of analysis, but the attack complexity is rated Low, making reliable exploitation straightforward once a victim is lured.

Technical ContextAI

CWE-94 (Improper Control of Generation of Code - Code Injection) describes a class of vulnerabilities where user-controlled input is passed to a code generation or evaluation mechanism without adequate sanitization, allowing an attacker to inject executable logic. Visual Studio Code is Microsoft's Electron-based cross-platform IDE, which hosts a Node.js runtime, a built-in extension engine, and numerous embedded interpreters and language servers. Attack surface candidates for code injection in VS Code historically include workspace trust bypass, malicious .code-workspace files, settings injection, or extensions that evaluate untrusted input. The CVSS vector (AV:N/AC:L/PR:N/UI:R) indicates the injection path is reachable over the network with low complexity but requires the victim to take an action, consistent with opening a crafted file, repository, or remote workspace. The NVD CPE for affected versions was not provided in the available data; version ranges should be confirmed against the Microsoft MSRC advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-70336.

RemediationAI

The primary remediation is to apply the Microsoft-released patch referenced in the MSRC advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-70336. Users should update Visual Studio Code to the patched version specified in that advisory; an exact fix version number was not available in the data provided and must be confirmed from the MSRC page. As a compensating control pending patching, organizations should enable and enforce VS Code's Workspace Trust feature, which prompts users before executing workspace-level code, and configure it to default to Restricted mode for all unknown workspaces - this directly limits the code injection surface but does not eliminate it. Additionally, blocking VS Code's access to arbitrary external URIs and remote workspaces via network policy reduces the network-reachable attack surface. Developers should be advised not to open repositories or workspace files from untrusted or unverified sources until patched.

CVE-2022-41034 HIGH POC
7.8 Oct 11

Visual Studio Code Remote Code Execution Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is no authent

CVE-2022-30129 HIGH POC
8.8 May 10

Visual Studio Code Remote Code Execution Vulnerability. Rated high severity (CVSS 8.8), this vulnerability is remotely e

CVE-2026-81376 CRITICAL
9.6 Sep 08

Security-feature bypass in Microsoft Visual Studio Code before 1.136.2 lets a remote, unauthenticated attacker defeat a

CVE-2026-47281 CRITICAL
9.6 Jun 09

Privilege escalation in Microsoft Visual Studio Code allows remote unauthenticated attackers to elevate privileges over

CVE-2021-43891 HIGH
7.8 Dec 15

Visual Studio Code Remote Code Execution Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is no authent

CVE-2026-57102 HIGH
8.8 Jul 14

Security-feature bypass in Microsoft Visual Studio Code lets a remote attacker deliver functionality from an untrusted c

CVE-2026-59113 HIGH
8.8 Aug 11

Remote code execution in Visual Studio Code (versions 1.0.0 through 1.132.0) is enabled by a missing authorization check

CVE-2026-78462 HIGH
8.8 Sep 08

Authorization bypass in Visual Studio Code versions 1.0.0 through 1.136.1 allows an unauthenticated network attacker to

CVE-2026-69320 HIGH
8.8 Aug 11

OS command injection in Visual Studio Code exposes victims to remote code execution when they interact with attacker-con

CVE-2026-41109 HIGH
8.8 May 12

Security-feature bypass in GitHub Copilot and Visual Studio (affecting Visual Studio Code builds before 1.119.1) lets a

CVE-2026-41613 HIGH
8.8 May 12

Privilege elevation in Microsoft Visual Studio Code (all releases from 1.0.0 up to but not including 1.119.1) stems from

CVE-2024-43488 CRITICAL
9.8 Oct 08

Missing authentication for critical function in Visual Studio Code extension for Arduino allows an unauthenticated attac

Share

EUVD-2026-56589 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy