Live threats

All CVEs / Microsoft

CVE-2026-120779Microsoft Visual Studio Code

Code Injection in Visual Studio Code

Critical 9.6 No auth needed

Priority
74
CVSS 3.1
9.6
EPSS
—
Auth required
No
Published
Nov 10, 2026
Updated
Nov 10, 2026
Category
Application · Windows
Weakness (CWE)
CWE-94
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

What happens

Visual Studio Code is vulnerable to code injection due to improper control of code generation. An unauthenticated attacker can execute arbitrary code remotely over the network with minimal user interaction. The vulnerability has a CVSS score of 9.6 (critical).

Show the original NVD text

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

Source text, unmodified. NVD.

What to do

No patch data

Check Microsoft's security advisory for information about available patches or updates.

Vendor advisory · msrc.microsoft.com ↗

  1. Apply the vendor's security update for Visual Studio Code.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor and CERT advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.