PatchaPalooza

CVE-2026-47296: Microsoft SQL Server Elevation of Privilege Vulnerability

CVE-2026-47296 is an elevation of privilege vulnerability in Microsoft SQL Server, rated Important by Microsoft, with a CVSS 3.1 base score of 7.5 (High). An attacker can exploit it remotely over the network, with low privileges and without user interaction. Microsoft has not reported exploitation in the wild and rates exploitation as less likely. The EPSS model estimates a 0.64% probability of exploitation activity in the next 30 days, higher than 52% of all scored vulnerabilities. Microsoft released the fix on 14 July 2026 in the July 2026 Patch Tuesday, delivered through 10 security updates (KB5101347, KB5101346, KB5102338, KB5102336 and more). It affects 10 products in 1 product family (SQL Server).

Key facts

CVE ID
CVE-2026-47296
Severity
High CVSS 7.5
Microsoft severity
Important
Impact
Elevation of Privilege
Exploited in the wild
No
Publicly disclosed
No
Exploitation likelihood
Less Likely
Weakness
CWE-89
EPSS
0.64% (percentile 52%)
CISA KEV
Not listed
Released
Last updated
Patch Tuesday
July 2026 Patch Tuesday
Product families
SQL Server

CVSS score and vector

Microsoft scores CVE-2026-47296 at 7.5 (temporal 7.5) using CVSS 3.1. Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

MetricValue
Attack vectorNetwork
Attack complexityHigh
Privileges requiredLow
User interactionNone
ScopeUnchanged
Confidentiality impactHigh
Integrity impactHigh
Availability impactHigh

NVD scores it 7.8 (HIGH) with CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Description

Improper neutralization of special elements used in an sql command ('sql injection') in SQL Server allows an authorized attacker to elevate privileges over a network.

Frequently asked questions (Microsoft)

What privileges could be gained by an attacker who successfully exploited the vulnerability?

An attacker who successfully exploited this vulnerability could gain sysadmin privileges.

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.

There are GDR and/or CU (Cumulative Update) updates offered for my version of SQL Server. How do I know which update to use?

  • 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.

Note If your SQL Server version number is not represented in the table below, your SQL Server version is no longer supported. Please upgrade to the latest Service Pack or SQL Server product to apply this and future security updates.

Update Number

Title

Version

Apply if current product version is…

This security update also includes servicing releases up through…

5101346

Security update for SQL Server 2025 CU6+GDR

17.0.4060.2

17.0.4006.2 - 17.0.4055.5

KB5093421 - Previous SQL2025 RTM CU6

5102333

Security update for SQL Server 2025 RTM+GDR

17.0.1125.2

17.0.1000.7 - 17.0.1115.1

KB5091223 - Previous SQL2025 RTM GDR

5101347

Security update for SQL Server 2022 CU25+GDR

16.0.4262.2

16.0.4003.1 - 16.0.4255.1

KB5081477 - Previous SQL2022 RTM CU25

5102334

Security update for SQL Server 2022 RTM+GDR

16.0.1190.2

16.0.1000.6 - 16.0.1180.1

KB5091158 - Previous SQL2022 RTM GDR

5102335

Security update for SQL Server 2019 CU32+GDR

15.0.4480.2

15.0.4003.23 - 15.0.4470.1

KB5090407 - Previous SQL2019 RTM CU32 GDR

5102336

Security update for SQL Server 2019 RTM+GDR

15.0.2180.2

15.0.2000.5 - 15.0.2170.1

KB 5090408 - Previous SQL2019 RTM GDR

5102337

Security update for SQL Server 2017 CU31+GDR

14.0.3540.1

14.0.3006.16 - 14.0.3530.2

KB 5090354 - Previous SQL2017 RTM CU31 GDR

5102338

Security update for SQL Server 2017 RTM+GDR

14.0.2120.1

14.0.1000.169 - 14.0.2110.2

KB 5090347 - Previous SQL2017 RTM GDR

5102339

Security update for SQL Server 2016 Azure Connect Feature Pack+GDR

13.0.7095.1

13.0.7000.253 - 13.0.7085.1

KB 5089270 - Previous SQL2016 Azure Connect Feature Pack GDR

5102340

Security update for SQL Server 2016 SP3+GDR

13.0.6500.1

13.0.6300.2 - 13.0.6490.1

KB 5089271 - Previous SQL2016 RTM GDR

What are the GDR and CU update designations and how do they differ?

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.

Note: You are allowed to make a change from GDR updates to CU updates ONE TIME. Once a SQL Server CU update is applied to a SQL Server installation, there is NO way to go back to the GDR update path.

Can the security updates be applied to SQL Server instances on Windows Azure (IaaS)?

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.

What privileges could be gained by an attacker who successfully exploited the vulnerability?

An attacker who successfully exploited this vulnerability could gain SQL sysadmin privileges.

According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability?

Successful exploitation of this vulnerability requires an attacker to coordinate an attack with another privileged process executed by another user in the system.

Affected products (10)

SQL Server

ProductSecurity updateTypeFixed buildRestart
Microsoft SQL Server 2022 for x64-based Systems (CU 25)KB5101347Security Update16.0.4262.2Maybe
Microsoft SQL Server 2025 for x64-based Systems (CU6)KB5101346Security Update17.0.4060.2Maybe
Microsoft SQL Server 2017 for x64-based Systems (GDR)KB5102338Security Update14.0.2120.1Maybe
Microsoft SQL Server 2019 for x64-based Systems (GDR)KB5102336Security Update15.0.2180.2Maybe
Microsoft SQL Server 2016 for x64-based Systems Service Pack 3 (GDR)KB5102340Security Update13.0.6500.1Maybe
Microsoft SQL Server 2016 for x64-based Systems Service Pack 3 Azure Connect Feature PackKB5102339Security Update13.0.7095.1Maybe
Microsoft SQL Server 2017 for x64-based Systems (CU 31)KB5102337Security Update14.0.3540.1Maybe
Microsoft SQL Server 2022 for x64-based Systems (GDR)KB5102334Security Update16.0.1190.2Maybe
Microsoft SQL Server 2025 for x64-based Systems (GDR)KB5102333Security Update17.0.1125.2Maybe
Microsoft SQL Server 2019 for x64-based Systems (CU 32)KB5102335Security Update15.0.4480.2Maybe

Security updates (10)

NIST NVD data

NVD status
Analyzed
NVD CVSS
7.8 (HIGH)
NVD weakness
CWE-89
Published to NVD
NVD last modified

Affected configurations (CPE)

ProductVulnerable versions
sql server 2016 (x64)from 13.0.6300.2, before 13.0.6500.1
sql server 2016 (x64)from 13.0.7000.253, before 13.0.7095.1
sql server 2017 (x64)from 14.0.1000.169, before 14.0.2120.1
sql server 2017 (x64)from 14.0.3006.16, before 14.0.3540.1
sql server 2019 (x64)from 15.0.2000.5, before 15.0.2180.2
sql server 2019 (x64)from 15.0.4003.23, before 15.0.4480.2
sql server 2022 (x64)from 16.0.1000.6, before 16.0.1190.2
sql server 2022 (x64)from 16.0.4003.1, before 16.0.4262.2
sql server 2025 (x64)from 17.0.1000.7, before 17.0.1125.2
sql server 2025 (x64)from 17.0.4006.2, before 17.0.4060.2

References

Acknowledgments

  • Sharath Unni

Revision history

VersionDateDescription
1.0Information published.

Sources