CVE-2025-24999: Microsoft SQL Server Elevation of Privilege Vulnerability

Overview

Severity
High (CVSS 8.8)
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
Category
Elevation of Privilege
Exploit Status
Not Exploited
Exploitation Likelihood
Less Likely
Patch Tuesday
2025-Aug
Released
2025-08-12
EPSS Score
0.14% (percentile: 34.6%)

Description

Improper access control in SQL Server allows an authorized attacker to elevate privileges over a network.

FAQ

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. 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… 5063814 Security update for SQL Server 2022 CU20+GDR 16.0.4210.1 16.0.4003.1 - 16.0.4205.1 KB 5059390 - SQL2022 RTM CU20 5063756 Security update for SQL Server 2022 RTM+GDR 16.0.1145.1 16.0.1000.6 - 16.0.1140.6 KB 5058712 - Previous SQL2022 RTM GDR 5063757 Security update for SQL Server 2019 CU32+GDR 15.0.4440.1 15.0.4003.23 - 15.0.4435.7 KB 5058722 - Previous SQL2019 RTM CU32 GDR 5063758 Security update for SQL Server 2019 RTM+GDR 15.0.2140.1 15.0.2000.5 - 15.0.2135.5 KB 5058713 - Previo

Detection & Weaponization (1 sources)

Maturity: Exploit

  • GitHub PoC: 1 repositories

Affected Products (8)

SQL Server

  • Microsoft SQL Server 2017 for x64-based Systems (GDR)
  • Microsoft SQL Server 2019 for x64-based Systems (GDR)
  • Microsoft SQL Server 2016 for x64-based Systems Service Pack 3 (GDR)
  • Microsoft SQL Server 2016 for x64-based Systems Service Pack 3 Azure Connect Feature Pack
  • Microsoft SQL Server 2017 for x64-based Systems (CU 31)
  • Microsoft SQL Server 2022 for x64-based Systems (GDR)
  • Microsoft SQL Server 2019 for x64-based Systems (CU 32)
  • Microsoft SQL Server 2022 for x64-based Systems (CU 20)

Security Updates (8)

Acknowledgments

<a href="https://sa.linkedin.com/in/emad-al-mousa-6462aa24">Emad Al-Mousa</a>

Revision History

  • 2025-08-12: Information published.