CVE-2026-118109 — 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 SQL injection flaw (CVE-2026-118109) enables network privilege escalation
| CVE | CVE-2026-118109 |
|---|---|
| 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:20 UTC |
| Research cut-off | November 12, 2026 07:12 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-11-10); CISA KEV catalog; 1 vendor bulletin |
Executive summary
CVE-2026-118109 is an SQL injection weakness (CWE-89) in Microsoft SQL Server, in which input is not adequately neutralized before it is used in an SQL command, and the record states that it can raise privileges over a network [1]. The only score in the pack is CVSS 3.1 8.8 (High) with vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, scored by secure@microsoft.com and labelled Secondary [1]. The vendor's CVE record lists eight affected branches, from SQL Server 2017 through SQL Server 2025, each with a fixed build [1]. Per the vector, exploitation needs network reachability and a low-privileged authenticated account, with no user interaction [1]; the pack does not demonstrate any exploit. CISA's Known Exploited Vulnerabilities catalog did not list the CVE as of 2026-11-12, which does not show that exploitation has not occurred [2]. The most important immediate action is to inventory every SQL Server instance, compare its build with the fixed versions in the record, and apply the vendor's fixed build for each branch while restricting network access to the database listener and reviewing low-privileged accounts in the meantime [1, 3].
Key points
- CVE-2026-118109 is an SQL injection weakness (CWE-89) in Microsoft SQL Server, and the record describes privilege elevation over a network [1].
- CVSS 3.1 base score 8.8 (High), vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, scored by secure@microsoft.com [1].
- Exploitation requires a low-privileged authenticated login and network reachability, with no user interaction, according to the vector [1].
- Eight branches are listed as affected, each with a fixed build from 14.0.2150.2 to 17.0.1155.3 [1].
- Not listed in CISA KEV as of 2026-11-12, which does not establish that exploitation has not occurred [2].
- No exploit, indicator, root cause detail or vendor workaround is in the pack [1, 2, 3].
Vulnerability identification
| Field | Value | Source |
|---|---|---|
| CVE ID | CVE-2026-118109 | [1] |
| Vendor | Microsoft | [1, 3] |
| Product | Microsoft SQL Server, with several servicing branches listed separately | [1] |
| Component | Not established by the reviewed sources | [1, 3] |
| Affected platform | The record lists some branches as x64-based and others without that qualifier; the operating system matrix is not established | [1] |
| Published | 2026-11-10T19:19:29 | [1] |
| Last modified | 2026-11-10T20:18:10 | [1] |
| Record status | Awaiting Analysis (NVD has not yet completed its own analysis) | [1] |
| CWE classification | CWE-89, the weakness for SQL injection (input is incorporated into an SQL command without adequate neutralization) | [1] |
| CVSS 3.1 base score | 8.8, High | [1] |
| CVSS 3.1 vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | [1] |
| Scoring version and scorer | CVSS 3.1, scored by secure@microsoft.com (labelled Secondary in the record) | [1] |
| Other CVSS versions | None in the pack | [1] |
| Vendor advisory | Microsoft Security Response Center (MSRC) update guide entry for the CVE | [1, 3] |
| CISA KEV status | Not listed as of 2026-11-12 | [2] |
| Related CVEs, bug IDs, KB or patch identifiers | Not established by the reviewed sources beyond the MSRC entry | [1, 3] |
The pack contains one CVSS score, from the NVD record. The NVD record is still awaiting analysis, so its CWE mapping and scoring may change. The vendor's MSRC entry is referenced in the record without NVD tags, and the pack holds only a short summary of it [1, 3].
Technical background
Microsoft SQL Server is a relational database management system (RDBMS). Client applications, administrative tools and other services send Transact-SQL (T-SQL) statements to the server, which parses, authorizes and executes them against databases the caller can reach. The product is serviced through branches: General Distribution Release (GDR) builds, which carry security fixes, and Cumulative Update (CU) builds, which carry fixes and other changes. The record labels each affected range with one of these branch names [1]. This explanation of the branch terms is analyst background, not a source statement.
SQL injection is a class of weakness in which data supplied by a user or a less-trusted component changes the structure of a SQL statement rather than remaining a data value. The usual defences are parameterized queries, strict input validation and least-privilege database accounts. The weakness is mapped to CWE-89 in this record [1].
Relevant trust boundaries are: between the network client and the database listener; between the untrusted input and the SQL parser; and between the authenticated principal's granted permissions and the rights used to run the resulting statement. The record indicates that the attacker must be authenticated (PR:L) and must reach the service over a network (AV:N), which places the authentication boundary in front of the flaw [1]. The pack does not identify the specific feature, protocol or interface that carries the vulnerable input.
Vulnerability description
The record describes an SQL injection flaw in Microsoft SQL Server that a network-reachable, authenticated attacker can use to gain higher privileges [1]. In security terms, the flaw affects input neutralization and therefore the integrity and confidentiality of data in the database, and it is described as crossing a privilege boundary. The CVSS vector sets the scope as unchanged (S:U) and assigns high impact to confidentiality, integrity and availability (C:H/I:H/A:H) [1]. These are vector-level assessments, not observed outcomes.
Conditions that must exist for the flaw to matter, as described by the record and vector: the SQL Server instance must be running an affected build; an attacker must hold a valid, low-privileged account or session (PR:L); and the attacker must be able to send crafted input over the network path to the vulnerable interface (AV:N) with no victim interaction (UI:N) [1]. The record does not establish which account types qualify, which features must be enabled, or which privilege boundary is crossed.
What the pack does not establish: the vulnerable function or statement; the input channel; whether the flaw can be reached without any authentication; whether it is reachable in default configurations; whether data is exposed, modified or the service is disrupted in practice; and whether any attacker has used it.
Root cause analysis
Confirmed: the record maps the weakness to CWE-89, improper neutralization of special elements in an SQL command [1]. Not established by the reviewed sources: the specific code path, the coding pattern (for example, dynamic SQL built from unvalidated input), the component, and the reason the privilege elevation occurs. The vendor summary in the pack does not describe the root cause [3].
Analyst assessment: SQL injection flaws of this class commonly arise when a server builds SQL text by concatenating values into a statement, or when a privileged internal routine executes text that includes caller-supplied values. Such flaws are usually missed because the query works correctly for ordinary input and input validation is applied to a different layer. This is a general pattern and has not been confirmed for CVE-2026-118109. The privilege elevation element is not explained by the CWE classification alone, so the reason the injected statement runs with higher rights remains unknown.
Technical mechanics
The following flow is Illustrative. It shows the conceptual sequence the CWE classification implies, and it does not describe the vendor's confirmed implementation.
- An authenticated, low-privileged session reaches a SQL Server interface over the network.
- The server accepts a value from that session and places it into a statement that is built as text.
- Without adequate neutralization, the value can alter the structure of the statement instead of being treated as data.
- The altered statement is parsed and executed in the security context that the flawed code path uses.
- The resulting effect on privileges, data or availability is not established by the reviewed sources.
Controls that should have prevented this sequence: parameterized execution of statements in which values are supplied as parameters, validation and neutralization of input at the point where it enters SQL text, and execution of queries under accounts that hold only the rights they need. The reviewed sources do not state which of these controls failed in this product [1, 3].
Attack surface and exploitation prerequisites
| Dimension | Status | Source |
|---|---|---|
| Network access | Required by the vector (AV:N) | [1] |
| Adjacent-network access | Not indicated; the vector specifies network, not adjacent | [1] |
| Local access | Not indicated by the vector | [1] |
| Physical access | Not indicated | [1] |
| Authentication | Required (PR:L) | [1] |
| Privilege level | Low, per PR:L; the specific role or permission set is not established | [1] |
| User interaction | Not required (UI:N) | [1] |
| Required configuration or feature | Not established by the reviewed sources | [1, 3] |
| Attacker position and reachable interface | A network path to the SQL Server listener and the vulnerable interface, which is not identified | [1] |
| Environmental dependencies and limitations | Not established; the vector alone does not show whether a given deployment is reachable or whether a specific account type is needed | [1] |
The authentication and privilege prerequisites come from the CVSS vector and the record's description, which describes an authorized attacker [1]. They are not confirmed by an exploitation report.
Exploitation scenarios and attack lifecycle
Illustrative scenario: an attacker who has obtained a low-privileged database login through a phishing campaign, a weak password or a compromised application account connects to a SQL Server instance over the network. The attacker then sends crafted input through a feature that builds SQL text unsafely and attempts to gain higher database rights. The record supports the existence of a network-reachable privilege route for an authenticated attacker [1], but it does not document this chain or its outcome.
Defensive opportunities in this scenario: restricting which hosts can reach the listener; reducing the number of accounts with any login rights; logging authentication and statement activity for unexpected principals; and containing a suspect account by disabling it and reviewing its recent activity. None of these is a vendor-documented control for this CVE, and each is an analyst recommendation.
Not established by the reviewed sources: whether any attack chain has been observed, the post-exploitation activity, the lateral movement options, and the persistence methods an attacker could use.
Impact analysis
| Area | Vector-based assessment | Demonstrated impact | Source |
|---|---|---|---|
| Confidentiality | High (C:H) | Not established | [1] |
| Integrity | High (I:H) | Not established | [1] |
| Availability | High (A:H) | Not established | [1] |
| Authentication | Attacker must already hold a low-privileged credential (PR:L) | Not established | [1] |
| Authorization and privilege boundaries | The record states that privileges can be elevated | Scope of elevation not established | [1] |
| Data and privacy | Depends on the data each database holds; not assessed by the sources | Not established | [1, 3] |
| Business operations | Depends on the role of each instance; not assessed by the sources | Not established | [1, 3] |
| Regulatory or contractual obligations | Depends on the data and contracts of each organization; not assessed by the sources | Not established | [1, 3] |
The high impact ratings are CVSS vector values, not measured results, and they should not be read as evidence of a particular breach outcome.
Affected products and versions
The vendor-published ranges below come from the CVE record. The affected range is stated as greater than or equal to the start version and less than the fixed version. The pack does not show the full MSRC advisory content, so these ranges are vendor-published in the CVE record and are not independently verified against the MSRC page [1, 3].
| Vendor | Product or branch | Affected range | Fixed version | Source and qualification |
|---|---|---|---|---|
| Microsoft | SQL Server 2017 (GDR) | 14.0.0 to below 14.0.2150.2 | 14.0.2150.2 | [1], vendor-published in the CVE record |
| Microsoft | SQL Server 2017 for x64-based Systems (CU31) | 14.0.3006.16 to below 14.0.3570.2 | 14.0.3570.2 | [1], vendor-published in the CVE record |
| Microsoft | SQL Server 2019 (GDR) | 15.0.0 to below 15.0.2210.4 | 15.0.2210.4 | [1], vendor-published in the CVE record |
| Microsoft | SQL Server 2019 for x64-based Systems (CU32) | 15.0.4003.23 to below 15.0.4510.2 | 15.0.4510.2 | [1], vendor-published in the CVE record |
| Microsoft | SQL Server 2022 (GDR) | 16.0.0 to below 16.0.1220.3 | 16.0.1220.3 | [1], vendor-published in the CVE record |
| Microsoft | SQL Server 2022 for x64-based Systems (CU27) | 16.0.4003.1 to below 16.0.4315.2 | 16.0.4315.2 | [1], vendor-published in the CVE record |
| Microsoft | SQL Server 2025 (CU10) | 17.0.4006.0 to below 17.0.5045.3 | 17.0.5045.3 | [1], vendor-published in the CVE record |
| Microsoft | SQL Server 2025 for x64-based Systems (GDR) | 17.0.1050.2 to below 17.0.1155.3 | 17.0.1155.3 | [1], vendor-published in the CVE record |
Configuration-specific exposure and known exclusions: not established by the reviewed sources. Versions earlier than the start of each listed range, and branches not listed, are not addressed by the pack, so they must be checked against the vendor's own advisory before being treated as unaffected. No other product, version or platform is named in the pack.
Exploitation and threat intelligence status
Confirmed in-the-wild exploitation: not established by the reviewed sources. The CVE is not listed in the CISA KEV catalog as of 2026-11-12 [2]. The catalog listing is not evidence that exploitation has not occurred, and a later addition is possible [2].
Public proof-of-concept availability: not established; the pack contains no exploit references [1, 2, 3]. Threat actors, campaigns and targeted sectors: not established by the reviewed sources. The FIRST Exploit Prediction Scoring System (EPSS) score is not included in the pack, so no probability estimate is available from the reviewed sources.
The record is in Awaiting Analysis status, which means its evidence base is still developing [1]. The status of every item above should be rechecked before a prioritization decision is closed.
Indicators of compromise
None of the reviewed sources provides file hashes, file names, domains, IP addresses, URLs, process names, command lines, log event IDs or network patterns for this CVE [1, 2, 3]. The absence of indicators in the pack does not mean none exist. Any indicator obtained later must be validated against the organization's own logs and the vendor's guidance before it is used for blocking, because indicators go stale quickly.
Detection and exposure assessment
Step 1, asset inventory: list every SQL Server instance, including clustered, containerized and virtual instances, and record each instance's build number. Compare each build with the affected ranges in the table above [1].
Step 2, version check using standard SQL Server tooling. Run the following read-only statements through an account that is authorized to query server metadata, for example from SQL Server Management Studio or sqlcmd: SELECT SERVERPROPERTY('ProductVersion'); and SELECT @@VERSION; Expected output: a build string such as 16.0.xxxx.x, which should be compared with the affected range for that branch. Limitation: a version match shows that the instance is in an affected range, not that it can be exploited, and the record does not give a validated configuration test [1]. Repeat the check on every instance, since a server can host several.
Step 3, configuration and exposure: identify which hosts can reach the SQL Server listener, using the firewall rules of the host and network. The reviewed sources do not identify a port-specific or feature-specific exposure condition, so the reachable population must be determined from the environment itself [1, 3].
Step 4, authenticated scanning: use an authenticated vulnerability scanner that reads SQL Server build information, and confirm its results against the instance query in Step 2. Scanner plugin identifiers for this CVE are not established by the pack.
Step 5, logs and telemetry: review SQL Server error logs and any server audit logs that the organization has enabled, looking for authentication from unexpected hosts or accounts and for unusual statement activity from low-privileged logins. Specific event IDs and field names for this CVE are not established by the reviewed sources.
Immediate mitigation
The reviewed sources do not contain a vendor-documented mitigation for CVE-2026-118109 [1, 3]. The measures below follow from the CWE classification and the CVSS prerequisites, and they are analyst recommendations rather than vendor guidance.
- Restrict the SQL Server listener to known application and administrative hosts using host firewall rules or network access control lists. Protects against reachability by the attacker position required by AV:N [1]. Limitation: applications that already communicate with the instance may be affected by a change, so the rules must be tested. Side effects: connection failures for unlisted hosts. Verification: from an unauthorized host, confirm the connection is refused; from an authorized host, confirm it succeeds.
- Disable or lock unused logins and remove unneeded server and database role memberships from low-privileged accounts. Protects against the PR:L prerequisite, which the attacker must satisfy [1]. Limitation: does not remove the flaw. Side effects: services relying on those logins fail. Verification: query the login and role membership lists and confirm the expected state.
- Increase auditing for authentication and statement activity from low-privileged logins so suspicious use can be found. Limitation: it detects rather than prevents, and retention must be sized to the investigation window. Verification: confirm the audit target is writing events after a test login.
- Where application code builds SQL text from input, have the owning teams review those statements and move values into parameters. Protects against the CWE-89 pattern at the source [1]. Limitation: requires code changes and testing, so it is a longer-term measure. Verification: code review evidence and regression tests.
Permanent remediation
Vendor-confirmed fix: install the fixed build for each affected branch as listed in the CVE record [1]. Fixed builds by 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]
Before installing: take and verify full backups of each database; test the update in a non-production environment that mirrors the application dependencies; schedule a maintenance window; and confirm the rollback method for the installed package. Prerequisites, dependencies and whether a restart is required are not established by the reviewed sources, so consult the vendor's MSRC entry and the installation documentation for the specific package [3].
After installing: confirm the build with the version query in the detection section, and confirm that each instance reports a build equal to or above its fixed version. Configuration changes required after updating: not established by the reviewed sources.
Recommended hardening, not vendor-confirmed: the parameterization and least-privilege measures in the mitigation and hardening sections.
Workarounds and compensating controls
The reviewed sources do not document a vendor workaround [1, 3]. Compensating controls that reduce exposure while patching is pending include restricting network reachability, reducing the number of low-privileged logins, and increasing audit coverage, as described in the immediate mitigation section. Each has residual risk: the flaw remains present, an attacker who already holds a valid low-privileged credential can still reach the vulnerable path from an allowed host, and code-level fixes depend on the application teams. A compensating control is not equivalent to a permanent fix, and the vulnerable builds should remain on the remediation list until the fixed builds are installed and verified.
Validation and verification
- Inventory: confirm every SQL Server instance is listed, with an owner, and that no instance is missing from the scope.
- Version: run the version query on each instance and confirm the build equals or exceeds the fixed version for its branch [1].
- Configuration: confirm the listener restrictions and the removal or locking of unused logins are in place, and record the query output.
- Exposure: confirm the vulnerable interface is no longer exposed beyond the allowed hosts, using a test from an unauthorized host.
- Scanner: run an authenticated scan and reconcile its results with the version query. A clean scan does not by itself show the system is secure.
- Logs and health: review error logs and audit events for the period after the change and confirm the service is healthy and that application connections succeed.
- Compensating controls: confirm that any temporary restrictions remain in place until the fixed build is verified.
- Record evidence: keep the version output, scanner report, configuration screenshots or exports, change ticket, owner, date and any exceptions with their approval.
No single check establishes that a system is secure. The reviewed sources do not describe a vendor validation test for this CVE [1, 3].
Incident response
If exploitation is suspected: triage the alert, identify the affected instance, and confirm its build against the affected ranges [1]. Scope the investigation to accounts, hosts and time periods linked to the alert.
Containment: restrict network access to the instance and disable the suspected login, after recording its state. Evidence preservation: export and retain SQL Server error logs, audit logs and host logs before any restart or cleanup, and do not run actions that would overwrite or delete evidence. Follow the organization's incident response plan.
Investigation: review authentication events and statement activity for the suspect account, and check for changes to logins, roles and server configuration. Credential rotation: rotate the credentials of accounts that show suspicious use or that had access to the same instance during the period under review, as the evidence warrants. Eradication and patching: install the fixed build for the branch once the investigation has captured the evidence. Recovery and monitoring: restore service only after validation and keep enhanced monitoring for a defined period.
Notification and reporting obligations depend on the data involved and the applicable law or contracts, which are not established by the reviewed sources. Lessons learned: record the detection gap, the exposure path and the time to patch.
Security hardening and prevention
Specific to this flaw, the following measures address the CWE-89 pattern and the privilege route described in the record [1]:
- Use parameterized queries or parameterized stored procedures for every statement that includes a value from outside the application, and review dynamic SQL for concatenation of input. This is a secure development measure, labelled as analyst recommendation.
- Validate input types and ranges at the boundary where values enter the application, and do not rely on validation as the only defence.
- Grant each application and user login only the database permissions it needs, and separate administrative accounts from application accounts.
- Restrict SQL Server listener reachability to required hosts, which limits the attacker position needed for the AV:N vector [1].
- Maintain a patch cadence for SQL Server branches and check build versions against the record's ranges after each cycle.
- Enable audit logging for authentication and privilege changes, and send the logs to a central store that the database administrators cannot silently alter (defence-in-depth, analyst recommendation).
- Add regression tests that send unusual characters through each input path that builds SQL text, to confirm the statements remain parameterized after code changes.
Risk assessment
Technical severity: the record gives a CVSS 3.1 base score of 8.8, High, with high confidentiality, integrity and availability impact in the vector [1]. This is a vector-based severity, not a measured outcome.
Exposure and asset criticality: not established for any specific organization, because the pack contains no asset data. Each SQL Server instance should be rated by the sensitivity of its data and its reachability.
Exploit prerequisites and attacker opportunity: the attacker must hold a low-privileged credential and reach the listener over the network, with no user interaction [1]. Those conditions are a meaningful barrier, but they are common in environments with many service or user logins.
Evidence of exploitation: none established. The CVE is not in KEV as of 2026-11-12 [2], the record is in Awaiting Analysis [1], and no proof of concept or EPSS score is in the pack.
Potential business impact: depends on the data and services on each instance and is not assessed by the sources.
Existing controls and residual risk: not established for any organization. Residual risk remains until the fixed builds are installed and verified.
Recommended remediation priority, with assumptions: the organization-specific priority is an analyst assessment, not a CVSS score. The assumptions are: instances that accept connections from broad or untrusted networks, that host sensitive data, or that have many low-privileged logins should be patched first; instances already restricted to a small set of hosts can follow the normal cycle, after compensating controls are in place. Re-rate the priority when the record analysis is complete or when new evidence of exploitation is reported.
Conclusion
CVE-2026-118109 is an SQL injection flaw (CWE-89) in multiple branches of Microsoft SQL Server that, per the record and its vector, a network-reachable, authenticated attacker can use to gain higher privileges [1]. The most urgent mitigation is to restrict network reachability to the SQL Server listener and reduce low-privileged logins while patching is scheduled. The permanent fix is to install the fixed build for each branch listed in the record [1]. Owners of SQL Server instances and database administrators should act first, and application teams should move dynamic SQL to parameterized execution. Closing the issue requires verified fixed builds on every instance, evidence of the configuration and exposure checks, a completed NVD analysis, and an updated KEV and exploitation review [1, 2].
Remediation checklist
- Inventory every SQL Server instance, record its build with SELECT SERVERPROPERTY('ProductVersion') run by an authorized account, and compare it with the affected ranges in the record [1].
- Install the fixed build for each branch listed in the record, such as 16.0.4315.2 for SQL Server 2022 CU27 or 15.0.2210.4 for SQL Server 2019 GDR, after verified backups and testing [1].
- Restrict the SQL Server listener to known application and administrative hosts with host firewall or network access rules, and confirm refused connections from an unlisted host [1].
- Disable or lock unused logins and remove unneeded role memberships from low-privileged accounts, then query the login and role lists to confirm the change [1].
- Enable or extend audit logging for authentication and statement activity from low-privileged logins, and confirm events are written with a test login.
- Have application teams identify SQL text built from input and move values into parameterized queries, confirmed by code review and regression tests [1].
- After patching, rerun the version query on every instance and an authenticated scan, and reconcile both with the change record [1, 3].
- Monitor the NVD record and the CISA KEV catalog for changes to the record status or exploitation listing, and re-rate priority when they change [1, 2].
Evidence gaps
- Affected component, feature and vulnerable interface are not identified; confirm through the MSRC advisory content and vendor technical details [1, 3].
- Root cause and the mechanism of privilege elevation are not described; confirm through the vendor's advisory or a technical analysis [1, 3].
- Whether the flaw is reachable in default configurations or needs a specific feature, is not established; confirm through vendor configuration documentation [1, 3].
- Vendor-documented workarounds, restart requirements and post-update configuration changes are not in the pack; confirm through the MSRC entry [3].
- The NVD record is Awaiting Analysis, so its CVSS scoring and CWE mapping may change; confirm when NVD completes analysis [1].
- No EPSS score, public proof of concept or threat actor attribution is in the pack; confirm through EPSS, exploit tracking and threat intelligence sources [1, 2].
- No indicators of compromise are in the pack; confirm through the vendor and incident response reporting, and validate against local logs before use [1, 2, 3].
- Complete affected ranges for branches not listed, and versions earlier than the listed starts, are not established; confirm through the vendor's full advisory [1, 3].
References
- CVE-2026-118109 record. NIST National Vulnerability Database (NVD), 2026-11-10. https://nvd.nist.gov/vuln/detail/CVE-2026-118109. 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-118109 Microsoft SQL Server Elevation of Privilege Vulnerability. Microsoft MSRC, 2026-11-10. https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-118109. 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 over a network.
Severity breakdown
High · 8.8
An attacker with a normal user account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special 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-118109?
CVE-2026-118109 is an SQL injection weakness (CWE-89) in Microsoft SQL Server, in which input is not adequately neutralized before it is used in an SQL command, and the record states that it can raise privileges over a network. The only score in the pack is CVSS 3.1 8.8 (High) with vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, scored 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-118109?
CVE-2026-118109 has a CVSS 3.1 base score of 8.8 (high), from the CNA (microsoft.com). An attacker with a normal user account can exploit this over the network, without any user action.
Is CVE-2026-118109 being exploited?
Not as far as is known: CVE-2026-118109 is not in CISA's Known Exploited Vulnerabilities catalog as of November 28, 2026. EPSS estimates a 1.0% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-118109?
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-118109?
Inventory every SQL Server instance, record its build with SELECT SERVERPROPERTY('ProductVersion') run by an authorized account, and compare it with the affected ranges in the record. Install the fixed build for each branch listed in the record, such as 16.0.4315.2 for SQL Server 2022 CU27 or 15.0.2210.4 for SQL Server 2019 GDR, after verified backups and testing. Restrict the SQL Server listener to known application and administrative hosts with host firewall or network access rules, and confirm refused connections from an unlisted host.
Timeline & sources
- Microsoft MSRC: CVE-2026-118109 Microsoft SQL Server Elevation of Privilege Vulnerability
- NVD: CVE-2026-118109 — 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 Elevation of Privilege via SQL Injection (CVE-2026-118116, CVSS 3.1 7.0)