Skip to main content
EPSS 0.6%top 55%

CVE-2026-40370: CWE-73: External Control of File Name or Path in Microsoft Microsoft SQL Server 2016 Service Pack 3 (GDR)

0
High
VulnerabilityCVE-2026-40370cvecve-2026-40370cwe-73
Published: 05/12/2026 (05/12/2026, 16:59:21 UTC)
Source: CVE Database V5
Vendor/Project: Microsoft
Product: Microsoft SQL Server 2016 Service Pack 3 (GDR)

Description

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

CVSS v3.1

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
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

Affected software

Microsoft

Microsoft SQL Server 2016 Service Pack 3 (GDR)

Affected versions
>=13.0.0 <13.0.6490.1

Microsoft

Microsoft SQL Server 2016 Service Pack 3 Azure Connect Feature Pack

Affected versions
>=13.0.0 <13.0.7085.1

Microsoft

Microsoft SQL Server 2017 (CU 31)

Affected versions
>=14.0.0 <14.0.3530.2

Microsoft

Microsoft SQL Server 2017 (GDR)

Affected versions
>=14.0.0 <14.0.2110.2

Microsoft

Microsoft SQL Server 2019 (CU 32)

Affected versions
>=15.0.0.0 <15.0.4470.1

Microsoft

Microsoft SQL Server 2019 (GDR)

Affected versions
>=15.0.0 <15.0.2170.1

Microsoft

Microsoft SQL Server 2022 (GDR)

Affected versions
>=16.0.0 <16.0.1180.1

Microsoft

Microsoft SQL Server 2022 for x64-based Systems (CU 24)

Affected versions
>=16.0.0.0 <16.0.4252.3

Microsoft

Microsoft SQL Server 2025 (CU 4)

Affected versions
>=17.0.4040.1 <17.0.4040.1

Microsoft

Microsoft SQL Server 2025 for x64-based Systems (GDR)

Affected versions
>=17.0.1050.2 <17.0.1115.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/11/2026, 16:45:27 UTC

Technical Analysis

This vulnerability (CVE-2026-40370) in Microsoft SQL Server 2016 Service Pack 3 (GDR) is classified under CWE-73 (External Control of File Name or Path). It enables an authorized attacker to execute arbitrary code remotely by controlling file names or paths used by the server. The CVSS 3.1 base score is 8.8, indicating high severity, with network attack vector, low attack complexity, and no user interaction required. Microsoft has released an official fix for this vulnerability as documented in their security update guide.

Potential Impact

Successful exploitation allows an authorized attacker to execute arbitrary code remotely on the affected SQL Server instance, potentially leading to full compromise of the server. Confidentiality, integrity, and availability impacts are all rated high.

Mitigation Recommendations

An official fix is available from Microsoft. Users should apply the security update provided for Microsoft SQL Server 2016 Service Pack 3 (GDR) as detailed in the Microsoft security update guide at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-40370. No additional mitigations are indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
microsoft
Date Reserved
2026-04-11T23:06:15.615Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
official-fix
Vendor Advisory Urls
[{"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-40370","vendor":"Microsoft"}]

Threat ID: 6a036550cbff5d861008c901

Added to database: 05/12/2026, 17:37:20 UTC

Last enriched: 08/11/2026, 16:45:27 UTC

Last updated: 09/13/2026, 22:01:33 UTC

Views: 209

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses