LearnCTEM.com, Best CTEM Learning Platform
CVE Intelligence Hub

CVE-2026-120779: Microsoft Visual Studio Code Code Injection Vulnerability

CVE-2026-120779 explained: critical Code Injection in Microsoft Visual Studio Code. CVSS 9.6. Affected versions, detection, fixes and CTEM priority.

Last updated: Nov 10, 2026

CVSS
9.6 CRITICAL
EPSS
n/a
CISA KEV
Not listed
CWE
CWE-94

Sources: National Vulnerability Database, CVE.org, CISA KEV, FIRST EPSS

CVE-2026-120779 Overview

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

Critical Impact

Remote, unauthenticated attackers who persuade a user to act can exploit this Code Injection in Microsoft Visual Studio Code. The CVSS base score is 9.6 (Critical).

Affected Products

  • Microsoft Visual Studio Code: see the vendor advisory for the exact affected versions

Discovery Timeline

  • 2026-11-10: CVE-2026-120779 published to the National Vulnerability Database by secure@microsoft.com
  • 2026-11-10: last updated in the NVD database

Technical Details for CVE-2026-120779

Vulnerability Analysis

CVE-2026-120779 is a Code Injection weakness (CWE-94: Code Injection) in Microsoft Visual Studio Code. Based on its CVSS vector, the flaw can be reached over the network, needs no login, and relies on a user taking an action. Attacker input is executed as program code.

With a CVSS base score of 9.6, apply the vendor fix and confirm exposure on internet facing and business critical assets first.

Root Cause

The weakness is classified as CWE-94: Code Injection. Attacker input is executed as program code.

Attack Vector

Based on the CVSS vector, the flaw can be reached over the network, needs no login, and relies on a user taking an action. Attack complexity is low complexity.

No exploitation in the wild is confirmed by CISA at the time of the last update. Check the references below for any vendor or researcher proof of concept.

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Detection Methods for CVE-2026-120779

Detection Strategies

  • Inventory every instance of Microsoft Visual Studio Code and compare the running version with the affected range above.
  • Check external attack surface scans for internet facing instances of the component.
  • Run an authenticated vulnerability scan once your scanner ships a check for this CVE.

Monitoring Recommendations

  • Forward Microsoft Visual Studio Code application, access and audit logs to your SIEM for retrospective hunting.
  • Alert on new processes, configuration changes or outbound connections from the affected service.
  • Track the vendor advisory and the CISA KEV catalog for changes in exploitation status.

How to Mitigate CVE-2026-120779

Immediate Actions Required

  • Apply the fixed version of Microsoft Visual Studio Code named in the vendor advisory.
  • Prioritize internet facing and business critical instances first.
  • Rescan after the change to confirm the exposure is closed.

Patch Information

Use the fixed version listed in the vendor advisory for Microsoft Visual Studio Code.

Workarounds

  • If patching must wait, restrict network access to the affected service and place it behind authentication or a web application firewall rule.

CWE References

Technical References

This entry is built directly from NVD, CISA KEV and EPSS data. Verify fixed versions in the vendor advisory before you deploy.

Frequently asked questions

CVE-2026-120779 is a critical severity Code Injection in Microsoft Visual Studio Code with a CVSS score of 9.6. Apply the vendor fix and confirm exposure on internet facing and business critical assets first.

Related CVEs

All Microsoft CVEs in 2026
Your next credential

Earn your free CTEM certification.

Learn to scope, prioritize, validate and mobilize fixes for CVEs like CVE-2026-120779 with a free CTEM certification.

Free to takePublicly verifiable

Beginner / Practitioner / Program Leader

Explore certifications