In short
CVE-2026-120779 (Microsoft Visual Studio Code code injection) has a CVSS 3.1 base score of 9.6, rated critical. Fixed in Microsoft Visual Studio Code 1.145.3 or later. The Dutch NCSC covers it in advisory NCSC-2026-0473.
Description
Improper control of generation of code ('code injection') in Visual Studio Code allows an unauthorized attacker to execute code over a network.
CVSS 3.1 breakdown
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HAffected products
- Microsoft Visual Studio Code< 1.145.3
Remediation
Fixed in- Microsoft Visual Studio Code≥ 1.145.3
Related CVEs
Exploited and critical vulnerabilities in the same product or from the same vendor.
Data from the NVD, CISA KEV catalog and FIRST EPSS. The CVSS 4.0 base score is shown where the NVD has one, otherwise CVSS 3.1.
