Security Update for Microsoft Visual Studio Code (June 2026)

high 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?2d7fe782

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

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

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

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

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

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

Plugin Details

Severity: High

ID: 321375

File Name: smb_nt_ms26_jun_visual_studio_code.nasl

Version: 1.2

Type: Local

Agent: windows

Family: Windows

Published: 6/17/2026

Updated: 6/18/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: 5

Percentile: 94.3

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

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

CVSS Score Source: CVE-2026-47281

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.1

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS Score Source: CVE-2026-40376

Vulnerability Information

CPE: cpe:/a:microsoft:visual_studio_code

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

Exploit Ease: No known exploits are available

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