Skip to the content
The Update Bureau
SQL Server 2022 CU24 + GDR SQL Server 2022 CU24 + GDR Security update
Patch Tuesday

KB5089900

KB5089900: Security update for SQL Server 2022, CU branch, May 2026. Database Engine RCE addressed; provider-string linked queries fail

In short

Addresses one Important SQL Server vulnerability, CVE-2026-40370. Linked-server queries using MSDASQL and a provider string can fail with error 7416.

Does it affect you? Applies to: Supported x64-based SQL Server 2022 instances running SQL Server 2022 or a SQL Server 2022 CU through CU24 GDR.

Build
16.0.4252.3
Servicing branch
CU
Security
1 fixed
Restart
Required
Review notes Additional details from the official release notes (1) Read note
  • This page CVE-2026-40370 is identified as a SQL Server Remote Code Execution vulnerability. The official page does not specify the affected SQL Server component.

The official sources are linked at the end of the page.

For servers on the CU branch: they install cumulative updates, which also bring fixes beyond security. Servers on the GDR branch (security fixes only) get a separate update. Which branch am I on?

What changes

Fix 1 change

Integration Service

  • The Web Service Task fix addresses a flaw that could let an attacker read files on the server or make it unavailable.1
    Addresses an XML external entity (XXE) vulnerability in the Web Service Task that could enable arbitrary local file reads or a denial-of-service (DoS) attack. Platform: Windows.

Known issues

  1. Open Affects: Organizations and IT administrators

    Linked server queries that use MSDASQL fail with error 7416

    Linked-server queries that use the MSDASQL provider and specify a provider string can fail with error 7416: access to the remote server is denied because no login mapping exists. Stricter Database Engine connection validation can reject configurations that worked on earlier builds.2

    Workaround status No workaround yet

    Microsoft has not published a manual workaround for this issue yet. Monitor release health until a resolving update is available.

Technical details

Data sheet · Security · Downloads · Components Click to collapse or expand

Data sheet

Released
2026-05-12
Classification
Security Updates
Type
Cumulative update
Servicing branch
CU
Restart
Required
Replaces
KB5083252, KB5080999, KB5077464, KB5078297
+23 earlier KB5072936, KB5068450, KB5068406, KB5065865, KB5065220, KB5063814, KB5059390, KB5058721, KB5054531, KB5050771, KB5048038, KB5048033, KB5046862, KB5046059, KB5041321, KB5042578, KB5038325, KB5040939, KB5036432, KB5036343, KB5033663, KB5032679, KB5033592
Replaced by
KB5101347
VersionBuildChannel
2022 16.0.4252.3 General availability

Security

1 vulnerability fixed
1 important
VulnerabilitySeverityCVSS
SQL Server Remote Code Execution Vulnerability
Important 8.8

Downloads (Microsoft Update Catalog)

Updated components

145 files changed since the previous update for the same versions.

Top changed componentsFiles
SQL Server Engine114
SQL Server PolyBase3

Sources

Updated
Cited passages from Microsoft's official notes (2)
  1. 1. This fix addresses an XML external entity (XXE) vulnerability in the Web Service Task that allows an attacker to read arbitrary files from the local file system or cause a denial-of-service (DoS) attack. support.microsoft.com
  2. 2. Linked server queries that use the MSDASQL (OLE DB Provider for ODBC Drivers) provider and specify a provider string (@provstr) fail and return the following error message: support.microsoft.com
Checked automatically: 8 of 8 checks passed, 2 quoted passages · compared with Microsoft's page on Sep 26, 2026
  • Quotes found in the official pages: passed
  • Numbers found in the sources: passed
  • Vulnerabilities from the dossier only: passed
  • Links to allowed domains only: passed
  • Every official change covered: passed
  • Readable plain text: passed
  • Changes confirmed by the file list: passed
  • Sources agree: passed

A second AI read the text against the sources: correctness 4/5, clarity 4/5, completeness 5/5. How we work

Published by The Update Bureau. Written with AI from Microsoft's own documents, checked by rules and a second AI. How we work · Report a mistake