May 2026: SQL Server Remote Code Execution Vulnerability
CVE-2026-40370 Published on May 12, 2026
SQL Server Remote Code Execution Vulnerability
External control of file name or path in SQL Server allows an authorized attacker to execute code over a network.
Weakness Type
External Control of File Name or Path
The software allows user input to control or influence paths or file names that are used in filesystem operations.
Products Associated with CVE-2026-40370
Want to know whenever a new CVE is published for Microsoft products? stack.watch will email you.
Affected Versions
Microsoft SQL Server 2016 Service Pack 3 (GDR):- Version 13.0.0 and below 13.0.6490.1 is affected.
- Version 13.0.0 and below 13.0.7085.1 is affected.
- Version 14.0.0 and below 14.0.3530.2 is affected.
- Version 14.0.0 and below 14.0.2110.2 is affected.
- Version 15.0.0.0 and below 15.0.4470.1 is affected.
- Version 15.0.0 and below 15.0.2170.1 is affected.
- Version 16.0.0 and below 16.0.1180.1 is affected.
- Version 16.0.0.0 and below 16.0.4252.3 is affected.
- Version 17.0.4040.1 and below 17.0.4040.1 is affected.
- Version 17.0.1050.2 and below 17.0.1115.1 is affected.