KB5084815: Security update for SQL Server 2022, GDR branch, April 2026. Linked-server flaws fixed; MSDASQL queries can fail
Addresses three Important SQL Server vulnerabilities, including flaws that could enable privilege escalation or remote code execution. Linked-server queries using MSDASQL and a provider string might fail with error 7416.
Does it affect you? Applies to: SQL Server 2022 installations on the GDR servicing branch, on Windows or Linux. You need SQL Server 2022 or a SQL Server 2022 GDR release installed to apply the update.
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
Fixes 3 changes
Linked Server
-
Addresses a flaw that could let a low-privileged SQL Server user gain sysadmin permissions through linked servers.1
The vulnerability affects SQL Server linked servers on Linux and Windows.
Programmability
-
Resolves an issue where a specially crafted SQL query could make SQL Server stop responding.2
An unprivileged user, including one with read-only permissions, could exploit the issue to cause a denial-of-service attack. Affects Linux and Windows.
SQL Agent
-
Resolves a SQL injection issue that could let an authorized attacker elevate privileges over a network.3
The issue affects SQL Agent on Windows.
Known issues
-
Linked server queries that use MSDASQL fail with error 7416
Linked-server queries that use the MSDASQL provider and specify a provider string might fail with error 7416, saying that no login mapping exists. The Database Engine's stricter connection validation can reject certain configurations that worked in earlier builds.4
Workaround status No workaround yetMicrosoft 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-04-14
- Classification
- Security Updates
- Type
- Cumulative update
- Servicing branch
- GDR
- Restart
- Required
- Replaces
- KB5077465, KB5073031, KB5068407, KB5065221
- Replaced by
- KB5091158
| Version | Build | Channel |
|---|---|---|
| 2022 | 16.0.1175.1 | General availability |
Security
| Vulnerability | Severity | CVSS |
|---|---|---|
|
Microsoft SQL Server Remote Code Execution Vulnerability
|
Important | 8.8 |
|
SQL Server Elevation of Privilege Vulnerability
|
Important | 6.7 |
|
SQL Server Elevation of Privilege Vulnerability
|
Important | 6.7 |
Downloads (Microsoft Update Catalog)
Updated components
141 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 (4)
-
1.
This fix addresses an elevation of privilege vulnerability in SQL Server linked servers that allows a low-privileged SQL Server user to gain sysadmin permissions.
support.microsoft.com -
2.
This fix resolves an issue in which a specially crafted SQL query triggers a fatal access violation that causes SQL Server to stop responding.
support.microsoft.com -
3.
This fix resolves an issue in SQL Server in which improper neutralization of special elements in SQL commands (SQL injection) allows an authorized attacker to elevate privileges over a network.
support.microsoft.com -
4.
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, 4 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 5/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