CVE-2026-40370: Microsoft SQL Server 2016 Service Pack 3 (GDR) · External Control of File Name or Path
Affects Microsoft SQL Server 2016 Service Pack 3 (GDR)Source CVE Database V5
Not known to be exploited · CVSS 8.8 High : upgrade to 13.0.6490.1 soon.
Data as of 29 Oct 2026, 19:04 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 46% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 13.0.6490.1, 13.0.7085.1, 14.0.3530.2 +7
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:CExploitation evidence
Disclosed: evidence found.
CVE published 12 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| MicrosoftMicrosoft SQL Server 2016 Service Pack 3 (GDR) | Affected
| Fixed in
|
| MicrosoftMicrosoft SQL Server 2016 Service Pack 3 Azure Connect Feature Pack | Affected
| Fixed in
|
| MicrosoftMicrosoft SQL Server 2017 (CU 31) | Affected
| Fixed in
|
| MicrosoftMicrosoft SQL Server 2017 (GDR) | Affected
| Fixed in
|
| MicrosoftMicrosoft SQL Server 2019 (CU 32) | Affected
| Fixed in
|
| MicrosoftMicrosoft SQL Server 2019 (GDR) | Affected
| Fixed in
|
AI-suggested
An official fix is available from Microsoft. Users should apply the security update provided for Microsoft SQL Server 2016 Service Pack 3 (GDR) as detailed in the Microsoft security update guide at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-40370. No additional mitigations are indicated by the vendor advisory.
Description
External control of file name or path in SQL Server allows an authorized attacker to execute code over a network.