| Reporter | Title | Published | Views | Family All 24 |
|---|---|---|---|---|
| CVE-2026-40370 | 12 May 202616:59 | – | attackerkb | |
| CVE-2026-40370 | 12 May 202616:38 | – | circl | |
| Microsoft SQL Server 安全漏洞 | 12 May 202600:00 | – | cnnvd | |
| CVE-2026-40370 | 12 May 202616:59 | – | cve | |
| CVE-2026-40370 SQL Server Remote Code Execution Vulnerability | 12 May 202616:59 | – | cvelist | |
| EUVD-2026-29652 | 12 May 202618:30 | – | euvd | |
| KB5089270 - Description of the security update for SQL Server 2016 SP3 Azure Connect Feature Pack: May 12, 2026 | 12 May 202614:00 | – | mskb | |
| KB5089271 - Description of the security update for SQL Server 2016 SP3 GDR: May 12, 2026 | 12 May 202614:00 | – | mskb | |
| KB5089899 - Description of the security update for SQL Server 2025 CU4: May 12, 2026 | 12 May 202614:00 | – | mskb | |
| KB5089900 - Description of the security update for SQL Server 2022 CU24: May 12, 2026 | 12 May 202614:00 | – | mskb |
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##
include('compat.inc');
if (description)
{
script_id(314668);
script_version("1.3");
script_set_attribute(attribute:"plugin_modification_date", value:"2026/05/15");
script_cve_id("CVE-2026-40370");
script_xref(name:"MSKB", value:"5089270");
script_xref(name:"MSKB", value:"5089271");
script_xref(name:"MSKB", value:"5089899");
script_xref(name:"MSKB", value:"5089900");
script_xref(name:"MSKB", value:"5090347");
script_xref(name:"MSKB", value:"5090354");
script_xref(name:"MSKB", value:"5090407");
script_xref(name:"MSKB", value:"5090408");
script_xref(name:"MSKB", value:"5091158");
script_xref(name:"MSKB", value:"5091223");
script_xref(name:"MSFT", value:"MS26-5089270");
script_xref(name:"MSFT", value:"MS26-5089271");
script_xref(name:"MSFT", value:"MS26-5089899");
script_xref(name:"MSFT", value:"MS26-5089900");
script_xref(name:"MSFT", value:"MS26-5090347");
script_xref(name:"MSFT", value:"MS26-5090354");
script_xref(name:"MSFT", value:"MS26-5090407");
script_xref(name:"MSFT", value:"MS26-5090408");
script_xref(name:"MSFT", value:"MS26-5091158");
script_xref(name:"MSFT", value:"MS26-5091223");
script_xref(name:"IAVA", value:"2026-A-0462");
script_name(english:"Security Updates for Microsoft SQL Server (May 2026)");
script_set_attribute(attribute:"synopsis", value:
"The Microsoft SQL Server installation on the remote host is missing a security update.");
script_set_attribute(attribute:"description", value:
"The Microsoft SQL Server installation on the remote host is missing a security update. It is, therefore,
affected by the following vulnerability:
- External control of file name or path in SQL Server allows an authorized attacker to execute code over
a network. (CVE-2026-40370)
Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version
number.");
script_set_attribute(attribute:"see_also", value:"https://support.microsoft.com/help/5089270");
script_set_attribute(attribute:"see_also", value:"https://support.microsoft.com/help/5089271");
script_set_attribute(attribute:"see_also", value:"https://support.microsoft.com/help/5089899");
script_set_attribute(attribute:"see_also", value:"https://support.microsoft.com/help/5089900");
script_set_attribute(attribute:"see_also", value:"https://support.microsoft.com/help/5090347");
script_set_attribute(attribute:"see_also", value:"https://support.microsoft.com/help/5090354");
script_set_attribute(attribute:"see_also", value:"https://support.microsoft.com/help/5090407");
script_set_attribute(attribute:"see_also", value:"https://support.microsoft.com/help/5090408");
script_set_attribute(attribute:"see_also", value:"https://support.microsoft.com/help/5091158");
script_set_attribute(attribute:"see_also", value:"https://support.microsoft.com/help/5091223");
script_set_attribute(attribute:"solution", value:
"Microsoft has released the following security updates to address this issue:
-KB5089270
-KB5089271
-KB5089899
-KB5089900
-KB5090347
-KB5090354
-KB5090407
-KB5090408
-KB5091158
-KB5091223");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/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:L/UI:N/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-40370");
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/05/12");
script_set_attribute(attribute:"patch_publication_date", value:"2026/05/12");
script_set_attribute(attribute:"plugin_publication_date", value:"2026/05/14");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:sql_server");
script_set_attribute(attribute:"thorough_tests", value:"true");
script_set_attribute(attribute:"stig_severity", value:"I");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Windows : Microsoft Bulletins");
script_copyright(english:"This script is Copyright (C) 2026 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("smb_hotfixes.nasl", "mssql_version.nasl", "smb_enum_services.nasl", "ms_bulletin_checks_possible.nasl");
script_require_keys("SMB/MS_Bulletin_Checks/Possible");
script_require_ports(139, 445, 1433, "Services/mssql", "Host/patch_management_checks");
exit(0);
}
include('vcf_extras_microsoft.inc');
var app_info = vcf::microsoft::mssql::get_app_info();
var constraints = [
{
'product_version' : '2016',
'target_hw' : 'x64',
'file' : 'sqlservr.exe',
'min_version' : '2016.130.6300.2',
'fixed_version' : '2016.130.6490.1',
'kb' : '5089270'
},
{
'product_version' : '2016',
'target_hw' : 'x64',
'file' : 'sqlservr.exe',
'min_version' : '2016.130.7000.253',
'fixed_version' : '2016.130.7085.1',
'kb' : '5089271'
},
{
'product_version' : '2017',
'target_hw' : 'x64',
'file' : 'sqlservr.exe',
'min_version' : '2017.140.1000.169',
'fixed_version' : '2017.140.2110.2',
'kb' : '5089899'
},
{
'product_version' : '2017',
'target_hw' : 'x64',
'file' : 'sqlservr.exe',
'min_version' : '2017.140.3006.16',
'fixed_version' : '2017.140.3530.2',
'kb' : '5089900'
},
{
'product_version' : '2019',
'target_hw' : 'x64',
'file' : 'sqlservr.exe',
'min_version' : '2019.150.2000.5',
'fixed_version' : '2019.150.2170.1',
'kb' : '5090347'
},
{
'product_version' : '2019',
'target_hw' : 'x64',
'file' : 'sqlservr.exe',
'min_version' : '2019.150.4003.23',
'fixed_version' : '2019.150.4470.1',
'kb' : '5090354'
},
{
'product_version' : '2022',
'target_hw' : 'x64',
'file' : 'sqlservr.exe',
'min_version' : '2022.160.1000.6',
'fixed_version' : '2022.160.1180.1',
'kb' : '5090407'
},
{
'product_version' : '2022',
'target_hw' : 'x64',
'file' : 'sqlservr.exe',
'min_version' : '2022.160.4003.1',
'fixed_version' : '2022.160.4252.3',
'kb' : '5090408'
},
{
'product_version' : '2025',
'target_hw' : 'x64',
'file' : 'sqlservr.exe',
'min_version' : '2025.170.1000.7',
'fixed_version' : '2025.170.1115.1',
'kb' : '5091158'
},
{
'product_version' : '2025',
'target_hw' : 'x64',
'file' : 'sqlservr.exe',
'min_version' : '2025.170.4006.2',
'fixed_version' : '2025.170.4040.1',
'kb' : '5091223'
}
];
vcf::microsoft::mssql::check_version_and_report(
app_info : app_info,
constraints : constraints,
bulletin : 'MS26-05',
severity : SECURITY_HOLE
);
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