NetSight
high8.8

CVE-2026-40370

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

Impact

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

Affected products

VendorProductAffected versions
MicrosoftSql Server 2016
from 13.0.6300.2 before 13.0.6490.1
from 13.0.7000.253 before 13.0.7085.1
MicrosoftSql Server 2017
from 14.0.1000.169 before 14.0.2110.2
from 14.0.3006.16 before 14.0.3530.2
MicrosoftSql Server 2019
from 15.0.2000.5 before 15.0.2170.1
from 15.0.4003.23 before 15.0.4470.1
MicrosoftSql Server 2022
from 16.0.1000.6 before 16.0.1180.1
from 16.0.4003.1 before 16.0.4252.3
MicrosoftSql Server 2025
from 17.0.1000.7 before 17.0.1115.1
from 17.0.4006.2 before 17.0.4040.1

Weakness classification

References