8.8
High
CVE-2026-40370 External control of file name or path in SQL Server allows an authorized attacker to execute code over a network
Description
External control of file name or path in SQL Server allows an authorized attacker to execute code over a network.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Microsoft SQL Server 2016 Service Pack 3 (GDR) 13.0 | 13.0.0 → < 13.0.6490.1 | 13.0.6490.1 |
| Microsoft SQL Server 2016 Service Pack 3 Azure Connect Feature Pack 13.0 | 13.0.0 → < 13.0.7085.1 | 13.0.7085.1 |
| Microsoft SQL Server 2017 (CU 31) 14.0 | 14.0.0 → < 14.0.3530.2 | 14.0.3530.2 |
| Microsoft SQL Server 2017 (GDR) 14.0 | 14.0.0 → < 14.0.2110.2 | 14.0.2110.2 |
| Microsoft SQL Server 2019 (CU 32) 15.0 | 15.0.0.0 → < 15.0.4470.1 | 15.0.4470.1 |
| Microsoft SQL Server 2019 (GDR) 15.0 | 15.0.0 → < 15.0.2170.1 | 15.0.2170.1 |
| Microsoft SQL Server 2022 (GDR) 16.0 | 16.0.0 → < 16.0.1180.1 | 16.0.1180.1 |
| Microsoft SQL Server 2022 for x64-based Systems (CU 24) 16.0 | 16.0.0.0 → < 16.0.4252.3 | 16.0.4252.3 |
| Microsoft SQL Server 2025 (CU 4) 17.0 | earliest → < 17.0.4040.1 | 17.0.4040.1 |
Show the other branch Hide the other branch
| Product | Affected versions | Fixed in |
|---|---|---|
| Microsoft SQL Server 2025 for x64-based Systems (GDR) 17.0 | 17.0.1050.2 → < 17.0.1115.1 | 17.0.1115.1 |
References
- SQL Server Remote Code Execution Vulnerability msrc.microsoft.com
Timeline
- Published
- Last modified
Other CVEs of Microsoft SQL Server 2016 Service Pack 3 (GDR)
The 95 CVEs of Microsoft SQL Server 2016 Service Pack 3 (GDR) →
CVE-2026-47295
Improper neutralization of special elements used in an sql command ('sql injection') in SQL Server allows an…
8.8
High
CVE-2026-55002
External control of file name or path in SQL Server allows an authorized attacker to elevate privileges over a network
8.8
High
CVE-2026-54118
Deserialization of untrusted data in SQL Server allows an unauthorized attacker to execute code over a network
9.8
Critical
CVE-2026-47296
Improper neutralization of special elements used in an sql command ('sql injection') in SQL Server allows an…
7.5
High