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

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-05-12 · Modified: 2026-11-30
- Record: https://cvemate.com/vulnerability/CVE-2026-40370 · JSON: https://cvemate.com/vulnerability/CVE-2026-40370/json

## Description

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

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) 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
- EPSS: 0.555%, percentile 47.727%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- microsoft microsoft sql server 2016 service pack 3 azure connect feature pack: ≥ 13.0.0, \< 13.0.7085.1
- microsoft microsoft sql server 2016 service pack 3 (gdr): ≥ 13.0.0, \< 13.0.6490.1
- microsoft microsoft sql server 2017 (cu 31): ≥ 14.0.0, \< 14.0.3530.2
- microsoft microsoft sql server 2017 (gdr): ≥ 14.0.0, \< 14.0.2110.2
- microsoft microsoft sql server 2019 (cu 32): ≥ 15.0.0.0, \< 15.0.4470.1
- microsoft microsoft sql server 2019 (gdr): ≥ 15.0.0, \< 15.0.2170.1
- microsoft microsoft sql server 2022 for x64-based systems (cu 24): ≥ 16.0.0.0, \< 16.0.4252.3
- microsoft microsoft sql server 2022 (gdr): ≥ 16.0.0, \< 16.0.1180.1
- microsoft microsoft sql server 2025 (cu 4): ≥ 17.0.4040.1, \< 17.0.4040.1
- microsoft microsoft sql server 2025 for x64-based systems (gdr): ≥ 17.0.1050.2, \< 17.0.1115.1
- microsoft sql\_server\_2016: ≥ 13.0.6300.2, \< 13.0.6490.1 \| ≥ 13.0.7000.253, \< 13.0.7085.1
- microsoft sql\_server\_2017: ≥ 14.0.1000.169, \< 14.0.2110.2 \| ≥ 14.0.3006.16, \< 14.0.3530.2
- microsoft sql\_server\_2019: ≥ 15.0.2000.5, \< 15.0.2170.1 \| ≥ 15.0.4003.23, \< 15.0.4470.1
- microsoft sql\_server\_2022: ≥ 16.0.1000.6, \< 16.0.1180.1 \| ≥ 16.0.4003.1, \< 16.0.4252.3
- microsoft sql\_server\_2025: ≥ 17.0.1000.7, \< 17.0.1115.1 \| ≥ 17.0.4006.2, \< 17.0.4040.1

## References

- <https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-40370>

---

Data as of 2026-12-05T04:38:50.332Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
