Skip to content
OpenAdvisories
Critical MSRC-CVE-2026-54118 1 CVE

Microsoft SQL Server Remote Code Execution Vulnerability

Published Jul 14, 2026 · Updated Aug 20, 2026 · Revision 2

Summary

Impact: Remote Code Execution. Microsoft rating: Critical. Not known to be exploited — Exploitation Less Likely. Customer action: Required.

Details

According to the CVSS metric, the attack vector is network (AV:N) and the attack complexity is low (AC:L). What does that mean for this vulnerability?
The attack vector is Network (AV:N) because this vulnerability is remotely exploitable and can be exploited from the internet. The attack complexity is Low (AC:L) because an attacker does not require significant prior knowledge of the system and can achieve repeatable success with the payload against the vulnerable component.

How could an attacker exploit this vulnerability?
An authenticated attacker with explicit permissions could exploit the vulnerability by logging in to the SQL server and could then elevate their privileges to sysadmin.

I am running SQL Server on my system. What action do I need to take?
Update your relevant version of SQL Server. Any applicable driver fixes are included in those updates.
First, determine your SQL Server version number. For more information on determining your SQL Server version number, see Microsoft Knowledge Base Article 321185 - How to determine the version, edition, and update level of SQL Server and its components., Second, in the following table, locate your version number or the version range that your version number falls within. The corresponding update is the one you need to install.
5101346: 5101346, Security update for SQL Server 2025 CU6+GDR: Security update for SQL Server 2025 CU6+GDR, 17.0.4060.2: 17.0.4060.2, 17.0.4006.2 - 17.0.4055.5: 17.0.4006.2 - 17.0.4055.5, KB5093421 - Previous SQL2025 RTM CU6: KB5093421 - Previous SQL2025 RTM CU6, 5102333: 5102333, Security update for SQL Server 2025 RTM+GDR: Security update for SQL Server 2025 RTM+GDR, 17.0.1125.2: 17.0.1125.2, 17.0.1000.7 - 17.0.1115.1: 17.0.1000.7 - 17.0.1115.1, KB5091223 - Previous SQL2025 RTM GDR: KB5091223 - Previous SQL2025 RTM GDR, 5101347: 5101347, Security update for SQL Server 2022 CU25+GDR: Security update for SQL Server 2022 CU25+GDR, 16.0.4262.2: 16.0.4262.2, 16.0.4003.1 - 16.0.4255.1: 16.0.4003.1 - 16.0.4255.1, KB5081477 - Previous SQL2022 RTM CU25: KB5081477 - Previous SQL2022 RTM CU25, 5102334: 5102334, Security update for SQL Server 2022 RTM+GDR: Security update for SQL Server 2022 RTM+GDR, 16.0.1190.2: 16.0.1190.2, 16.0.1000.6 - 16.0.1180.1: 16.0.1000.6 - 16.0.1180.1, KB5091158 - Previous SQL2022 RTM GDR: KB5091158 - Previous SQL2022 RTM GDR, 5102335: 5102335, Security update for SQL Server 2019 CU32+GDR: Security update for SQL Server 2019 CU32+GDR, 15.0.4480.2: 15.0.4480.2, 15.0.4003.23 - 15.0.4470.1: 15.0.4003.23 - 15.0.4470.1, KB5090407 - Previous SQL2019 RTM CU32 GDR: KB5090407 - Previous SQL2019 RTM CU32 GDR, 5102336: 5102336, Security update for SQL Server 2019 RTM+GDR: Security update for SQL Server 2019 RTM+GDR, 15.0.2180.2: 15.0.2180.2, 15.0.2000.5 - 15.0.2170.1: 15.0.2000.5 - 15.0.2170.1, KB 5090408 - Previous SQL2019 RTM GDR: KB 5090408 - Previous SQL2019 RTM GDR, 5102337: 5102337, Security update for SQL Server 2017 CU31+GDR: Security update for SQL Server 2017 CU31+GDR, 14.0.3540.1: 14.0.3540.1, 14.0.3006.16 - 14.0.3530.2: 14.0.3006.16 - 14.0.3530.2, KB 5090354 - Previous SQL2017 RTM CU31 GDR: KB 5090354 - Previous SQL2017 RTM CU31 GDR, 5102338: 5102338, Security update for SQL Server 2017 RTM+GDR: Security update for SQL Server 2017 RTM+GDR, 14.0.2120.1: 14.0.2120.1, 14.0.1000.169 - 14.0.2110.2: 14.0.1000.169 - 14.0.2110.2, KB 5090347 - Previous SQL2017 RTM GDR: KB 5090347 - Previous SQL2017 RTM GDR, 5102339: 5102339, Security update for SQL Server 2016 Azure Connect Feature Pack+GDR: Security update for SQL Server 2016 Azure Connect Feature Pack+GDR, 13.0.7095.1: 13.0.7095.1, 13.0.7000.253 - 13.0.7085.1: 13.0.7000.253 - 13.0.7085.1, KB 5089270 - Previous SQL2016 Azure Connect Feature Pack GDR: KB 5089270 - Previous SQL2016 Azure Connect Feature Pack GDR, 5102340: 5102340, Security update for SQL Server 2016 SP3+GDR: Security update for SQL Server 2016 SP3+GDR, 13.0.6500.1: 13.0.6500.1, 13.0.6300.2 - 13.0.6490.1: 13.0.6300.2 - 13.0.6490.1, KB 5089271 - Previous SQL2016 RTM GDR: KB 5089271 - Previous SQL2016 RTM GDR
The General Distribution Release (GDR) and Cumulative Update (CU) designations correspond to the two different servicing options in place for SQL Server baseline releases. A baseline can be either an RTM release or a Service Pack release.
GDR updates – cumulatively only contain security updates for the given baseline., CU updates – cumulatively contain all functional fixes and security updates for the given baseline.
For any given baseline, either the GDR or CU updates could be options (see below).
If SQL Server installation is at a baseline version, you can choose either the GDR or CU update., If SQL Server installation has intentionally only installed past GDR updates, then choose to install the GDR update package., If SQL Server installation has intentionally installed previous CU updates, then choose to install the CU security update package.
Yes. SQL Server instances on Windows Azure (IaaS) can be offered the security updates through Microsoft Update, or customers can download the security updates from Microsoft Download Center and apply them manually.

Security updates
13.0.7095.1 — https://support.microsoft.com/help/5102339
15.0.2180.2 — https://support.microsoft.com/help/5102336
16.0.1190.2 — https://support.microsoft.com/help/5102334
14.0.3540.1 — https://support.microsoft.com/help/5102337
15.0.4480.2 — https://support.microsoft.com/help/5096773
16.0.4262.2 — https://support.microsoft.com/help/5101347
17.0.1125.2 — https://support.microsoft.com/help/5102333
17.0.4060.2 — https://support.microsoft.com/help/5101346
13.0.6500.1 — https://support.microsoft.com/help/5102340
14.0.2120.1 — https://support.microsoft.com/help/5102338

Vulnerabilities 1

Revision history

  1. #2

    The CVSS vector string was update to reflect that an attacker does not require any privileges to successfully exploit this vulnerability (PR:N). This is an informational change only.

  2. #1

    Information published.

References