CVE-2026-40370: SQL Server Remote Code Execution Vulnerability
Vulnerability summary
CVE-2026-40370 is a high (CVSS 8.8) vulnerability in microsoft microsoft sql server 2016 service pack 3 azure connect feature pack. EPSS estimates a 0.56% chance of exploitation in the next 30 days, higher than 47.7% of scored vulnerabilities.
Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 12-05-2026PublishedVulnerability first disclosed.
- 30-11-2026Last modifiedVulnerability information updated.
Description
External control of file name or path in SQL Server allows an authorized attacker to execute code over a network.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.56%
Chance of exploitation in the next 30 days
Percentile
48%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.56% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-610Externally Controlled Reference to a Resource in Another SphereThe product uses an externally controlled name or reference that resolves to a resource that is outside of the intended control sphere.
- CWE-73External Control of File Name or PathThe product allows user input to control or influence paths or file names that are used in filesystem operations.
Affected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Microsoft15 products
- microsoft sql server 2016 service pack 3 azure connect feature pack≥ 13.0.0, < 13.0.7085.1
- microsoft sql server 2016 service pack 3 (gdr)≥ 13.0.0, < 13.0.6490.1
- microsoft sql server 2017 (cu 31)≥ 14.0.0, < 14.0.3530.2
- microsoft sql server 2017 (gdr)≥ 14.0.0, < 14.0.2110.2
- microsoft sql server 2019 (cu 32)≥ 15.0.0.0, < 15.0.4470.1
1 vendor · 15 products