Skip to main content

Visual Studio Code CVE-2026-47285

| EUVDEUVD-2026-56306 MEDIUM
Command Injection (CWE-77)
2026-08-11 secure@microsoft.com GHSA-576p-g2qh-236v
6.5
CVSS 3.1 · Vendor: microsoft
Share

Severity by source

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

Network delivery with mandatory victim interaction; attacker needs no privileges; impact is confidentiality-only with no integrity or availability consequence.

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

Primary rating from Vendor (microsoft).

CVSS VectorVendor: microsoft

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

Lifecycle Timeline

3
Analysis Generated
Aug 11, 2026 - 23:40 vuln.today
Patch available
Aug 11, 2026 - 18:19 EUVD
CVE Published
Aug 11, 2026 - 17:17 nvd
MEDIUM 6.5

DescriptionCVE.org

Improper neutralization of special elements used in a command ('command injection') in Visual Studio Code allows an unauthorized attacker to disclose information over a network.

AnalysisAI

Command injection in Visual Studio Code versions prior to 1.132.1 enables remote unauthenticated attackers to disclose sensitive information from a victim's system over a network. Exploitation requires user interaction - the victim must open or engage with attacker-controlled content such as a malicious workspace, configuration file, or repository - consistent with the CVSS UI:R metric. No public exploit code or CISA KEV listing is identified at time of analysis; a vendor-released patch (1.132.1) is available via the Microsoft Security Response Center.

Technical ContextAI

Visual Studio Code is a cross-platform source code editor developed by Microsoft, with deep integration of workspace configurations, extension APIs, task runners, and terminal subsystems. The root cause is CWE-77 (Improper Neutralization of Special Elements used in a Command), a command injection class in which attacker-controlled input is embedded into a command string without adequate sanitization, allowing injection of additional shell or subprocess commands. In VS Code's architecture, this commonly manifests in features that invoke external processes using workspace-supplied data - such as task configurations (tasks.json), launch configurations, or extension-provided shell integration - where insufficient escaping permits command injection. Affected versions span Visual Studio Code 1.0.0 through 1.132.0, as derived from the EUVD version range (< 1.132.1).

RemediationAI

Upgrade Visual Studio Code to version 1.132.1 or later, which contains the vendor-released patch. The authoritative advisory and update guidance is available at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-47285. As a compensating control prior to patching, users should leverage VS Code's Workspace Trust feature to restrict untrusted workspaces from executing tasks, launch configurations, or extensions automatically - enabling restricted mode for unknown or externally sourced workspaces will prevent automatic execution of injected commands, though it may disable some workspace-level functionality. Users should also avoid opening repositories or workspace folders from untrusted or unknown sources. Restricting the VS Code integrated terminal's ability to run workspace-defined tasks in sensitive environments provides an additional layer of defense. Note that overly aggressive workspace trust policies may impede developer productivity.

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-47281 CRITICAL
9.6 Jun 09

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

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-70336 HIGH
8.8 Aug 11

Remote code execution in Microsoft Visual Studio Code allows a network-based attacker to inject and execute arbitrary co

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

CVE-2026-50520 HIGH
8.4 Jul 14

Local code execution in Microsoft Visual Studio Code stems from a command injection flaw (CWE-77) that lets an attacker

CVE-2026-45482 HIGH
8.4 Jun 09

Security feature bypass via path traversal in GitHub Copilot and Visual Studio Code allows a local unauthorized attacker

Share

CVE-2026-47285 vulnerability details – vuln.today

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