CVE-2026-40370: Microsoft SQL Server Remote Code Execution Vulnerability
This Microsoft advisory covers CVE-2026-40370 in Microsoft SQL Server 2016 Service Pack 3 (GDR), Microsoft SQL Server 2016 Service Pack 3 Azure Connect Feature Pack and Microsoft SQL Server 2017 (CU 31).
- CVE-2026-40370
Key facts
- Vendor rating
- High, CVSS 8.8
- CVSS 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· base score 8.8, scored by microsoftAttack vector: network. Attack complexity: low. Privileges required: low. User interaction: none. Scope: unchanged. Confidentiality impact: high. Integrity impact: high. Availability impact: high.- Weakness
- CWE-73: External Control of File Name or Path
- EPSS
- 0.56% chance of exploitation in the next 30 days (47th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: total. CISA, .
- CISA KEV
- Not listed (catalogue checked )
- Affected
- Microsoft SQL Server 2016 Service Pack 3 (GDR) 13.0.0 before 13.0.6490.1; Microsoft SQL Server 2016 Service Pack 3 Azure Connect Feature Pack 13.0.0 before 13.0.7085.1; Microsoft SQL Server 2017 (CU 31) 14.0.0 before 14.0.3530.2 and 7 more below
- Fixed in
- 13.0.6490.1, 13.0.7085.1, 14.0.3530.2 and 7 more below
- Source published
- Source revised
- Listed by VulniPulse
Compiled by VulniPulse from the linked sources. How records are collected and checked.
Affected products & platforms
Description
External control of file name or path in SQL Server allows an authorized attacker to execute code over a network.
Affected products named by the advisory: Microsoft SQL Server 2016 Service Pack 3 (GDR); Microsoft SQL Server 2016 Service Pack 3 Azure Connect Feature Pack; Microsoft SQL Server 2017 (CU 31); Microsoft SQL Server 2017 (GDR); and 6 more.
Affected products named by the advisory: Microsoft SQL Server 2019 (CU 32); Microsoft SQL Server 2019 (GDR); Microsoft SQL Server 2022 (GDR); Microsoft SQL Server 2022 for x64-based Systems (CU 24); and 2 more.
Affected products named by the advisory: Microsoft SQL Server 2025 (CU 4); Microsoft SQL Server 2025 for x64-based Systems (GDR).
Text from the source record.
- Microsoft SQL Server 2016 Service Pack 3 (GDR) 13.0.0 before 13.0.6490.1
- Microsoft SQL Server 2016 Service Pack 3 Azure Connect Feature Pack 13.0.0 before 13.0.7085.1
- Microsoft SQL Server 2017 (CU 31) 14.0.0 before 14.0.3530.2
- Microsoft SQL Server 2017 (GDR) 14.0.0 before 14.0.2110.2
- Microsoft SQL Server 2019 (CU 32) 15.0.0.0 before 15.0.4470.1
- Microsoft SQL Server 2019 (GDR) 15.0.0 before 15.0.2170.1
- Microsoft SQL Server 2022 (GDR) 16.0.0 before 16.0.1180.1
- Microsoft SQL Server 2022 for x64-based Systems (CU 24) 16.0.0.0 before 16.0.4252.3
- Microsoft SQL Server 2025 (CU 4) before 17.0.4040.1
- Microsoft SQL Server 2025 for x64-based Systems (GDR) 17.0.1050.2 before 17.0.1115.1
Official advisory · high-confidence parse· fetched ·verify at source
Support dates for the fixed release lines
- Microsoft SQL Server 13.0: support ended
- Microsoft SQL Server 14.0: support ends
- Microsoft SQL Server 15.0: support ends
- Microsoft SQL Server 16.0: support ends
- Microsoft SQL Server 17.0: support ends
More Microsoft Server advisories
CVE-2026-124223Nov 16, 2026Microsoft Office SharePoint Remote Code Execution VulnerabilityCVE-2026-124222Nov 16, 2026Microsoft Office SharePoint Elevation of Privilege VulnerabilityCVE-2026-120000Nov 10, 2026Microsoft Office SharePoint Remote Code Execution VulnerabilityCVE-2026-124210Nov 10, 2026Microsoft Office SharePoint Information Disclosure VulnerabilityCVE-2026-123391Nov 10, 2026Microsoft Office SharePoint Elevation of Privilege VulnerabilityCVE-2026-123390Nov 10, 2026Microsoft Office SharePoint Remote Code Execution Vulnerability
Microsoft Server advisories, May 2026All Microsoft Server advisories
Get an email when Microsoft SQL Server publishes the next one.
See Microsoft SQL Server's last 90 days first. Live alerts for one product are free for life; every vendor is US$15 a month after a free month.