CVE-2026-40370

SQL Server Remote Code Execution Vulnerability

HIGH
8.8
CVSS Score
Published: May 12, 2026 at 04:59 PM UTC
Updated: June 19, 2026 at 03:35 AM UTC
5 products affected across 1 vendorSQL Server 2019SQL Server 2022SQL Server 2017

Using Microsoft SQL Server 2016 Service Pack 3 (GDR) by Microsoft?

Get instant alerts when new vulnerabilities affect Microsoft SQL Server 2016 Service Pack 3 (GDR) - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.8
Exploit prediction
EPSS 0.6%
SSVC
No known exploit

Description

External control of file name or path in SQL Server allows an authorized attacker to execute code over a network.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

13.0.0 ≤ v < 13.0.6490.113.0.0 ≤ v < 13.0.7085.113.0.6300.2 ≤ v < 13.0.6490.113.0.7000.253 ≤ v < 13.0.7085.113.0.0
Affected range stops below 13.0.6490.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 13.0.7085.1, so it looks safe — our inference, not a vendor statement
14.0.0 ≤ v < 14.0.2110.214.0.0 ≤ v < 14.0.3530.214.0.1000.169 ≤ v < 14.0.2110.214.0.3006.16 ≤ v < 14.0.3530.214.0.0
Affected range stops below 14.0.2110.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 14.0.3530.2, so it looks safe — our inference, not a vendor statement
15.0.0 ≤ v < 15.0.2170.115.0.0.0 ≤ v < 15.0.4470.115.0.2000.5 ≤ v < 15.0.2170.115.0.4003.23 ≤ v < 15.0.4470.115.0.015.0.0.0
Affected range stops below 15.0.2170.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 15.0.4470.1, so it looks safe — our inference, not a vendor statement
16.0.0 ≤ v < 16.0.1180.116.0.0.0 ≤ v < 16.0.4252.316.0.1000.6 ≤ v < 16.0.1180.116.0.4003.1 ≤ v < 16.0.4252.316.0.016.0.0.0
Affected range stops below 16.0.1180.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 16.0.4252.3, so it looks safe — our inference, not a vendor statement
v < 17.0.4040.117.0.1000.7 ≤ v < 17.0.1115.117.0.1050.2 ≤ v < 17.0.1115.117.0.4006.2 ≤ v < 17.0.4040.117.0.1050.2
Affected range stops below 17.0.1115.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 17.0.4040.1, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (1)

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

8.8HIGHmicrosoft
Vector?

Quick Info

StatusANALYZED
CWE
CWE-73CWE-610

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card