Vulnerability · Published May 12, 2026 · Assigned by microsoft
CVE-2026-40370SQL Server Remote Code Execution Vulnerability
High 8.8
In plain English
A high-severity security flaw in Microsoft SQL Server 2016 Service Pack 3 Azure Connect Feature Pack from Microsoft. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 46% of all known vulnerabilities).
Severity (CVSS 3.1)8.8High
Exploit odds (30 days)0.6%top 53.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
External control of file name or path in SQL Server allows an authorized attacker to execute code over a network.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Microsoft | Microsoft SQL Server 2016 Service Pack 3 (GDR) | 13.0.0 – before 13.0.6490.1 |
| Microsoft | Microsoft SQL Server 2016 Service Pack 3 Azure Connect Feature Pack | 13.0.0 – before 13.0.7085.1 |
| Microsoft | Microsoft SQL Server 2017 (CU 31) | 14.0.0 – before 14.0.3530.2 |
| Microsoft | Microsoft SQL Server 2017 (GDR) | 14.0.0 – before 14.0.2110.2 |
| Microsoft | Microsoft SQL Server 2019 (CU 32) | 15.0.0.0 – before 15.0.4470.1 |
| Microsoft | Microsoft SQL Server 2019 (GDR) | 15.0.0 – before 15.0.2170.1 |
| Microsoft | Microsoft SQL Server 2022 (GDR) | 16.0.0 – before 16.0.1180.1 |
| Microsoft | Microsoft SQL Server 2022 for x64-based Systems (CU 24) | 16.0.0.0 – before 16.0.4252.3 |
| Microsoft | Microsoft SQL Server 2025 (CU 4) | 17.0.4040.1 – before 17.0.4040.1 |
| Microsoft | Microsoft SQL Server 2025 for x64-based Systems (GDR) | 17.0.1050.2 – before 17.0.1115.1 |
Weakness: CWE-73 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
References
- SQL Server Remote Code Execution Vulnerability vendor-advisory, patch