Security Update for Microsoft Visual Studio Code (July 2026)

high Nessus Plugin ID 327612

Synopsis

The remote host has an application installed that is missing a security update.

Description

The version of Microsoft Visual Studio Code installed on the remote Windows host is prior to 1.128.1. It is, therefore, affected by multiple vulnerabilities:

- Improper neutralization of special elements in output used by a downstream component ('injection') in GitHub Copilot and Visual Studio allows an unauthorized attacker to bypass a security feature over a network. (CVE-2026-41109)

- Inclusion of functionality from untrusted control sphere in Visual Studio Code allows an unauthorized attacker to bypass a security feature over a network. (CVE-2026-57102)

- Improper neutralization of special elements used in a command ('command injection') in Visual Studio Code allows an unauthorized attacker to execute code locally. (CVE-2026-50520)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update Microsoft Visual Studio Code to 1.128.1 or later.

See Also

https://code.visualstudio.com/updates/v1_128

http://www.nessus.org/u?0823a9e4

http://www.nessus.org/u?1b7d4ed0

http://www.nessus.org/u?3e692063

http://www.nessus.org/u?4c7606fb

http://www.nessus.org/u?82bbaa80

http://www.nessus.org/u?9081ec61

Plugin Details

Severity: High

ID: 327612

File Name: smb_nt_ms26_jul_visual_studio_code.nasl

Version: 1.1

Type: Local

Agent: windows

Family: Windows

Published: 7/17/2026

Updated: 7/17/2026

Configuration: Enable thorough checks (optional)

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Tenable Cloud Security, Tenable Self-Hosted Container Security, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.88

CVSS v2

Risk Factor: Critical

Base Score: 10

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-41109

CVSS v3

Risk Factor: High

Base Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Vulnerability Information

CPE: cpe:/a:microsoft:visual_studio_code

Required KB Items: SMB/Registry/Enumerated, installed_sw/Microsoft Visual Studio Code

Patch Publication Date: 7/14/2026

Vulnerability Publication Date: 7/14/2026

Reference Information

CVE: CVE-2026-41109, CVE-2026-45496, CVE-2026-47282, CVE-2026-50520, CVE-2026-57101, CVE-2026-57102

IAVA: 2026-A-0722