Security Update for Microsoft Visual Studio Code (June 2026)

critical Nessus Plugin ID 321375

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.123.2. It is, therefore, affected by multiple vulnerabilities:

- Improper input validation in Visual Studio Code allows an unauthorized attacker to elevate privileges over a network. (CVE-2026-47281)

- Improper limitation of a pathname to a restricted directory ('path traversal') in GitHub Copilot and Visual Studio Code allows an unauthorized attacker to bypass a security feature locally. (CVE-2026-45482)

- Inclusion of functionality from untrusted control sphere in Visual Studio Code allows an unauthorized attacker to elevate privileges locally. (CVE-2026-47292)

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.123.2 or later.

See Also

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

http://www.nessus.org/u?6c187ada

http://www.nessus.org/u?fcd2f30d

http://www.nessus.org/u?ada3d03b

http://www.nessus.org/u?bf094cc9

http://www.nessus.org/u?76e67677

http://www.nessus.org/u?db20182c

http://www.nessus.org/u?2d7fe782

Plugin Details

Severity: Critical

ID: 321375

File Name: smb_nt_ms26_jun_visual_studio_code.nasl

Version: 1.1

Type: Local

Agent: windows

Family: Windows

Published: 6/17/2026

Updated: 6/17/2026

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

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-47281

CVSS v3

Risk Factor: Critical

Base Score: 9.6

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

Vulnerability Information

CPE: cpe:/a:microsoft:visual_studio_code

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

Patch Publication Date: 6/9/2026

Vulnerability Publication Date: 6/9/2026

Reference Information

CVE: CVE-2026-40376, CVE-2026-45482, CVE-2026-47281, CVE-2026-47284, CVE-2026-47287, CVE-2026-47292, CVE-2026-48569

IAVA: 2026-A-0573