Description
Improper neutralization of special elements used in an os command ('os command injection') in Visual Studio Code allows an unauthorized attacker to execute code over a network.
Published: 2026-08-11
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An attacker can trigger an OS command injection in the remote functionality of Visual Studio Code, enabling the execution of arbitrary operating‑system commands. Because the injection occurs in code executed on the machine hosting the VS Code server, the attacker gains complete code‑execution privileges, compromising confidentiality, integrity, and availability. The vulnerability is caused by improper neutralization of special elements used in an OS command, classified as CWE‑78.

Affected Systems

Microsoft Visual Studio Code. No explicit product version is listed, so any instance where the remote development features are enabled and exposed to a network is potentially vulnerable. This includes standard VS Code installations that accept remote connections.

Risk and Exploitability

The CVSS score of 8.8 classifies the vulnerability as high severity, and the EPSS of less than 1% indicates a low current threat likelihood, though exploitation remains possible. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires an unauthorized network connection to the VS Code server; an attacker can trigger the injection by sending a specially crafted request over the network, giving full code‑execution rights. Systems should consider this a significant risk and aim for timely patching, while monitoring network traffic for suspicious VS Code remote connections.

Generated by OpenCVE AI on August 12, 2026 at 15:40 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update Visual Studio Code to the latest version that includes the fix for the command‑injection issue.
  • Based on inference that the remote development feature may be the attack vector, disabling the Remote Development extension or blocking remote connections to the VS Code server can serve as a temporary mitigation if you cannot apply the update immediately.
  • Restrict network access to the ports used by the VS Code server using firewalls or VPNs to limit exposure to authorized users.

Generated by OpenCVE AI on August 12, 2026 at 15:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, '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 an os command ('os command injection') in Visual Studio Code allows an unauthorized attacker to execute code over a network.
Title Visual Studio Code Remote Code Execution Vulnerability
First Time appeared Microsoft
Microsoft visual Studio Code
Weaknesses CWE-78
CPEs cpe:2.3:a:microsoft:visual_studio_code:*:*:*:*:*:*:*:*
Vendors & Products Microsoft
Microsoft visual Studio Code
References
Metrics cvssV3_1

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


Subscriptions

Microsoft Visual Studio Code
cve-icon MITRE

Status: PUBLISHED

Assigner: microsoft

Published:

Updated: 2026-08-31T20:05:58.677Z

Reserved: 2026-08-03T20:49:42.867Z

Link: CVE-2026-69320

cve-icon Vulnrichment

Updated: 2026-08-12T13:37:25.979Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-11T17:19:07.127

Modified: 2026-08-28T20:19:38.427

Link: CVE-2026-69320

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-12T15:45:02Z

Weaknesses
  • CWE-78

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