Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-70336: CWE-94: Improper Control of Generation of Code ('Code Injection') in Microsoft Visual Studio Code

0
High
VulnerabilityCVE-2026-70336cvecve-2026-70336cwe-94
Published: 08/11/2026 (08/11/2026, 17:05:32 UTC)
Source: CVE Database V5
Vendor/Project: Microsoft
Product: Visual Studio Code

Description

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

CVSS v3.1

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
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

Affected software

GitHub Actionsmore threats →ai
microsoft/vscode
pkg:github/microsoft/vscode
Affected versions
=1.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/11/2026, 17:30:05 UTC

Technical Analysis

This vulnerability, identified as CWE-94 (Improper Control of Generation of Code), affects Microsoft Visual Studio Code version 1.0.0. It permits an attacker without privileges to execute arbitrary code remotely by exploiting improper validation or control in code generation processes. The CVSS 3.1 base score is 8.8, indicating high impact on confidentiality, integrity, and availability. Microsoft has published an official fix to remediate this vulnerability.

Potential Impact

Successful exploitation allows remote code execution without privileges, resulting in complete compromise of confidentiality, integrity, and availability of the affected system running Visual Studio Code 1.0.0. This can lead to unauthorized control over the system.

Mitigation Recommendations

An official fix is available from Microsoft. Users should apply the vendor-provided patch promptly. Refer to the Microsoft advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-70336 for detailed remediation instructions.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
microsoft
Date Reserved
2026-08-04T00:04:56.036Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
official-fix
Vendor Advisory Urls
[{"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-70336","vendor":"Microsoft"}]

Threat ID: 6a7b583fbf8831d5391567c9

Added to database: 08/11/2026, 17:13:35 UTC

Last enriched: 08/11/2026, 17:30:05 UTC

Last updated: 08/12/2026, 00:12:10 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses