Lucene search
+L

Security Update for Microsoft Visual Studio Code (July 2026)

🗓️ 17 Jul 2026 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 3 Views

VS Code update fixes three flaws in versions before 1.128.1: output injection, untrusted control, and command execution.

Related
Refs
Code
ReporterTitlePublishedViews
Family
ATTACKERKB
CVE-2026-41109
12 May 202616:58
attackerkb
ATTACKERKB
CVE-2026-50520
14 Jul 202617:05
attackerkb
BDU FSTEC
The vulnerability of GitHub Copilot, a code editor from Microsoft Visual Studio Code, allows a hacker to bypass existing security restrictions.
15 May 202600:00
bdu_fstec
Circl
CVE-2026-41109
12 May 202615:53
circl
Circl
CVE-2026-45496
14 Jul 202619:00
circl
Circl
CVE-2026-47282
14 Jul 202619:00
circl
Circl
CVE-2026-50520
14 Jul 202619:00
circl
Circl
CVE-2026-57101
14 Jul 202619:00
circl
Circl
CVE-2026-57102
14 Jul 202619:00
circl
CNNVD
Microsoft GitHub Copilot and Visual Studio 注入漏洞
12 May 202600:00
cnnvd
Rows per page
#%NASL_MIN_LEVEL 80900
#
# (C) Tenable, Inc.
#

include('compat.inc');

if (description)
{
  script_id(327612);
  script_version("1.1");
  script_set_attribute(attribute:"plugin_modification_date", value:"2026/07/17");

script_cve_id(
    "CVE-2026-41109",
    "CVE-2026-45496",
    "CVE-2026-47282",
    "CVE-2026-50520",
    "CVE-2026-57101",
    "CVE-2026-57102"
  );
  script_xref(name:"IAVA", value:"2026-A-0722");

  script_name(english:"Security Update for Microsoft Visual Studio Code (July 2026)");

  script_set_attribute(attribute:"synopsis", value:
"The remote host has an application installed that is missing a security update.");
  script_set_attribute(attribute:"description", value:
"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.");
  script_set_attribute(attribute:"see_also", value:"https://code.visualstudio.com/updates/v1_128");
  # https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-41109
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?0823a9e4");
  # https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-45496
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?82bbaa80");
  # https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-47282
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?4c7606fb");
  # https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-50520
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?1b7d4ed0");
  # https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-57101
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?9081ec61");
  # https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-57102
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?3e692063");
  script_set_attribute(attribute:"solution", value:
"Update Microsoft Visual Studio Code to 1.128.1 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2026-41109");

  script_set_attribute(attribute:"vuln_publication_date", value:"2026/07/14");
  script_set_attribute(attribute:"patch_publication_date", value:"2026/07/14");
  script_set_attribute(attribute:"plugin_publication_date", value:"2026/07/17");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:visual_studio_code");
  script_set_attribute(attribute:"stig_severity", value:"I");
  script_set_attribute(attribute:"thorough_tests", value:"true");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Windows");

  script_copyright(english:"This script is Copyright (C) 2026 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("microsoft_visual_studio_code_installed.nbin", "microsoft_visual_studio_code_win_user_installed.nbin");
  script_require_keys("installed_sw/Microsoft Visual Studio Code", "SMB/Registry/Enumerated");

  exit(0);
}

include('vdf.inc');

# @tvdl-content
var vuln_data = {
  'metadata': {'spec_version': '1.0'},
  'requires': [
    {'scope': 'target', 'match': {'os': 'windows'}}
  ],
  'checks': [
    {
      'product': {'name': 'Microsoft Visual Studio Code', 'type': 'app'},
      'check_algorithm': 'default',
      'constraints': [
        {'fixed_version': '1.128.1'}
      ]
    }
  ]
};

var result = vdf::check_and_report(vuln_data:vuln_data, severity:SECURITY_HOLE);
vdf::handle_check_and_report_errors(vdf_result:result);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

17 Jul 2026 00:00Current
8.3High risk
Vulners AI Score8.3
CVSS 3.16.1 - 8.8
EPSS0.00861
SSVC
3