CVE-2026-40370
CVE-2026-40370 is a high-severity vulnerability in Microsoft Sql Server 2016 with a CVSS 3.x base score of 8.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-610.
Key facts
- Severity: High (CVSS 3.x base score 8.8)
- EPSS exploit prediction: 1% (42nd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-29652
- Weakness: CWE-610
- Affected product: Microsoft Sql Server 2016
- Published:
- Last modified:
Description
External control of file name or path in SQL Server allows an authorized attacker to execute code over a network.
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 3.x base score of 8.8, rated high severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2026-40370 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (42nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-40370?
- CVE-2026-40370 primarily affects Microsoft Sql Server 2016. In total, 5 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2026-40370?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2026-40370 have an EU (EUVD) identifier?
- Yes. CVE-2026-40370 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-29652.
- When was CVE-2026-40370 published?
- CVE-2026-40370 was published on 2026-05-12 and last updated on 2026-06-18.
References
Affected products (5)
- cpe:2.3:a:microsoft:sql_server_2016:*:*:*:*:*:*:x64:*
- cpe:2.3:a:microsoft:sql_server_2017:*:*:*:*:*:*:x64:*
- cpe:2.3:a:microsoft:sql_server_2019:*:*:*:*:*:*:x64:*
- cpe:2.3:a:microsoft:sql_server_2022:*:*:*:*:*:*:x64:*
- cpe:2.3:a:microsoft:sql_server_2025:*:*:*:*:*:*:x64:*
More vulnerabilities in Microsoft Sql Server 2016
- CVE-2026-33120 — High (CVSS 8.8): Untrusted pointer dereference in SQL Server allows an authorized attacker to execute code over a network.
- CVE-2026-26116 — High (CVSS 8.8): Improper neutralization of special elements used in an sql command ('sql injection') in SQL Server allows an authorized…
- CVE-2026-26115 — High (CVSS 8.8): Improper validation of specified type of input in SQL Server allows an authorized attacker to elevate privileges over a…
- CVE-2026-21262 — High (CVSS 8.8): Improper access control in SQL Server allows an authorized attacker to elevate privileges over a network.
- CVE-2025-59499 — High (CVSS 8.8): Improper neutralization of special elements used in an sql command ('sql injection') in SQL Server allows an authorized…
- CVE-2025-55227 — High (CVSS 8.8): Improper neutralization of special elements used in a command ('command injection') in SQL Server allows an authorized…
All CVEs affecting Microsoft Sql Server 2016 →
Other CWE-610 vulnerabilities
- CVE-2022-27593 — Critical (CVSS 10.0): An externally controlled reference to a resource vulnerability has been reported to affect QNAP NAS running Photo…
- CVE-2019-7290 — Critical (CVSS 10.0): An access issue was addressed with additional sandbox restrictions. This issue is fixed in Shortcuts 2.1.3 for iOS. A…
- CVE-2017-16088 — Critical (CVSS 10.0): The safe-eval module describes itself as a safer version of eval. By accessing the object constructors, un-sanitized…
- CVE-2022-39206 — Critical (CVSS 9.9): Onedev is an open source, self-hosted Git Server with CI/CD and Kanban. When using Docker-based job executors, the…
- CVE-2026-47643 — Critical (CVSS 9.8): External control of file name or path in Azure Stack Edge allows an unauthorized attacker to execute code over a…
- CVE-2022-20239 — Critical (CVSS 9.8): remap_pfn_range' here may map out of size kernel memory (for example, may map the kernel area), and because the…