Skip to content
CVE PROGRAM SOURCE RECORD8.8 High

CVE-2026-40370

SQL Server Remote Code Execution Vulnerability

Description

External control of file name or path in SQL Server allows an authorized attacker to execute code over a network.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Microsoft Microsoft SQL Server 2016 Service Pack 3 (GDR)

  • 13.0.0 to < 13.0.6490.1affected

Microsoft Microsoft SQL Server 2016 Service Pack 3 Azure Connect Feature Pack

  • 13.0.0 to < 13.0.7085.1affected

Microsoft Microsoft SQL Server 2017 (CU 31)

  • 14.0.0 to < 14.0.3530.2affected

Microsoft Microsoft SQL Server 2017 (GDR)

  • 14.0.0 to < 14.0.2110.2affected

Microsoft Microsoft SQL Server 2019 (CU 32)

  • 15.0.0.0 to < 15.0.4470.1affected

Microsoft Microsoft SQL Server 2019 (GDR)

  • 15.0.0 to < 15.0.2170.1affected

Microsoft Microsoft SQL Server 2022 (GDR)

  • 16.0.0 to < 16.0.1180.1affected

Microsoft Microsoft SQL Server 2022 for x64-based Systems (CU 24)

  • 16.0.0.0 to < 16.0.4252.3affected

Microsoft Microsoft SQL Server 2025 (CU 4)

  • 17.0.4040.1 to < 17.0.4040.1affected

Microsoft Microsoft SQL Server 2025 for x64-based Systems (GDR)

  • 17.0.1050.2 to < 17.0.1115.1affected

References