Sceawere

Vulnerability Detail

CVE-2026-70336UPDATED Verified Sceawere Triage Sources: NVD / CISA KEV

Visual Studio Code Code Injection Vulnerability

Vulnerability Metadata

Severity
High
Score / CVSS
8.8
Creation Date
7h ago
Vendor
Microsoft
Product
Visual Studio Code
Attack Type
CWE-94: Improper Control of Generation of Code ('Code Injection')
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Complexity
LOW

Narrative and Response

Description

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

Executive Summary

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Executive Summary Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Technical Details

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Detailed Technical Analysis Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Mitigations

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Remediation & Mitigations Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

References

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Intelligence References Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Additional Metadata

{
  "score": "8.8",
  "pubDate": "2026-08-11T17:19:11.277Z",
  "pubdate": "2026-08-11T17:19:11.277Z",
  "executiveSummary": "An improper control of generation of code vulnerability, commonly classified as code injection, has been identified in Visual Studio Code. This security flaw enables an unauthorized remote attacker to execute arbitrary code over a network within the context of the affected application.\nThe vulnerability directly impacts the Visual Studio Code product ecosystem, exposing development environments and host systems to potential compromise. The risk implications are severe, as successful exploitation could lead to unauthorized system access, data exfiltration, or lateral movement within the compromised network.\nThe attacker capabilities include remote code execution without requiring prior authentication or specialized user interaction beyond network accessibility to the vulnerable component. Exploitation relies on the application's failure to properly sanitize or control the generation of executable code constructs derived from untrusted network inputs.\nOrganizations utilizing the affected software face significant operational and security risks, necessitating immediate attention to remediation guidance, system hardening, and adherence to established secure configuration baselines to thwart potential exploitation vectors.",
  "technicalDetails": "The root cause of the vulnerability stems from improper control of generation of code, which allows externally influenced data to be incorrectly interpreted as executable instructions or dynamic code blocks by the underlying architecture of Visual Studio Code.\nThe vulnerable component is responsible for processing input streams and translating them into operational commands or internal runtime structures. Due to insufficient input validation, sanitization, and contextual escaping, malicious payloads injected over a network can bypass safety checks.\nThe attack flow commences when an unauthorized remote attacker crafts a malicious input payload designed to exploit the code generation mechanism. This payload is transmitted over the network to the target system running Visual Studio Code.\nUpon receipt, the vulnerable component processes the tainted input without applying adequate restrictions on code generation. Consequently, the application dynamically constructs and executes the injected payload in memory or via underlying system interpreters.\nThe network exposure of the service facilitates remote exploitation without requiring local access, authentication credentials, or elevated privilege requirements from the attacker perspective. The payload behavior dictates post-exploitation impact, which typically encompasses arbitrary command execution, access to local filesystem resources, manipulation of development workspaces, and potential persistence mechanisms on the host machine.\nSubsequent post-exploitation activities leverage the execution context of the vulnerable process, potentially granting the adversary extensive capabilities to compromise adjacent systems, steal sensitive source code, or deploy secondary malware payloads across the affected infrastructure."
}
CVE-2026-70336: Visual Studio Code Code Injection Vulnerability (HIGH Severity, CVSS: 8.8) - Sceawere