Microsoft SQL Server: Elevation of privilege via SQL injection
Summary
Microsoft SQL Server 2017, 2019, 2022 and 2025 contains a flaw classified as SQL injection (CWE-89) that allows an authorized, low-privileged attacker to elevate privileges locally on the database host. Exploitation requires local access and has high attack complexity. Microsoft's CVE record and the CISA SSVC assessment show no known exploitation, and no public proof of concept was found.
Affected
- SQL Server 2017 GDR: 14.0.0 to before 14.0.2150.2
- SQL Server 2017 CU31 (x64): 14.0.3006.16 to before 14.0.3570.2
- SQL Server 2019 GDR: 15.0.0 to before 15.0.2210.4
- SQL Server 2019 CU32 (x64): 15.0.4003.23 to before 15.0.4510.2
- SQL Server 2022 GDR: 16.0.0 to before 16.0.1220.3
- SQL Server 2022 CU27 (x64): 16.0.4003.1 to before 16.0.4315.2
- SQL Server 2025 CU10: 17.0.4006.0 to before 17.0.5045.3
- SQL Server 2025 GDR (x64): 17.0.1050.2 to before 17.0.1155.3
Fixed in
- SQL Server 2017 GDR: build 14.0.2150.2 (KB5132749, verify in full article)
- SQL Server 2017 CU31: build 14.0.3570.2 (KB number unknown)
- SQL Server 2019 GDR: build 15.0.2210.4 (KB5132751)
- SQL Server 2019 CU32 GDR: build 15.0.4510.2 (KB5132745)
- SQL Server 2022 GDR: build 16.0.1220.3 (KB5132747)
- SQL Server 2022 CU27 GDR2: build 16.0.4315.2 (KB5129300)
- SQL Server 2025 CU10 GDR: build 17.0.5045.3 (KB5129299)
- SQL Server 2025 GDR: build 17.0.1155.3 (KB5132748)
Workaround
Unknown. No vendor-documented workaround was found; patching is the available remedy. Merge replication may be relevant to the fix area, but this is unconfirmed.
Exploitation
- No evidence of exploitation in the wild found.
- CISA SSVC: exploitation none, not automatable, total technical impact.
- CVSS temporal exploit maturity: Unproven (E:U).
- No public proof of concept found; this is not confirmed absent.
- NVD status at publication: Awaiting Analysis.
Our recommendation
- Inventory all SQL Server instances and their builds.
- Apply the November 2026 GDR or CU for each branch as part of the normal maintenance cycle.
- Review accounts with low-privilege database access and remove unneeded rights.
- Check whether merge replication is enabled and verify the fix against the full Microsoft KB article.
- Re-check the MSRC advisory before finalising the client report.
Information from Microsoft (Patch Tuesday November 2026)
Public exploits
PoC-in-GitHub, Metasploit and Exploit-DB list nothing for this CVE.
Research sources
- Microsoft Security Update Guide: CVE-2026-118116 msrc.microsoft.com
- CVE Record CVE-2026-118116 www.cve.org
- KB5132751 SQL Server 2019 GDR (November 2026) support.microsoft.com
- KB5132748 SQL Server 2025 GDR (November 2026) support.microsoft.com
- KB5132747 SQL Server 2022 GDR (November 2026) support.microsoft.com
- KB5129299 SQL Server 2025 CU10 GDR (November 2026) support.microsoft.com
- KB5132749 SQL Server 2017 GDR (November 2026) support.microsoft.com
- CVE-2026-118116 on cve.threatint.com cve.threatint.com
Researched and written up in English and German by an AI (Claude by Anthropic) based on NVD, CISA, EPSS and the sources listed. The vendor information is authoritative. Researched on 11 Nov 2026, 08:56.
Original description (NVD)
Improper neutralization of special elements used in an sql command ('sql injection') in SQL Server allows an authorized attacker to elevate privileges locally.
NVD references (1)
Sources
The tracker combines official, freely usable data sources – updated continuously:
- NVD (NIST) – CVEs, rating (CVSS), affected products
- CISA KEV – vulnerabilities confirmed by CISA as actively exploited
- CISA Vulnrichment – CISA assessment (SSVC) in the official CVE record
- FIRST EPSS – probability of exploitation
- Microsoft MSRC – Patch Tuesday: vulnerabilities, severity, updates
- PoC-in-GitHub – public proof-of-concept repositories
- Metasploit (Rapid7) – modules of the Metasploit Framework
- Exploit-DB (OffSec) – archive of public exploits (links only)
- Patch days: official vendor pages (linked per vendor) (Vendor patch days)
This product uses data from the NVD API but is not endorsed or certified by the NVD. EPSS data © FIRST.org.
Affected? We can help.
We check whether your systems are affected, install updates and close the gap – continuously with the System Health Checker if you wish.
