Lucene search
K

Security Update for Microsoft Visual Studio Code (February 2026)

🗓️ 12 Feb 2026 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 2 Views

Update Visual Studio Code before 1.109.2 to fix time-of-check race and command injection.

Related
Refs
Code
ReporterTitlePublishedViews
Family
ATTACKERKB
CVE-2026-21523
10 Feb 202617:51
attackerkb
ATTACKERKB
CVE-2026-21518
10 Feb 202617:51
attackerkb
Circl
CVE-2026-21518
10 Feb 202617:30
circl
Circl
CVE-2026-21523
10 Feb 202617:30
circl
CNNVD
Microsoft GitHub Copilot and Visual Studio 安全漏洞
10 Feb 202600:00
cnnvd
CNNVD
Microsoft GitHub Copilot and Visual Studio Code 命令注入漏洞
10 Feb 202600:00
cnnvd
CVE
CVE-2026-21518
10 Feb 202617:51
cve
CVE
CVE-2026-21523
10 Feb 202617:51
cve
Cvelist
CVE-2026-21518 GitHub Copilot and Visual Studio Code Security Feature Bypass Vulnerability
10 Feb 202617:51
cvelist
Cvelist
CVE-2026-21523 GitHub Copilot and Visual Studio Code Remote Code Execution Vulnerability
10 Feb 202617:51
cvelist
Rows per page
#%NASL_MIN_LEVEL 80900
##
# Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(298881);
  script_version("1.4");
  script_set_attribute(attribute:"plugin_modification_date", value:"2026/04/30");

  script_cve_id("CVE-2026-21518", "CVE-2026-21523");
  script_xref(name:"IAVA", value:"2026-A-0120-S");

  script_name(english:"Security Update for Microsoft Visual Studio Code (February 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.109.2. It is,
therefore, affected by multiple vulnerabilities:

  - Time-of-check time-of-use (toctou) race condition in GitHub Copilot and Visual Studio allows an authorized
    attacker to execute code over a network. (CVE-2026-21523)

  - Improper neutralization of special elements used in a command ('command injection') in GitHub Copilot and 
    Visual Studio Code allows an unauthorized attacker to bypass a security feature over a network. (CVE-2026-21518)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version
number.");
  # https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-21518
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?cb26747e");
  # https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-21523
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?dcd9c497");
  script_set_attribute(attribute:"see_also", value:"https://code.visualstudio.com/updates/v1_109");
  script_set_attribute(attribute:"solution", value:
"Update to Microsoft Visual Studio Code 1.109.2 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC: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_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2026-21518");

  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"false");

  script_set_attribute(attribute:"vuln_publication_date", value:"2026/02/10");
  script_set_attribute(attribute:"patch_publication_date", value:"2026/02/10");
  script_set_attribute(attribute:"plugin_publication_date", value:"2026/02/12");

  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.109.2'}
      ]
    }
  ]
};

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

30 Apr 2026 00:00Current
7.3High risk
Vulners AI Score7.3
CVSS 3.18.8
EPSS0.0007
SSVC
2