CVE-2026-40370
SQL Server Remote Code Execution Vulnerability
CVE-2026-40370 is fixed in 10 products on 1 platform, first by KB5089271, released May 12, 2026. It is not reported as exploited. Patch Radar priority: High.
High
CVSS
8.8
Important
Exploitation
None reported
Exploitation Less Likely
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0056
46th percentile
<p>External control of file name or path in SQL Server allows an authorized attacker to execute code over a network.</p>
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Microsoft | |||
| Microsoft SQL Server 2016 for x64-based Systems Service Pack 3 (GDR) | KB5089271 | May 12, 2026 | |
| Microsoft SQL Server 2016 for x64-based Systems Service Pack 3 Azure Connect Feature Pack | KB5089270 | May 12, 2026 | |
| Microsoft SQL Server 2017 for x64-based Systems (CU 31) | KB5090354 | May 12, 2026 | |
| Microsoft SQL Server 2017 for x64-based Systems (GDR) | KB5090347 | May 12, 2026 | |
| Microsoft SQL Server 2019 for x64-based Systems (CU 32) | KB5090407 | May 12, 2026 | |
| Microsoft SQL Server 2019 for x64-based Systems (GDR) | KB5090408 | May 12, 2026 | |
| Microsoft SQL Server 2022 for x64-based Systems (CU 24) | KB5089900 | May 12, 2026 | |
| Microsoft SQL Server 2022 for x64-based Systems (GDR) | KB5091158 | May 12, 2026 | |
| Microsoft SQL Server 2025 for x64-based Systems (CU4) | KB5089899 | May 12, 2026 | |
| Microsoft SQL Server 2025 for x64-based Systems (GDR) | KB5091223 | May 12, 2026 | |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.