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.
Published: 2026-08-11
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

History

Wed, 12 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 11 Aug 2026 17:15:00 +0000

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'}


Subscriptions

Microsoft Visual Studio Code
cve-icon MITRE

Status: PUBLISHED

Assigner: microsoft

Published:

Updated: 2026-08-12T17:54:06.322Z

Reserved: 2026-05-18T23:53:33.896Z

Link: CVE-2026-47285

cve-icon Vulnrichment

Updated: 2026-08-12T15:10:55.466Z

cve-icon NVD

Status : Undergoing Analysis

Published: 2026-08-11T17:17:58.970

Modified: 2026-08-12T15:17:34.097

Link: CVE-2026-47285

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-12T17:30:06Z

Weaknesses
  • CWE-77

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