Skip to main content
VulnerabilityPublished Updated

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

0
Compare

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

CVSS 3.1 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.
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:C

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
MicrosoftMicrosoft SQL Server 2016 Service Pack 3 (GDR)Affected
  • >=13.0.0 <13.0.6490.1
Fixed in
  • 13.0.6490.1
MicrosoftMicrosoft SQL Server 2016 Service Pack 3 Azure Connect Feature PackAffected
  • >=13.0.0 <13.0.7085.1
Fixed in
  • 13.0.7085.1
MicrosoftMicrosoft SQL Server 2017 (CU 31)Affected
  • >=14.0.0 <14.0.3530.2
Fixed in
  • 14.0.3530.2
MicrosoftMicrosoft SQL Server 2017 (GDR)Affected
  • >=14.0.0 <14.0.2110.2
Fixed in
  • 14.0.2110.2
MicrosoftMicrosoft SQL Server 2019 (CU 32)Affected
  • >=15.0.0.0 <15.0.4470.1
Fixed in
  • 15.0.4470.1
MicrosoftMicrosoft SQL Server 2019 (GDR)Affected
  • >=15.0.0 <15.0.2170.1
Fixed in
  • 15.0.2170.1

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.

References

Community reviews

Loading reviews…