High [CVE-2026-40370] SQL Server Remote Code Execution Vulnerability
This high-severity Microsoft Server advisory covers CVE-2026-40370 affecting Microsoft SQL Server 2016 Service Pack 3 (GDR), Microsoft SQL Server 2016 Service Pack 3 Azure Connect Feature Pack, Microsoft SQL Server 2017 (CU 31).
Android app · Google Play
Monitor future Microsoft Server CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 32 official vendor sources and 160+ reviewed platform categories.
Summary
External control of file name or path in SQL Server allows an authorized attacker to execute code over a network.
Affected products named by the advisory: Microsoft SQL Server 2016 Service Pack 3 (GDR); Microsoft SQL Server 2016 Service Pack 3 Azure Connect Feature Pack; Microsoft SQL Server 2017 (CU 31); Microsoft SQL Server 2017 (GDR); and 6 more.
Affected products named by the advisory: Microsoft SQL Server 2019 (CU 32); Microsoft SQL Server 2019 (GDR); Microsoft SQL Server 2022 (GDR); Microsoft SQL Server 2022 for x64-based Systems (CU 24); and 2 more.
Affected products named by the advisory: Microsoft SQL Server 2025 (CU 4); Microsoft SQL Server 2025 for x64-based Systems (GDR).
- Microsoft SQL Server 2016 Service Pack 3 (GDR) 13.0.0 before 13.0.6490.1
- Microsoft SQL Server 2016 Service Pack 3 Azure Connect Feature Pack 13.0.0 before 13.0.7085.1
- Microsoft SQL Server 2017 (CU 31) 14.0.0 before 14.0.3530.2
- Microsoft SQL Server 2017 (GDR) 14.0.0 before 14.0.2110.2
- Microsoft SQL Server 2019 (CU 32) 15.0.0.0 before 15.0.4470.1
- Microsoft SQL Server 2019 (GDR) 15.0.0 before 15.0.2170.1
- Microsoft SQL Server 2022 (GDR) 16.0.0 before 16.0.1180.1
- Microsoft SQL Server 2022 for x64-based Systems (CU 24) 16.0.0.0 before 16.0.4252.3
- Microsoft SQL Server 2025 (CU 4) before 17.0.4040.1
- Microsoft SQL Server 2025 for x64-based Systems (GDR) 17.0.1050.2 before 17.0.1115.1
Official advisory · high-confidence parse· fetched 2 hours ago·verify at source
- 13.0.6490.1
- 13.0.7085.1
- 14.0.3530.2
- 14.0.2110.2
- 15.0.4470.1
- 15.0.2170.1
- 16.0.1180.1
- 16.0.4252.3
- 17.0.4040.1
- 17.0.1115.1
Official advisory · high-confidence parse· fetched 2 hours ago·verify at source
Mitigation
Upgrade to a fixed release: 13.0.6490.1, 13.0.7085.1, 14.0.3530.2, 14.0.2110.2, 15.0.4470.1, 15.0.2170.1. That is the remediation for this advisory.
The vendor advisory may list additional interim mitigations or workarounds not captured here — review it before change work.
Official advisory · high-confidence parse· fetched 2 hours ago·verify at source
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.