CVE-2026-118116 — Microsoft SQL Server 2017 (GDR)
One of 40 Microsoft SQL Server 2017 (GDR) vulnerabilities published together by NVD: our article covers all of them.
MicrosoftWebDatabasesVulnerabilitiesResearch article
Microsoft SQL Server Elevation of Privilege via SQL Injection (CVE-2026-118116, CVSS 3.1 7.0)
| CVE | CVE-2026-118116 |
|---|---|
| Vendor and product | Microsoft SQL Server 2017 (GDR); Microsoft SQL Server 2017 for x64-based Systems (CU31); Microsoft SQL Server 2019 (GDR) |
| Published | November 12, 2026 07:10 UTC |
| Research cut-off | November 12, 2026 05:50 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-11-10); CISA KEV catalog; 1 vendor bulletin |
Executive summary
CVE-2026-118116 is a local elevation-of-privilege flaw in Microsoft SQL Server, classified as SQL injection (CWE-89) [1]. The only CVSS score in the pack is 7.0 (High) under CVSS 3.1 with vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, supplied by secure@microsoft.com and labelled Secondary [1]. The vendor's CVE record lists affected builds across SQL Server 2017, 2019, 2022 and 2025 in GDR and CU branches, with a fixed build for each branch [1]. Per the vector, exploitation requires local access, low privileges, no user interaction and high attack complexity [1]; the pack does not establish how the attacker reaches the vulnerable code path. The record is still Awaiting Analysis, and the CISA KEV catalog did not list the CVE as of 2026-11-12, which does not show that it has not been exploited [1, 2]. The most important immediate action is to inventory every SQL Server instance, compare its build with the fixed version for its branch, and apply the vendor fix to affected instances [1, 3].
Key points
- CVE-2026-118116 is a SQL injection (CWE-89) flaw in Microsoft SQL Server that allows an authorized local user to elevate privileges [1, 3].
- The only CVSS score is 7.0 (High), CVSS 3.1, vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, scored by secure@microsoft.com (Secondary) [1].
- Vendor records list affected builds for SQL Server 2017, 2019, 2022 and 2025 across GDR and CU branches, each with a fixed build [1].
- The CVE is not in the CISA KEV catalog as of 2026-11-12, and the pack shows no confirmed exploitation or public proof of concept; the absence of KEV listing does not prove no exploitation [1, 2, 3].
- No workaround, root-cause write-up or indicators of compromise are in the pack; the record is Awaiting Analysis [1, 3].
- The priority action is to match each SQL Server instance's build to its branch and apply the fixed build, while restricting local logon and database permissions as an interim measure [1, 3].
Vulnerability identification
| Field | Value | Source |
|---|---|---|
| CVE ID | CVE-2026-118116 | [1] |
| Vendor | Microsoft | [1, 3] |
| Product | Microsoft SQL Server (GDR and CU servicing branches, including x64-based variants) | [1] |
| Component | Not established by the reviewed sources beyond the SQL Server database engine | [1, 3] |
| Affected platform | Windows-based SQL Server builds listed by name in the record; the pack does not confirm other platforms | [1] |
| Published | 2026-11-10T19:19:30 | [1] |
| Last modified | 2026-11-10T20:18:11 | [1] |
| Record status | Awaiting Analysis (NVD analysis not yet complete) | [1] |
| CWE | CWE-89, SQL Injection (weakness class: input that alters the structure of a SQL statement) | [1] |
| CVSS 3.1 base score | 7.0, High | [1] |
| CVSS vector | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | [1] |
| Scorer | secure@microsoft.com, labelled Secondary in the NVD record | [1] |
| Other scores | None in the pack (no CVSS v2 or v4 entries) | [1] |
| Related identifiers | MSRC update guide entry for the CVE; no advisory, bug or KB identifiers appear in the pack | [1, 3] |
The pack contains one CVSS score, so there is no cross-source score conflict to resolve. Because the NVD record is awaiting analysis, the score and CWE mapping should be treated as provisional until NVD completes its review [1].
Technical background
Microsoft SQL Server is a relational database engine. It accepts Transact-SQL statements from clients, parses and compiles them, checks permissions, and runs them against stored data. Statements run under the security context of the login or user session that submits them, and some server-side objects, such as stored procedures and scheduled jobs, can run under a different security context.
SQL injection is a class of weakness in which untrusted input is combined into SQL text so that the database interprets part of the input as SQL syntax rather than as data. The standard defence is to keep SQL structure fixed in code and pass data values as typed parameters. CWE-89 is the weakness identifier for this class [1].
Elevation of privilege (EoP) means a principal gains rights beyond those it was granted. A local EoP requires the attacker to already have some access to the host or service, and the attacker then gains rights they would not normally hold there [1]. The CVSS terms used here are defined as follows: AV:L means the attack vector is local; AC:H means the attack complexity is high (specific conditions beyond the attacker's control must exist); PR:L means the attacker needs low privileges; UI:N means no user interaction is required; S:U means the scope is unchanged, so the impact stays within the vulnerable component's security authority; C, I and A are the confidentiality, integrity and availability impacts, each rated High [1].
Vulnerability description
The NVD record and the vendor summary classify the flaw as SQL injection in SQL Server that allows a user with valid access to raise their privileges on the local system [1, 3]. The security property violated is the separation between what an authenticated principal is authorized to do and what the database engine executes on its behalf, which is an authorization (privilege boundary) failure [1].
What an attacker can cause, according to the record, is an increase in privilege on the local system [1]. The vector also rates confidentiality, integrity and availability as High, which describes the worst-case impact the scoring assumes, not a demonstrated outcome [1].
Conditions that must exist for the flaw to matter, per the vector, include local access, a valid low-privilege account, and a high-complexity condition that the record does not describe [1]. The pack does not establish which SQL Server feature, query path or configuration is involved. It also does not establish whether the flaw can be reached over the network, through a remote connection, or only from a local session. The record and vector indicate that it is not reachable without local access [1].
What the pack does not establish: the specific component, the trigger input, whether a stored procedure or other privileged execution context is involved, whether any particular configuration is required, and whether any public proof of concept exists.
Root cause analysis
Confirmed: The vendor and NVD classify the weakness as SQL injection, CWE-89 [1, 3]. This describes the class of error, namely untrusted input being incorporated into SQL statement structure.
Not established by the reviewed sources: the specific code path, the function or stored procedure involved, the input source, and the reason the input reached SQL text unparameterized. The pack contains no root-cause write-up from the vendor and no analyst report [1, 3].
Analyst assessment: The record links a SQL injection weakness to a privilege increase, which suggests the injected SQL was executed in a security context with more rights than the caller held. This is an inference from the combination of CWE-89 and the local privilege-escalation description, not a statement from any source. Possible explanations include a privileged internal execution context or a component that trusts caller-supplied text. Neither is confirmed.
Why existing controls may fail (Analyst assessment): Parameterization, least-privilege database roles and restricted execution contexts are the usual controls against this class. A failure in any one of them could allow the outcome described in the record. The pack does not say which control was missing or bypassed.
Technical mechanics
The following flow is Illustrative. It is a conceptual model of the weakness class described in the record, not a description of the vendor's code. The pack does not describe the actual sequence.
- A principal with a valid low-privilege session causes the server to process input that reaches a SQL statement (Illustrative).
- Input is combined into SQL text rather than being bound as a typed parameter, so the input can alter statement structure (Illustrative; consistent with CWE-89 [1]).
- The database engine parses and runs the resulting statement under an execution context that holds more privileges than the caller (Illustrative; consistent with the local EoP description [1]).
- The statement performs an action the caller was not authorized to perform, which is the privilege boundary crossing (Illustrative).
- Controls that should have stopped the chain: parameterized queries at the point where input enters SQL text; least-privilege execution contexts so that even a successful injection cannot exceed the caller's rights; and permission checks on privileged operations (Analyst assessment; the pack does not state which control failed).
Authentication: the vector requires low privileges, so the attacker must authenticate to the host or database engine [1]. Authorization: the flaw is described as a privilege increase, so the authorization check that should limit the caller is the one bypassed [1]. Parsing and state management details: not established by the reviewed sources.
Attack surface and exploitation prerequisites
| Prerequisite | Status | Basis |
|---|---|---|
| Network access | Not required by the vector; not a remote-exploitation issue | Vector AV:L [1] |
| Adjacent-network access | Not indicated | Vector AV:L [1] |
| Local access | Required | Vector AV:L and record description [1] |
| Physical access | Not indicated by the pack | Not established by the reviewed sources |
| Authentication | Low-privilege valid account required | Vector PR:L and record description of an authorized attacker [1] |
| User interaction | None required | Vector UI:N [1] |
| Attack complexity | High; specific conditions must exist | Vector AC:H [1] |
| Required configuration or feature | Not established by the reviewed sources | No configuration detail in the pack |
| Attacker position and reachable interfaces | A process or session on the host with valid access, as the record describes | Record description [1] |
| Dependencies and limitations | The conditions behind the high complexity rating are not described | Not established by the reviewed sources |
The authentication and local-access prerequisites come from both the vector and the record's wording. The high-complexity and configuration prerequisites come only from the vector and are not described further in the pack. Exploitability should not be inferred from the vector alone.
Exploitation scenarios and attack lifecycle
No source in the pack documents an exploitation chain. The following scenarios are Illustrative and are intended for defensive planning.
Scenario A (Illustrative): A low-privilege user on a shared SQL Server host, or a compromised low-privilege service account, uses a local interface to reach the vulnerable path and gains rights above their own. Defensive opportunities: restrict which accounts can log on interactively to the database host; audit SQL Server login and permission changes; review which accounts can run application features that build dynamic SQL.
Scenario B (Illustrative): An application account with database access but no administrative rights is used as the starting point. The application's own query construction may be the entry point. Defensive opportunities: review application code for dynamic SQL built from input, use parameterized queries, and reduce the application account's permissions.
Lifecycle stages that the pack does not document: initial access, the exact exploitation step, post-exploitation actions, and persistence. Any description of those steps would be speculation. The vendor's fix and the detection controls in the sections below apply regardless of the path taken.
Impact analysis
| Area | Technically demonstrated by the sources | Scored or plausible impact | Source |
|---|---|---|---|
| Confidentiality | None demonstrated | Scored High (C:H) | [1] |
| Integrity | None demonstrated | Scored High (I:H) | [1] |
| Availability | None demonstrated | Scored High (A:H) | [1] |
| Authentication | Not established | Not established | [1] |
| Authorization and privilege boundaries | The record describes a local privilege increase | Consequences depend on the rights the escalated context holds; not established | [1] |
| Data and privacy | Not established | Depends on data stored in affected databases; not established | None in pack |
| Business operations | Not established | Not established | None in pack |
| Regulatory or contractual obligations | Not established | Depends on the organization's data classification; not established | None in pack |
The three High impact ratings are part of the CVSS scoring and do not indicate that such impacts have been observed [1]. Downstream consequences depend on what the affected instance hosts, which the pack does not describe.
Affected products and versions
The vendor's CVE record lists the following ranges. Each affected range is shown with its lower bound (at or above) and upper bound (below), and the fixed version is the build that closes it [1].
| Product and branch | Affected versions (at or above, below) | Fixed version | Source and qualification |
|---|---|---|---|
| SQL Server 2017 (GDR) | 14.0.0 to below 14.0.2150.2 | 14.0.2150.2 | [1] vendor CVE record |
| SQL Server 2017 for x64-based Systems (CU31) | 14.0.3006.16 to below 14.0.3570.2 | 14.0.3570.2 | [1] vendor CVE record |
| SQL Server 2019 (GDR) | 15.0.0 to below 15.0.2210.4 | 15.0.2210.4 | [1] vendor CVE record |
| SQL Server 2019 for x64-based Systems (CU32) | 15.0.4003.23 to below 15.0.4510.2 | 15.0.4510.2 | [1] vendor CVE record |
| SQL Server 2022 (GDR) | 16.0.0 to below 16.0.1220.3 | 16.0.1220.3 | [1] vendor CVE record |
| SQL Server 2022 for x64-based Systems (CU27) | 16.0.4003.1 to below 16.0.4315.2 | 16.0.4315.2 | [1] vendor CVE record |
| SQL Server 2025 CU10 | 17.0.4006.0 to below 17.0.5045.3 | 17.0.5045.3 | [1] vendor CVE record |
| SQL Server 2025 for x64-based Systems (GDR) | 17.0.1050.2 to below 17.0.1155.3 | 17.0.1155.3 | [1] vendor CVE record |
Qualifications:
- The ranges come from the CVE record, which is the CVE Numbering Authority's data as mirrored by NVD [1]. The MSRC update guide page is referenced [1, 3], but its contents were not extracted into the pack, so the ranges could not be cross-checked against the vendor page.
- Builds below the listed lower bounds, other editions, other platforms and deployments such as cloud-managed offerings are not addressed by the pack. Whether they are affected is not established by the reviewed sources.
- Installations on a branch not listed should not be assumed safe or vulnerable without the vendor's confirmation.
- The entries name some branches with x64-based variants and others without. The pack does not explain the naming difference, so administrators should match each instance to the closest listed branch and confirm against the MSRC page.
Exploitation and threat intelligence status
| Evidence type | Status | Source and date |
|---|---|---|
| Confirmed exploitation in the wild | Not established by the reviewed sources | [1, 2] |
| CISA KEV listing | Not listed as of 2026-11-12 | [2] |
| Public proof of concept | Not established by the reviewed sources; none referenced | [1, 3] |
| Vendor-reported exploitation | Not stated in the pack | [3] |
| Threat actor, campaign or sector attribution | Not established by the reviewed sources | None in pack |
| EPSS probability | Not included in the pack | None in pack |
| Theoretical exploitability | Described by the CVSS vector; the vector is not proof of exploitation | [1] |
The absence of a KEV listing is not evidence that exploitation has not occurred [2]. The record is awaiting NVD analysis, so later updates may add exploitation or reference information [1].
Indicators of compromise
No indicators of compromise (file hashes, file names, domains, IP addresses, URLs, process names, command lines or event IDs) are provided in the pack for this CVE [1, 2, 3]. This is not established by the reviewed sources, and no indicator should be invented or assumed. Any future indicators must be validated against the organization's own telemetry before blocking, because indicators go stale quickly.
Detection and exposure assessment
Asset inventory. Identify every host running SQL Server, including named instances, and record the exact build of each instance. Include servers that are not expected to be in production, such as developer or test hosts.
Version check. Connect to each instance with a read-only query and run SELECT SERVERPROPERTY('ProductVersion') as an example of standard product tooling. Prerequisites: a login with permission to connect to the instance. Expected output: a build string such as 16.0.xxxx.x, which should be compared with the affected and fixed ranges in the table above [1]. Limitations: the query reports the instance's build but not whether a host has other instances, whether a patch was applied to a different instance, or whether the vulnerable feature is in use. A version match alone is not proof of exploitability.
Configuration and feature checks. The pack does not identify a vulnerable feature or configuration, so no feature check can be specified from the sources. Not established by the reviewed sources.
Authenticated vulnerability scanning. The pack does not name a scanner plugin or check for this CVE. Not established by the reviewed sources.
Log and telemetry review. The pack does not identify log events for this CVE. Analyst assessment: reviewing SQL Server audit logs for changes in permissions or elevated actions by low-privilege accounts is a reasonable baseline, but the specific events and fields are not established by the reviewed sources.
Network and endpoint monitoring. Because the vector requires local access, network-level detection is unlikely to be effective [1]. Analyst assessment: endpoint monitoring of unexpected processes spawned by or connecting to SQL Server service accounts is a reasonable approach, but no source defines the expected pattern.
Immediate mitigation
No workaround or interim mitigation is published in the pack [1, 3]. The measures below follow from the vector's local-access and low-privilege prerequisites and from general SQL Server administration principles. They are Analyst assessment unless stated otherwise.
- Restrict local logon to SQL Server hosts to administrators and named operators. Protects against: a low-privilege local session being used as the starting point (follows from AV:L and PR:L [1]). Limitations: does not remove the vulnerability and may not stop a compromised service account. Side effects: may affect remote administration workflows. Verification: review the host's local logon rights and confirm that non-administrative accounts are not listed.
- Remove unnecessary database permissions and server roles from non-administrative logins and service accounts. Protects against: a low-privilege account gaining more rights than it needs (Analyst assessment). Limitations: does not block the injection path itself. Side effects: applications that rely on excessive permissions may fail. Verification: query the server and database role memberships and confirm they match the documented need.
- Increase audit coverage for permission changes and privileged actions on SQL Server instances. Protects against: undetected misuse (Analyst assessment). Limitations: does not prevent exploitation. Side effects: log volume increases. Verification: confirm the audit specification is active and events are reaching the central log store.
- Prioritize patching of internet-facing or multi-tenant SQL Server hosts, although the vector indicates local access is required [1]. Protects against: exposure in shared environments (Analyst assessment). Verification: track the build on each instance against the fixed version.
Permanent remediation
Vendor-confirmed fix: The vendor's CVE record gives a fixed build for each listed branch [1]. Apply the update that brings each instance to or above the fixed version for its branch:
- SQL Server 2017 (GDR): 14.0.2150.2 [1]
- SQL Server 2017 for x64-based Systems (CU31): 14.0.3570.2 [1]
- SQL Server 2019 (GDR): 15.0.2210.4 [1]
- SQL Server 2019 for x64-based Systems (CU32): 15.0.4510.2 [1]
- SQL Server 2022 (GDR): 16.0.1220.3 [1]
- SQL Server 2022 for x64-based Systems (CU27): 16.0.4315.2 [1]
- SQL Server 2025 CU10: 17.0.5045.3 [1]
- SQL Server 2025 for x64-based Systems (GDR): 17.0.1155.3 [1]
Prerequisites, dependencies, backup and rollback guidance, maintenance-window requirements, required post-update configuration changes, and whether a restart is needed are not established by the reviewed sources. Consult the MSRC update guide entry [3] for the update packages and the documentation for each release, and confirm these details before scheduling work.
Recommended hardening (Analyst assessment): take a verified backup before patching, test the update in a non-production environment that matches production, and record the rollback path for each instance.
Workarounds and compensating controls
No vendor workaround is published in the pack [1, 3]. The mitigations in the earlier section reduce the exposure created by the local and low-privilege prerequisites, but they do not remove the flaw. A compensating control is not equivalent to the fix, because the injection weakness remains in the product and could be reached through an account or path the control did not anticipate. Residual risk remains until every affected instance is at or above its fixed build [1].
Validation and verification
- Confirm the installed build on every instance with SELECT SERVERPROPERTY('ProductVersion') and compare it with the fixed version for its branch [1]. Record the instance name, host, build, date and operator.
- Confirm that the correct branch was matched, including the x64-based variants where listed [1]. Record any instance whose branch is unclear and confirm it with the MSRC entry [3].
- Confirm that the mitigations are still in effect: local logon rights, role memberships and audit configuration.
- Re-run the authenticated scanner or vendor check used in the organization, if it supports this CVE. Not established by the reviewed sources which checks are available.
- Review SQL Server error logs and service health for the period after patching, looking for unexpected failures. Expected behaviour is defined by the operator's baseline, which the pack does not provide.
- Record the evidence, owner, date and any exceptions. Do not conclude that a system is secure from a single check; the version check confirms only the build, not the absence of other issues.
Incident response
If exploitation is suspected: no indicator is provided in the pack, so suspicion must come from the organization's own telemetry or from the audit review described above.
- Triage and scope: identify the affected instance, the account involved and the time window, using SQL Server audit and error logs and host logs.
- Containment: restrict the suspected account and, if the evidence warrants, isolate the host according to the organization's incident response plan. Do not reboot or reimage the host before preserving evidence.
- Evidence preservation: capture the relevant logs and a memory or disk image under the organization's forensic procedure, and record the chain of custody.
- Investigation: review audit records for permission changes, unexpected logins and privileged actions. Specific events and fields are not established by the reviewed sources.
- Credential rotation: rotate passwords or secrets for accounts with plausible exposure if the evidence supports it (Analyst assessment).
- Eradication and patching: apply the fixed build for each affected branch [1].
- Recovery and monitoring: restore normal permissions only after verifying the patch, and monitor the audit trail for recurrence.
- Notification and reporting: follow the organization's legal and contractual obligations; these depend on the data involved and are not established by the pack.
- Lessons learned: record how the account gained access and whether the permission model contributed.
Security hardening and prevention
The following are Analyst assessment and defence-in-depth measures relevant to SQL injection and privilege escalation, not vendor-confirmed fixes.
- Application code review: find every place where SQL text is built from input, and replace concatenation with parameterized queries or stored procedures that bind typed parameters.
- Dynamic SQL review: where dynamic SQL is required, validate identifiers against an allow-list and bind values as parameters.
- Least privilege: assign application and service accounts only the permissions they need, and avoid server-level roles for routine work.
- Isolation: separate SQL Server hosts by sensitivity, and limit which accounts can log on locally.
- Logging and alerting: forward SQL Server audit logs to a central store and alert on permission changes by non-administrative accounts.
- Patch management: track SQL Server builds across all instances and set a time-bound target for applying vendor updates.
- Security testing: add regression tests that confirm parameterized queries are used in data access code paths.
Risk assessment
Technical severity: The vendor-supplied CVSS 3.1 score is 7.0 (High) with the vector listed above [1]. The score assumes High impact to confidentiality, integrity and availability, but the pack does not demonstrate those impacts.
Exposure and asset criticality: Local access is required [1]. Exposure is highest on shared or multi-user SQL Server hosts and on hosts holding sensitive data. The pack does not provide asset criticality data for any specific environment.
Prerequisites and attacker opportunity: The attacker must already hold a valid low-privilege account and encounter a high-complexity condition [1]. The likelihood of exploitation depends on who holds local access.
Evidence of exploitation: None in the pack. The CVE is not listed in KEV as of 2026-11-12 [2], and no public proof of concept is referenced [1, 3].
Business impact: Not established by the reviewed sources. It depends on the data and applications on each instance.
Existing controls and residual risk: Unknown; the pack does not describe the organization's controls. Residual risk remains until the fixed build is installed [1].
Recommended priority (Analyst assessment, not a CVSS score): Treat as high priority for SQL Server hosts that are shared, hold sensitive data, or allow broad local logon, and as a standard patch priority for hosts restricted to a small set of trusted administrators. Reassess when the NVD analysis completes, the MSRC entry is reviewed, or exploitation evidence appears.
Conclusion
CVE-2026-118116 is a SQL injection weakness (CWE-89) in Microsoft SQL Server that, according to the vendor and NVD records, lets a user with valid local access raise their privileges on the host [1, 3]. The vendor-supplied CVSS 3.1 score is 7.0 with a local, high-complexity, low-privilege vector [1]. Database administrators and system administrators should act first: inventory every instance, match each build to its branch, and apply the fixed build from the affected-versions table [1]. Until patched, restrict local logon and database permissions, and increase audit coverage [Analyst assessment]. Closure requires the installed build confirmed on every instance, the mitigations documented, the MSRC entry reviewed for prerequisites and restart requirements [3], and any exploitation evidence from the organization's own logs reviewed and recorded.
Remediation checklist
- Inventory every SQL Server host and instance, including non-production servers, and record each instance's build [1].
- Run SELECT SERVERPROPERTY('ProductVersion') on each instance (read-only; requires a login with connect permission) and compare the result with the affected range for its branch [1].
- Apply the fixed build for each branch: 14.0.2150.2 (2017 GDR), 14.0.3570.2 (2017 x64 CU31), 15.0.2210.4 (2019 GDR), 15.0.4510.2 (2019 x64 CU32), 16.0.1220.3 (2022 GDR), 16.0.4315.2 (2022 x64 CU27), 17.0.5045.3 (2025 CU10) and 17.0.1155.3 (2025 x64 GDR) [1].
- Before patching, verify backups and record the rollback path for each instance; the pack does not provide prerequisites or restart requirements, so confirm them in the MSRC entry [3].
- Restrict local interactive logon to SQL Server hosts to administrators and named operators, and verify the host's local logon rights afterwards (Analyst assessment; the vector requires local access [1]).
- Remove unnecessary server roles and database permissions from non-administrative logins and service accounts, and verify role memberships with a read-only query afterwards (Analyst assessment).
- Enable or confirm SQL Server audit coverage for permission changes and privileged actions, and verify events reach the central log store (Analyst assessment; no event IDs are given in the pack).
- Review application code for SQL text built from input and replace it with parameterized queries; verify with code review and regression tests (Analyst assessment).
- After patching, re-verify each instance's build, record owner and date, and reassess when NVD completes analysis or new exploitation evidence appears [1, 2].
Evidence gaps
- Root cause: the specific component, code path, input source and failed control are not described in any source; a vendor root-cause write-up or the MSRC advisory contents would settle this [1, 3].
- Complete affected range: the record lists lower bounds only for listed branches; earlier builds, other editions and non-Windows platforms are not addressed; the MSRC update guide page contents would confirm this [1, 3].
- Vendor advisory details: the MSRC page was referenced but its contents were not extracted, so prerequisites, restart requirements, rollback and update packages are unknown [3].
- NVD analysis: the record is Awaiting Analysis, so the CVSS score, CWE mapping and affected configuration may change; NVD's completed analysis would settle this [1].
- Exploitation evidence: no confirmed in-the-wild exploitation or threat actor attribution is in the pack; vendor exploitation flags, KEV updates and threat reports would address this [2, 3].
- Public proof of concept: none referenced; a review of public exploit references after the cut-off would settle this.
- EPSS probability: not included in the pack; the FIRST EPSS score would give a probability estimate.
- Indicators of compromise and log events: none provided; vendor detection guidance or a validated threat report would be needed.
- Workarounds: none published; a vendor workaround statement would be needed to confirm any interim mitigation.
- Configuration and feature prerequisites: the high-complexity condition in the vector is not described; the vendor documentation or analysis would be needed to identify the conditions.
References
- CVE-2026-118116 record. NIST National Vulnerability Database (NVD), 2026-11-10. https://nvd.nist.gov/vuln/detail/CVE-2026-118116. Accessed 2026-11-12.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-12. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-12.
- CVE-2026-118116 Microsoft SQL Server Elevation of Privilege Vulnerability. Microsoft MSRC, 2026-11-10. https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-118116. Accessed 2026-11-12.
Summary
Improper neutralization of special elements used in an sql command ('sql injection') in SQL Server allows an authorized attacker to elevate privileges locally.
Severity breakdown
High · 7.0
An attacker with a normal user account can exploit this with local access, without any user action, but only under specific conditions.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- high (only works under specific conditions)
- Login needed
- yes, a normal user account
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on confidentiality, integrity and availability
Weakness
- CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Microsoft SQL Server 2017 (GDR) | ≥ 14.0.0, < 14.0.2150.2 | 14.0.2150.2 |
| Microsoft SQL Server 2017 for x64-based Systems (CU31) | ≥ 14.0.3006.16, < 14.0.3570.2 | 14.0.3570.2 |
| Microsoft SQL Server 2019 (GDR) | ≥ 15.0.0, < 15.0.2210.4 | 15.0.2210.4 |
| Microsoft SQL Server 2019 for x64-based Systems (CU32) | ≥ 15.0.4003.23, < 15.0.4510.2 | 15.0.4510.2 |
| Microsoft SQL Server 2022 (GDR) | ≥ 16.0.0, < 16.0.1220.3 | 16.0.1220.3 |
| Microsoft SQL Server 2022 for x64-based Systems (CU27) | ≥ 16.0.4003.1, < 16.0.4315.2 | 16.0.4315.2 |
| Microsoft SQL Server 2025 CU10 | ≥ 17.0.4006.0, < 17.0.5045.3 | 17.0.5045.3 |
| Microsoft SQL Server 2025 for x64-based Systems (GDR) | ≥ 17.0.1050.2, < 17.0.1155.3 | 17.0.1155.3 |
References by type
Other references
Affected
- Microsoft SQL Server 2017 (GDR)
- Microsoft SQL Server 2017 for x64-based Systems (CU31)
- Microsoft SQL Server 2019 (GDR)
- Microsoft SQL Server 2019 for x64-based Systems (CU32)
- Microsoft SQL Server 2022 (GDR)
Frequently asked questions
What is CVE-2026-118116?
CVE-2026-118116 is a local elevation-of-privilege flaw in Microsoft SQL Server, classified as SQL injection (CWE-89). The only CVSS score in the pack is 7.0 (High) under CVSS 3.1 with vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, supplied by secure@microsoft.com and labelled Secondary. Weakness type: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (CWE-89).
How severe is CVE-2026-118116?
CVE-2026-118116 has a CVSS 3.1 base score of 7.0 (high), from the CNA (microsoft.com). An attacker with a normal user account can exploit this with local access, without any user action, but only under specific conditions.
Is CVE-2026-118116 being exploited?
Not as far as is known: CVE-2026-118116 is not in CISA's Known Exploited Vulnerabilities catalog as of November 28, 2026. EPSS estimates a 1.7% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-118116?
Microsoft SQL Server 2017 (GDR) ≥ 14.0.0, < 14.0.2150.2 (fixed in 14.0.2150.2); Microsoft SQL Server 2017 for x64-based Systems (CU31) ≥ 14.0.3006.16, < 14.0.3570.2 (fixed in 14.0.3570.2); Microsoft SQL Server 2019 (GDR) ≥ 15.0.0, < 15.0.2210.4 (fixed in 15.0.2210.4); Microsoft SQL Server 2019 for x64-based Systems (CU32) ≥ 15.0.4003.23, < 15.0.4510.2 (fixed in 15.0.4510.2); and more, listed on this page.
How do I fix CVE-2026-118116?
Inventory every SQL Server host and instance, including non-production servers, and record each instance's build. Run SELECT SERVERPROPERTY('ProductVersion') on each instance (read-only; requires a login with connect permission) and compare the result with the affected range for its branch. Apply the fixed build for each branch: 14.0.2150.2 (2017 GDR), 14.0.3570.2 (2017 x64 CU31), 15.0.2210.4 (2019 GDR), 15.0.4510.2 (2019 x64 CU32), 16.0.1220.3 (2022 GDR), 16.0.4315.2 (2022 x64 CU27), 17.0.5045.3 (2025 CU10) and 17.0.1155.3 (2025 x64 GDR).
Timeline & sources
- Microsoft MSRC: CVE-2026-118116 Microsoft SQL Server Elevation of Privilege Vulnerability
- NVD: CVE-2026-118116 — Microsoft SQL Server 2017 (GDR)
References
Related vulnerabilities & news
- CVE-2026-118117: SQL Injection in Microsoft SQL Server Enables Privilege Elevation
- Microsoft SQL Server SQL Injection Flaw (CVE-2026-118119) Enables Network-Reachable Privilege Escalation
- Microsoft SQL Server SQL Injection Flaw (CVE-2026-118115) Allows Network Privilege Elevation by Authorized Users
- Microsoft SQL Server Privilege Escalation via SQL Injection (CVE-2026-118120, CVSS 3.1 8.8)
- Microsoft SQL Server SQL Injection Flaw CVE-2026-118118 Allows Network-Reachable Privilege Elevation