# CVE-2026-40370: SQL Server Remote Code Execution Vulnerability

- Severity: High 8.8 (CVSS:3.1, scored by microsoft) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.01%, higher than 62% of CVEs (2026-11-30)
- Published: 2026-05-12T16:59:21.097Z
- Modified: 2026-11-30T17:32:28.480Z
- Weaknesses: CWE-73, CWE-610
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: microsoft

## Description

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

(As written by CVE List.)

## Affected

- Microsoft Microsoft SQL Server 2016 Service Pack 3 (GDR): from 13.0.0 before 13.0.6490.1
- Microsoft Microsoft SQL Server 2016 Service Pack 3 Azure Connect Feature Pack: from 13.0.0 before 13.0.7085.1
- Microsoft Microsoft SQL Server 2017 (CU 31): from 14.0.0 before 14.0.3530.2
- Microsoft Microsoft SQL Server 2017 (GDR): from 14.0.0 before 14.0.2110.2
- Microsoft Microsoft SQL Server 2019 (CU 32): from 15.0.0.0 before 15.0.4470.1
- Microsoft Microsoft SQL Server 2019 (GDR): from 15.0.0 before 15.0.2170.1
- Microsoft Microsoft SQL Server 2022 (GDR): from 16.0.0 before 16.0.1180.1
- Microsoft Microsoft SQL Server 2022 for x64-based Systems (CU 24): from 16.0.0.0 before 16.0.4252.3
- Microsoft Microsoft SQL Server 2025 (CU 4): from 17.0.4040.1 before 17.0.4040.1
- Microsoft Microsoft SQL Server 2025 for x64-based Systems (GDR): from 17.0.1050.2 before 17.0.1115.1
- microsoft sql_server_2016: from 13.0.6300.2 before 13.0.6490.1; from 13.0.7000.253 before 13.0.7085.1
- microsoft sql_server_2017: from 14.0.1000.169 before 14.0.2110.2; from 14.0.3006.16 before 14.0.3530.2
- microsoft sql_server_2019: from 15.0.2000.5 before 15.0.2170.1; from 15.0.4003.23 before 15.0.4470.1
- microsoft sql_server_2022: from 16.0.1000.6 before 16.0.1180.1; from 16.0.4003.1 before 16.0.4252.3
- microsoft sql_server_2025: from 17.0.1000.7 before 17.0.1115.1; from 17.0.4006.2 before 17.0.4040.1

## References

- <https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-40370> (patch, vendor-advisory)

## Sources

- CVE List: [CVE-2026-40370](https://www.cve.org/CVERecord?id=CVE-2026-40370), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-40370](https://nvd.nist.gov/vuln/detail/CVE-2026-40370), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-40370 · Whole record: https://cve.day/CVE-2026-40370.json · Rebuilt by cve.day 2026-11-30T17:42:31.173Z
