CVE & CISA-KEV Catalog

CVE-2026-40370

HIGH
8.8
CVSS v3
NVD

Description

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

How to fix

Remediation Available
Microsoft SQL Server 2016 for x64-based Systems Service Pack 3 (GDR)Microsoft
Install:KB5089271Microsoft
Microsoft SQL Server 2016 for x64-based Systems Service Pack 3 Azure Connect Feature PackMicrosoft
Install:KB5089270Microsoft
Microsoft SQL Server 2017 for x64-based Systems (CU 31)Microsoft
Install:KB5090354Microsoft
Microsoft SQL Server 2017 for x64-based Systems (GDR)Microsoft
Install:KB5090347Microsoft
Microsoft SQL Server 2019 for x64-based Systems (CU 32)Microsoft
Install:KB5090407Microsoft
Microsoft SQL Server 2019 for x64-based Systems (GDR)Microsoft
Install:KB5090408Microsoft
Microsoft SQL Server 2022 for x64-based Systems (CU 24)Microsoft
Install:KB5089900Microsoft
Microsoft SQL Server 2022 for x64-based Systems (GDR)Microsoft
Install:KB5091158Microsoft
Microsoft SQL Server 2025 for x64-based Systems (CU4)Microsoft
Install:KB5089899Microsoft
Microsoft SQL Server 2025 for x64-based Systems (GDR)Microsoft
Install:KB5091223Microsoft

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

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

Exploit Intelligence

0.56%probability of exploitation in 30 days
43rdpercentile

Moderate risk: more likely to be exploited than 43% of all known CVEs.

References

Vendor Advisory1

Related Vulnerabilities

Other CWE-73 (External Control of File Name or Path) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2022-39952Critical9.8100%-Fix
CVE-2024-8517Critical9.895%-Fix
CVE-2023-4634Critical9.883%-Fix
CVE-2018-17246Critical9.882%-Fix
CVE-2025-33053High8.882%KEVFix
CVE-2024-43451Medium6.582%KEVFix
Embed a live status badge for CVE-2026-40370
CVE-2026-40370 severity badge

Markdown

[![CVE-2026-40370](https://tridentstack.com/cve/badge/CVE-2026-40370.svg)](https://tridentstack.com/cve/CVE-2026-40370)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-40370"><img src="https://tridentstack.com/cve/badge/CVE-2026-40370.svg" alt="CVE-2026-40370"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-18.