What’s Vulnerable › Vulnerabilities
CVE-2025-59499: Microsoft SQL Server Elevation of Privilege Vulnerability
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-11-11 · updated 2026-06-17
- Weakness: CWE-89
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.
Affected products
- Microsoft Sql Server 2016: from 13.0.6300.2 before 13.0.6475.1; from 13.0.7000.253 before 13.0.7070.1 — fixed in 13.0.6475.1, 13.0.7070.1
- Microsoft Sql Server 2017: from 14.0.1000.169 before 14.0.2095.1; from 14.0.3006.16 before 14.0.3515.1 — fixed in 14.0.2095.1, 14.0.3515.1
- Microsoft Sql Server 2019: from 15.0.2000.5 before 15.0.2155.2; from 15.0.4003.23 before 15.0.4455.2 — fixed in 15.0.2155.2, 15.0.4455.2
- Microsoft Sql Server 2022: from 16.0.1000.6 before 16.0.1160.1; from 16.0.4003.1 before 16.0.4222.2 — fixed in 16.0.1160.1, 16.0.4222.2
- Microsoft SQL Server 2016 Service Pack 3 Azure Connect Feature Pack: from 13.0.0 before 13.0.7070.1 — fixed in 13.0.7070.1
- Microsoft SQL Server 2016 Service Pack 3 (GDR): from 13.0.0 before 13.0.6475.1 — fixed in 13.0.6475.1
- Microsoft SQL Server 2017 (CU 31): from 14.0.0 before 14.0.3515.1 — fixed in 14.0.3515.1
- Microsoft SQL Server 2017 (GDR): from 14.0.0 before 14.0.2095.1 — fixed in 14.0.2095.1
- Microsoft SQL Server 2019 (CU 32): from 15.0.0.0 before 15.0.4455.2 — fixed in 15.0.4455.2
- Microsoft SQL Server 2019 (GDR): from 15.0.0 before 15.0.2155.2 — fixed in 15.0.2155.2
- Microsoft SQL Server 2022 (CU 21): from 16.0.0.0 before 16.0.4222.2 — fixed in 16.0.4222.2
- Microsoft SQL Server 2022 (GDR): from 16.0.0 before 16.0.1160.1 — fixed in 16.0.1160.1
How to fix
Upgrade to a fixed version: Microsoft Sql Server 2016 13.0.6475.1, 13.0.7070.1; Microsoft Sql Server 2017 14.0.2095.1, 14.0.3515.1; Microsoft Sql Server 2019 15.0.2155.2, 15.0.4455.2; Microsoft Sql Server 2022 16.0.1160.1, 16.0.4222.2; Microsoft SQL Server 2016 Service Pack 3 Azure Connect Feature Pack 13.0.7070.1; Microsoft SQL Server 2016 Service Pack 3 (GDR) 13.0.6475.1; Microsoft SQL Server 2017 (CU 31) 14.0.3515.1; Microsoft SQL Server 2017 (GDR) 14.0.2095.1; Microsoft SQL Server 2019 (CU 32) 15.0.4455.2; Microsoft SQL Server 2019 (GDR) 15.0.2155.2; Microsoft SQL Server 2022 (CU 21) 16.0.4222.2; Microsoft SQL Server 2022 (GDR) 16.0.1160.1. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2025-59499 or the next vulnerability affects your stack