KB5091158: Security update for SQL Server 2022, GDR branch, May 2026. Web Service Task flaw addressed; linked queries can fail with 7416
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.
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
-
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 WorkaroundOpen 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
- Replaced by
- KB5102334
| Version | Build | Channel |
|---|---|---|
| 2022 | 16.0.1180.1 | General availability |
Security
| Vulnerability | Severity | CVSS |
|---|---|---|
|
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 components | Files |
|---|---|
| SQL Server Engine | 112 |
| SQL Server PolyBase | 2 |
Sources
Cited passages from Microsoft's official notes (2)
-
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.
Linked server queries that use the
support.microsoft.comMSDASQL(OLE DB Provider for ODBC Drivers) provider and specify a provider string (@provstr) fail and return the following error message:
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