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

KB5091158

KB5091158: Security update for SQL Server 2022, GDR branch, May 2026. Web Service Task flaw addressed; linked queries can fail with 7416

In short

The update addresses one Important SQL Server vulnerability in the Web Service Task. Queries to other servers using the OLE DB Provider for ODBC Drivers might fail with error 7416.

Does it affect you? Applies to: This update is for x64-based systems running SQL Server 2022. SQL Server 2022 or a SQL Server 2022 GDR release must already be installed.

Build
16.0.1180.1
Servicing branch
GDR
Security
1 fixed
Restart
Required

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

What changes

Fix 1 change

Integration Services

  • The Web Service Task's XML handling is changed to address a vulnerability that could let an attacker read local files or disrupt service.1
    Bug 5130996 addresses an XML external entity (XXE) vulnerability in the Web Service Task.

Known issues

  1. Open Affects: Organizations and IT administrators

    Linked server queries that use MSDASQL fail with error 7416

    Queries that connect to another server through the OLE DB Provider for ODBC Drivers might fail if they include a provider string (connection details). The query returns error 7416, saying access is denied because no login mapping exists.2

    How to apply the workaround Workaround

    Open the linked troubleshooting article for the available workarounds.2

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
GDR
Restart
Required
Replaces
KB5084815, KB5077465, KB5073031, KB5068407
+9 earlier KB5065221, KB5063756, KB5058712, KB5046861, KB5046057, KB5042211, KB5040936, KB5035432, KB5032968
Replaced by
KB5102334
VersionBuildChannel
2022 16.0.1180.1 General availability

Security

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

Downloads (Microsoft Update Catalog)

Updated components

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

Top changed componentsFiles
SQL Server Engine112
SQL Server PolyBase2

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 5/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