CVE-2026-47285

Visual Studio Code Information Disclosure Vulnerability

Published Aug 11, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A command injection flaw in Visual Studio Code allows an attacker to provide special elements that are improperly neutralized in shell commands. This flaw can leak internal information over the network, compromising confidentiality of data visible to the malicious process. The weakness is identified as CWE‑77, which indicates that the application does not correctly sanitize or validate command input.

Affected Systems

The vulnerability affects Microsoft Visual Studio Code. No specific version range is listed in the current data, so all installations running an unpatched version are potentially at risk.

Risk and Exploitability

The CVSS score of 6.5 classifies the issue as medium severity, while the EPSS score of < 1% indicates a low likelihood of exploitation today. The vulnerability is not yet listed in the CISA KEV catalog. The attack likely requires an attacker to inject crafted input into VS Code, possibly via a local user or a compromised extension; it is not explicitly described as a remote network exploitation vector, so the vector is inferred to be local access or a trusted execution context. When successful, the attacker can use the command injection to read process or system information that is then leaked over the network.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Check the Microsoft Security Update Guide for CVE‑2026‑47285 and install the latest update for Visual Studio Code where the command‑injection fix has been applied.
  • If an immediate update is not possible, restrict the ability of VS Code to execute system commands by disabling relevant extensions or modifying configuration settings that influence command execution.
  • Implement network segmentation or firewall rules to block or monitor outbound connections originating from the VS Code process, limiting potential data exfiltration.

Generated by OpenCVE AI on August 12, 2026 at 17:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Visual Studio Code Information Disclosure Vulnerability
First Time appeared Microsoft
Microsoft visual Studio Code
Weaknesses CWE-77
CPEs cpe:2.3:a:microsoft:visual_studio_code:*:*:*:*:*:*:*:*
Vendors & Products Microsoft
Microsoft visual Studio Code
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C'}

Weaknesses
  • CWE-77

    Improper Neutralization of Special Elements used in a Command ('Command Injection')

Sources

Status
PUBLISHED
Assigner
microsoft
Published
Updated
Nov 19, 2026, 10:16 PM
Reserved
May 18, 2026, 11:53 PM
Status
Analyzed
Published
Aug 11, 2026, 5:17 PM
Modified
Oct 23, 2026, 7:10 PM