CVE-2026-118112: Code Injection Leading to Privilege Escalation in Microsoft SQL Server
- Vendor
- Microsoft Corporation
CVE-2026-118112 is a code-injection vulnerability in Microsoft SQL Server 2017, 2019, 2022, and 2025. Improper control of code generation allows an authenticated attacker with permission to create or modify database objects to prepare malicious database content. When a separate administrator performs an affected administrative operation on that content, attacker-controlled database commands can execute with elevated privileges. The specific vulnerable function and administrative operation are not identified. Microsoft rates the vulnerability Important, with a CVSS v3.1 base score of 8.0.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation permits privilege escalation through execution of database commands with elevated privileges and can have high confidentiality, integrity, and availability impacts. Operating-system-level code execution is not established.
Mitigation
If you can’t patch tonight, do this now.
No vulnerability-specific interim workaround is specified. Apply the applicable security update.
Remediation
Patch, then assume compromise.
Install the applicable November 2026 security update for the installed SQL Server version and servicing branch: SQL Server 2017 CU—KB5132746 (14.0.3570.2), or RTM/GDR—KB5132749 (14.0.2150.2); SQL Server 2019 CU—KB5132745 (15.0.4510.2), or RTM/GDR—KB5132751 (15.0.2210.4); SQL Server 2022 CU—KB5129300 (16.0.4315.2), or RTM/GDR—KB5132747 (16.0.1220.3); SQL Server 2025 CU—KB5129299 (17.0.5045.3), or RTM/GDR—KB5132748 (17.0.1155.3). A later applicable release containing the fix may also be used. Confirm the installed servicing branch and update prerequisites before deployment.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2026-118112 exploited in the wild?
- As of Nov 14, 2026, Mallory has no reports of CVE-2026-118112 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-118112?
- As of Nov 14, 2026, Mallory has found no public exploit for CVE-2026-118112.
- Is there a patch for CVE-2026-118112?
- Install the applicable November 2026 security update for the installed SQL Server version and servicing branch: SQL Server 2017 CU—KB5132746 (14.0.3570.2), or RTM/GDR—KB5132749 (14.0.2150.2); SQL Server 2019 CU—KB5132745 (15.0.4510.2), or RTM/GDR—KB5132751 (15.0.2210.4); SQL Server 2022 CU—KB5129300 (16.0.4315.2), or RTM/GDR—KB5132747 (16.0.1220.3); SQL Server 2025 CU—KB5129299 (17.0.5045.3), or RTM/GDR—KB5132748 (17.0.1155.3). A later applicable release containing the fix may also be used.
- What products are affected by CVE-2026-118112?
- Microsoft Corporation Sql Server 2017, Microsoft Corporation Microsoft Sql Server 2017 For X64-Based Systems (Cu31), Microsoft Corporation Microsoft Sql Server 2019 For X64-Based Systems (Cu32), Microsoft Corporation Microsoft Sql Server 2022 For X64-Based Systems (Cu27), Microsoft Corporation Sql Server 2019, and 3 more.
- How severe is CVE-2026-118112?
- CVE-2026-118112 has a CVSS v3.1 score of 8.0 (High) and an EPSS score of 0.92% (61st percentile) as of Nov 14, 2026.
Recent activity
32 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.