CVE-2026-40370
HIGHCVSS 8.8/10EPSS 0.56%
Last modified
CVE-2026-40370 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. External control of file name or path in SQL Server allows an authorized attacker to execute code over a network.. EPSS estimates a 0.56% chance of exploitation in the next 30 days.
Description
External control of file name or path in SQL Server allows an authorized attacker to execute code over a network.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Microsoft | Sql Server 2016 | >= 13.0.6300.2, < 13.0.6490.1 |
| Microsoft | Sql Server 2016 | >= 13.0.7000.253, < 13.0.7085.1 |
| Microsoft | Sql Server 2017 | >= 14.0.1000.169, < 14.0.2110.2 |
| Microsoft | Sql Server 2017 | >= 14.0.3006.16, < 14.0.3530.2 |
| Microsoft | Sql Server 2019 | >= 15.0.2000.5, < 15.0.2170.1 |
| Microsoft | Sql Server 2019 | >= 15.0.4003.23, < 15.0.4470.1 |
| Microsoft | Sql Server 2022 | >= 16.0.1000.6, < 16.0.1180.1 |
| Microsoft | Sql Server 2022 | >= 16.0.4003.1, < 16.0.4252.3 |
| Microsoft | Sql Server 2025 | >= 17.0.1000.7, < 17.0.1115.1 |
| Microsoft | Sql Server 2025 | >= 17.0.4006.2, < 17.0.4040.1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-40370?
External control of file name or path in SQL Server allows an authorized attacker to execute code over a network.
How severe is CVE-2026-40370?
CVE-2026-40370 has a CVSS score of 8.8/10 (HIGH severity). The EPSS model estimates a 0.56% probability of exploitation in the next 30 days.
How do I fix CVE-2026-40370?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2026-40370?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
