Vulnerability in Microsoft SQL Server 2016 Service Pack 3 Azure Connect Feature
CVE-2026-40370
External control of file name or path in SQL Server allows an authorized attacker to execute code over a network.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.010 (62.5th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 63rd percentile — 62.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.010 · change: +0.005
Affected products
- Microsoft SQL Server 2016 Service Pack 3 Azure Connect Feature — versions 13.0.0
- Microsoft SQL Server 2016 Service Pack 3 (Gdr) — versions 13.0.0
- Microsoft SQL Server 2017 (Cu 31) — versions 14.0.0
- Microsoft SQL Server 2017 (Gdr) — versions 14.0.0
- Microsoft SQL Server 2019 (Cu 32) — versions 15.0.0.0
- Microsoft SQL Server 2019 (Gdr) — versions 15.0.0
- Microsoft SQL Server 2022 For X64-Based Systems (Cu 24) — versions 16.0.0.0
- Microsoft SQL Server 2022 (Gdr) — versions 16.0.0
- Microsoft SQL Server 2025 (Cu 4) — versions 17.0.4040.1
- Microsoft SQL Server 2025 For X64-Based Systems (Gdr) — versions 17.0.1050.2
Weakness classification (CWE)
References
- SQL Server Remote Code Execution Vulnerability (vendor-advisory, patch, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-40370?
- CVE-2026-40370 is a high-severity vulnerability in Microsoft SQL Server 2016 Service Pack 3 Azure Connect Feature, classified under External Control of File Name or Path. CVSS score: 8.8/10. Published 2026-05-12.
- How severe is CVE-2026-40370?
- High severity. CVSS v3 base score is 8.8 out of 10.