CVE-2026-118112

Microsoft SQL Server Elevation of Privilege Vulnerability

Published Nov 10, 2026 CVSS 3.1 · 8 High EPSS < 1% KEV · Not listed
Description
Improper control of generation of code ('code injection') in SQL Server allows an authorized attacker to elevate privileges over a network.

Analysis

AI-generated

Technical impact

Improper control of code generation allows an authorized attacker to inject malicious code that runs with higher privileges on the database host, thereby granting administrative authority over the server.

Affected Systems

Microsoft SQL Server 2017 (GDR) and 2017 for x64-based Systems (CU31), Microsoft SQL Server 2019 (GDR) and 2019 for x64-based Systems (CU32), Microsoft SQL Server 2022 (GDR) and 2022 for x64-based Systems (CU27), Microsoft SQL Server 2025 CU10 and 2025 for x64-based Systems (GDR).

Risk and Exploitability

The CVSS score of 8.0 indicates high severity, but the EPSS score of less than 1% suggests a low likelihood of exploitation at present. The flaw is not listed in the CISA KEV catalog, meaning no confirmed active exploits are known. The most probable attack requires an authenticated user with network access to the vulnerable SQL Server instance; the attacker would then inject code that escalates privileges on the host.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest cumulative update from Microsoft that addresses the code injection flaw in the affected SQL Server versions.
  • Restrict inbound connections to the SQL Server instances to only trusted networks or VPN endpoints, limiting access to authorized administrators.
  • Enforce the principle of least privilege for database accounts, removing unnecessary permissions from accounts exposed to application-level traffic.

Generated by OpenCVE AI on November 13, 2026 at 06:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:microsoft:sql_server_2017:*:*:*:*:*:*:x64:*
Type Values Removed Values Added
First Time appeared Microsoft microsoft Sql Server 2025 For X64-based Systems (gdr)
Vendors & Products Microsoft microsoft Sql Server 2025 For X64-based Systems (gdr)
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Improper control of generation of code ('code injection') in SQL Server allows an authorized attacker to elevate privileges over a network.
Title Microsoft SQL Server Elevation of Privilege Vulnerability
First Time appeared Microsoft
Microsoft microsoft Sql Server 2017 For X64-based Systems \(cu31\)
Microsoft microsoft Sql Server 2019 For X64-based Systems \(cu32\)
Microsoft microsoft Sql Server 2022 For X64-based Systems \(cu27\)
Microsoft sql Server 2017
Microsoft sql Server 2019
Microsoft sql Server 2022
Microsoft sql Server 2025
Microsoft sql Server 2025 For X64-based Systems Cu10
Weaknesses CWE-94
CPEs cpe:2.3:a:microsoft:microsoft_sql_server_2017_for_x64-based_systems_\(cu31\):*:*:*:*:*:*:*:*
cpe:2.3:a:microsoft:microsoft_sql_server_2019_for_x64-based_systems_\(cu32\):*:*:*:*:*:*:*:*
cpe:2.3:a:microsoft:microsoft_sql_server_2022_for_x64-based_systems_\(cu27\):*:*:*:*:*:*:*:*
cpe:2.3:a:microsoft:sql_server_2017:*:-:*:*:*:*:x64:*
cpe:2.3:a:microsoft:sql_server_2019:*:*:*:*:*:*:x64:*
cpe:2.3:a:microsoft:sql_server_2022:*:*:*:*:*:*:x64:*
cpe:2.3:a:microsoft:sql_server_2025:*:*:*:*:*:*:x64:*
cpe:2.3:a:microsoft:sql_server_2025_for_x64-based_systems_cu10:*:*:*:*:*:*:*:*
Vendors & Products Microsoft
Microsoft microsoft Sql Server 2017 For X64-based Systems \(cu31\)
Microsoft microsoft Sql Server 2019 For X64-based Systems \(cu32\)
Microsoft microsoft Sql Server 2022 For X64-based Systems \(cu27\)
Microsoft sql Server 2017
Microsoft sql Server 2019
Microsoft sql Server 2022
Microsoft sql Server 2025
Microsoft sql Server 2025 For X64-based Systems Cu10
References
Metrics cvssV3_1

{'score': 8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C'}