CVE-2026-70336
Analyzed Analyzed - Analysis Complete

Code Injection Vulnerability in Visual Studio Code

Vulnerability report for CVE-2026-70336, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-11

Last updated on: 2026-08-28

Assigner: Microsoft Corporation

Description

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

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-11
Last Modified
2026-08-28
Generated
2026-09-01
AI Q&A
2026-08-12
EPSS Evaluated
2026-08-30
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
microsoft visual_studio_code to 1.132.1 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a code injection flaw in Visual Studio Code where improper control of code generation allows unauthorized attackers to execute arbitrary code remotely over a network.

Detection Guidance

Detecting code injection vulnerabilities like CVE-2026-70336 requires monitoring network traffic and system logs for suspicious activity. Check for unusual processes spawned by Visual Studio Code or unexpected network connections. Use tools like Wireshark to inspect network traffic for signs of code execution attempts. Review logs for unauthorized modifications to files or system configurations.

Impact Analysis

An attacker could exploit this to run malicious code on your system if you use Visual Studio Code, potentially leading to data theft, system compromise, or further network attacks.

Compliance Impact

This vulnerability could lead to unauthorized access or data breaches, which may violate GDPR (data protection) or HIPAA (health data privacy) if sensitive information is exposed.

Mitigation Strategies

Apply the latest security update from Microsoft for Visual Studio Code immediately to patch the code injection vulnerability. Monitor Microsoft's official update guide for patches and advisories.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-70336. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart