Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Microsoft

CVE-2026-118120 — Microsoft SQL Server 2017 (GDR)

High · CVSS 8.8EPSS 1.0% First seen November 10, 2026

One of 40 Microsoft SQL Server 2017 (GDR) vulnerabilities published together by NVD: our article covers all of them.

MicrosoftWebDatabasesVulnerabilities

Research article

Microsoft SQL Server Privilege Escalation via SQL Injection (CVE-2026-118120, CVSS 3.1 8.8)

CVECVE-2026-118120
Vendor and productMicrosoft SQL Server 2017 (GDR); Microsoft SQL Server 2017 for x64-based Systems (CU31); Microsoft SQL Server 2019 (GDR)
PublishedNovember 12, 2026 08:40 UTC
Research cut-offNovember 12, 2026 07:21 UTC
Sources reviewed3: NVD record (last modified 2026-11-10); CISA KEV catalog; 1 vendor bulletin

Executive summary

CVE-2026-118120 is a SQL injection weakness (CWE-89) in Microsoft SQL Server that lets an attacker who already holds a low-privileged account raise their privileges over the network [1]. The only score in the pack is a CVSS 3.1 base score of 8.8 (High), vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, supplied by Microsoft as a Secondary scorer while the NVD record is still Awaiting Analysis [1]. The vendor-published CVE record lists affected builds across the SQL Server 2017, 2019, 2022 and 2025 GDR and cumulative-update branches, with a fixed build for each range [1]. The pack contains no evidence of exploitation in the wild, the CVE is not in the CISA KEV catalog as of 2026-11-12, and no public proof of concept is referenced [2]. The root cause, the affected feature and any workaround are not disclosed in the reviewed sources [1, 3]. The most urgent defensive action is to inventory SQL Server instances, compare their build numbers with the fixed builds for each branch, and apply the vendor update to affected instances, prioritizing those reachable from broad network segments [1, 3].

Key points

  • CVE-2026-118120 is an SQL injection weakness (CWE-89) in Microsoft SQL Server that enables privilege escalation over a network by an account with low privileges [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, supplied by Microsoft as a Secondary scorer; the NVD record is still Awaiting Analysis [1].
  • Affected builds span SQL Server 2017, 2019, 2022 and 2025 GDR and CU branches, each with a listed fixed version [1].
  • Not in the CISA KEV catalog as of 2026-11-12; no exploitation in the wild or public proof of concept is established by the pack [2].
  • Root cause, affected feature and vendor workarounds are not disclosed in the reviewed sources [1, 3].

Vulnerability identification

FieldValue
CVE IDCVE-2026-118120 [1]
VendorMicrosoft [1, 3]
ProductMicrosoft SQL Server [1, 3]
ComponentNot established by the reviewed sources beyond the SQL Server product family [1]
Affected platformsMultiple SQL Server branches: GDR and cumulative-update (CU) releases for 2017, 2019, 2022 and 2025, including x64-based builds [1]
Published2026-11-10T19:19:30 [1]
Last modified2026-11-10T20:18:12 [1]
Record statusAwaiting Analysis [1]
CWECWE-89, the weakness in which input that can be influenced by a user is placed into a SQL command without adequate neutralization, so the input can change the command's meaning [1]
CVSS 3.1 base score8.8, High; vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H; scorer secure@microsoft.com, labelled Secondary [1]
Other CVSS versionsNone in the pack [1]
Vendor advisoryMicrosoft Security Response Center (MSRC) update guide entry for this CVE [1, 3]
Related CVEs, bug IDs, KB article numbersNot established by the reviewed sources [1, 3]

The NVD record has not completed analysis, and the only CVSS score it carries was supplied by Microsoft as a Secondary scorer [1]. Treat the 8.8 score as the vendor-provided assessment until NVD completes its own analysis.

Technical background

Microsoft SQL Server is a relational database engine. Client applications, administrative tools and other services send Transact-SQL (T-SQL) statements to the engine, which parses them, checks permissions and executes them [Analyst assessment, general product behaviour; not described in the pack].

SQL injection occurs when data supplied from outside a trusted boundary is combined with SQL text in a way that lets that data alter the structure of the statement, rather than being treated only as a value. Neutralization means that special characters or sequences are either escaped, encoded or passed as typed parameters so they cannot change the command. Parameterized queries and strict input handling are the standard controls against this class of weakness [Analyst assessment; the pack does not describe the affected code path].

Privilege elevation means that an account gains rights beyond those it was granted. In this CVE the vendor classifies the flaw as one that lets an account with some existing access obtain higher privileges through a network path [1]. The specific trust boundary crossed (for example, between a database login and a server-level or administrative context) is not established by the reviewed sources [1, 3].

GDR (General Distribution Release) and CU (Cumulative Update) are Microsoft's servicing branches for SQL Server. The affected-version data distinguishes these branches, so a fix for one branch does not automatically cover another [1].

Vulnerability description

The CVE record describes an SQL injection weakness in SQL Server that enables an authorized attacker to increase privileges and reach the vulnerable component over a network [1]. The security property violated is the authorization boundary: a principal should only be able to perform actions its granted permissions allow. Successful exploitation would let the attacker act with privileges they do not hold, which the CVSS vector maps to high confidentiality, integrity and availability impact for the vulnerable component [1].

The conditions that matter, based on the record, are: the attacker must hold a low privilege level (PR:L), no user interaction is needed (UI:N), the attack is network-reachable (AV:N), and the attack complexity is low (AC:L) [1]. The vector indicates the scope is unchanged (S:U), which means the impact stays within the vulnerable component's security authority [1].

What the reviewed sources do not establish: the statement or feature that is vulnerable; whether the attacker needs a specific database role, a particular login type or a specific feature to be enabled; whether unauthenticated access is possible (the vector says it is not, since PR:L is set) [1]; whether any specific data was accessed or changed; and whether the vulnerability can be triggered reliably [Unknown].

Root cause analysis

The reviewed sources do not disclose the root cause. The vendor record gives the weakness classification (CWE-89) but not the code path, the function, the feature or the fix [1, 3]. The classification indicates that externally influenced input is incorporated into SQL command text without adequate neutralization [1].

Analyst assessment (unverified, not confirmed by any source): a flaw of this type in a database engine could arise where a server-side component builds dynamic SQL from input and runs it under a security context that carries more rights than the caller. Why existing controls might fail to prevent it is also unknown. Standard defences (parameterized execution, least-privilege execution contexts and input validation) would each reduce the risk, but the reviewed sources do not say which of these, if any, was absent [Analyst assessment].

To settle this, the MSRC advisory's technical description, any vendor-published root-cause commentary and the fix diff or release notes for the listed builds would be needed. None of these is in the pack [Unknown].

Technical mechanics

The following numbered flow is an Illustrative model of the CWE-89 class of weakness, not a description of the vendor's confirmed code path.

  1. A principal with a low-privilege account connects to a SQL Server instance over the network [S1 for network reachability and low privilege requirement].
  2. The principal supplies input to a SQL-building path in the server that the vendor says is affected. The affected statement or feature is not established [Unknown].
  3. Input neutralization fails: special SQL elements in the supplied data are interpreted as part of the command rather than as data [S1 for the classification].
  4. The resulting command is executed in a context that carries rights beyond the caller's own grants [Analyst assessment; the record says privileges are elevated, not how].
  5. The attacker's effective privileges increase, and the vendor's CVSS vector indicates high impact to confidentiality, integrity and availability within the vulnerable component [1].
  6. The control that should have stopped this is the neutralization or parameterization of input before it reaches the SQL parser, backed by least-privilege execution contexts [Analyst assessment].
[Low-privileged client]
        |  network connection (AV:N, PR:L)
        v
[SQL input handling]  --- fails to neutralize ---> [SQL parser]
                                                        |
                                                        v
                                    [Execution context with higher rights]
                                                        |
                                                        v
                                    [Elevated privileges: C/I/A high per CVSS]

Attack surface and exploitation prerequisites

DimensionStatusSource and qualification
Network accessRequired (AV:N)[1], from the CVSS vector
Adjacent networkNot indicated by the vector[1]
Local accessNot indicated by the vector[1]
Physical accessNot indicated by the vector[1]
Authentication and privilegeLow privileges required (PR:L); unauthenticated attack not indicated[1], from the CVSS vector and the record's wording about an authorized attacker
User interactionNone required (UI:N)[1], from the CVSS vector
Attack complexityLow (AC:L)[1], from the CVSS vector
ScopeUnchanged (S:U)[1], from the CVSS vector
Required configuration or enabled featureNot established[1, 3]
Attacker position and reachable interfacesNetwork path to a SQL Server listener, exact interface not established[1, 3]
Dependencies and environmental conditionsNot established[1, 3]

The low-privilege and network requirements come from the vector and the record wording, not from a demonstrated exploit. Whether a specific default configuration is exposed is Unknown.

Exploitation scenarios and attack lifecycle

Illustrative scenario 1: An attacker holds a low-privileged login on an instance that accepts connections from a broad internal network segment. The attacker uses a legitimate application or client path that passes user-controlled values into a vulnerable SQL statement, and gains higher server-level rights. Defensive opportunities: restrict which hosts can reach the SQL Server port, audit privilege changes, and review which logins can reach the affected application path.

Illustrative scenario 2: A compromised application service account, reached through another vulnerability, is used to submit crafted input to the vulnerable component. The attacker then uses the elevated rights to read or change data held by the instance. Defensive opportunities: rotate and scope service accounts, separate application and administrative logins, and monitor for privilege changes made by application accounts.

No source in the pack documents either chain as having occurred. Post-exploitation outcomes are therefore Illustrative only. Defenders should consider the lifecycle stages (access, input delivery, privilege gain, persistence or data access, and cleanup) as points for detection and containment [Analyst assessment].

Impact analysis

AreaTechnically indicated by the vectorPlausible downstream consequence (Analyst assessment)
ConfidentialityHigh (C:H) [1]Reading databases the low-privileged login could not otherwise read
IntegrityHigh (I:H) [1]Altering or deleting records, or changing configuration held in the database
AvailabilityHigh (A:H) [1]Disrupting database services or dependent applications
Authentication and authorizationPrivilege escalation is the stated weakness [1]Lateral movement to other systems that trust the database's accounts
Privilege boundariesCrossed by the stated weakness [1]Administrative control of the instance
Data and privacyNot establishedDepends on what the instance stores; not established by the sources
Business operationsNot establishedDepends on the instance's role; not established
Regulatory or contractual obligationsNot establishedDepends on the data and jurisdiction; not established

Technically demonstrated impact: none is demonstrated in the reviewed sources. The rows above reflect the CVSS vector and the record's wording, not a proof of exploitation.

Affected products and versions

The ranges below come from the CVE record, which the vendor published as the CVE Numbering Authority [1]. The MSRC summary in the pack does not repeat the version ranges [3], so confirm each range against the MSRC entry before final change approval.

Product and branchAffected rangeFixed versionSource and qualification
Microsoft SQL Server 2017 (GDR)14.0.0 up to but not including 14.0.2150.214.0.2150.2[1], vendor-published
Microsoft SQL Server 2017 for x64-based Systems (CU31)14.0.3006.16 up to but not including 14.0.3570.214.0.3570.2[1], vendor-published
Microsoft SQL Server 2019 (GDR)15.0.0 up to but not including 15.0.2210.415.0.2210.4[1], vendor-published
Microsoft SQL Server 2019 for x64-based Systems (CU32)15.0.4003.23 up to but not including 15.0.4510.215.0.4510.2[1], vendor-published
Microsoft SQL Server 2022 (GDR)16.0.0 up to but not including 16.0.1220.316.0.1220.3[1], vendor-published
Microsoft SQL Server 2022 for x64-based Systems (CU27)16.0.4003.1 up to but not including 16.0.4315.216.0.4315.2[1], vendor-published
Microsoft SQL Server 2025 CU1017.0.4006.0 up to but not including 17.0.5045.317.0.5045.3[1], vendor-published
Microsoft SQL Server 2025 for x64-based Systems (GDR)17.0.1050.2 up to but not including 17.0.1155.317.0.1155.3[1], vendor-published

Known exclusions and configuration-specific exposure: not established by the reviewed sources. Builds outside the listed ranges, including releases older than the listed starting points and any out-of-support branches, are not classified by the pack, so their status is Unknown [1]. Whether the affected component is present in every edition or installation option is not established [1, 3].

Exploitation and threat intelligence status

  • Confirmed exploitation in the wild: not established by the reviewed sources [1, 2, 3].
  • CISA KEV catalog: not listed as of 2026-11-12 [2]. This is not evidence that the CVE has not been exploited.
  • Public proof of concept: none referenced in the pack [1, 3].
  • Threat actors, campaigns and targeted sectors: not attributed by any reviewed source [1, 2, 3].
  • EPSS (FIRST exploit prediction score): not included in the pack, so not established.
  • Theoretical exploitability: the CVSS vector describes a network-reachable, low-complexity, low-privilege attack [1]. This is a severity characteristic, not evidence of a working exploit.

The absence of public evidence is not proof that exploitation has not occurred. The record is Awaiting Analysis, so its threat information may change [1].

Indicators of compromise

No indicators of compromise (file hashes, domains, IP addresses, URLs, process names, command lines, log events or network patterns) are given in the reviewed sources [1, 2, 3]. No indicators have been invented for this article. Any indicators published later must be validated against your own telemetry before they are blocked, because indicators go stale quickly.

Detection and exposure assessment

Asset inventory and version check: list every SQL Server instance, including instances on virtual machines and in containers, and record its build number. The standard read-only query below returns the build number from the server itself.

SELECT SERVERPROPERTY('ProductVersion') AS ProductVersion, SERVERPROPERTY('ProductLevel') AS ProductLevel;

Prerequisites: a login that can connect to the instance. Expected output: a single row with a version string (for example in the form major.minor.build.revision) and a product level string [Analyst assessment; standard SQL Server tooling, not from the pack]. Compare the build with the affected ranges in the table above. A version within an affected range indicates that the vulnerable code is presumed present, but it is not proof of exploitability, and the build must be read from the server rather than from a document. Instances whose build is at or above the fixed version for their branch are not affected by this CVE according to [1].

Authenticated vulnerability scanning: use your scanner's SQL Server version or patch check, which should map builds to the vendor's fixed versions. The reviewed sources do not name a specific scanner plugin, so its coverage is Unknown.

Log and telemetry review: review SQL Server error logs and any auditing you have enabled for changes to server role membership or permissions, and for unexpected connections from application or service accounts. The specific event IDs or fields that correspond to this weakness are not established by the reviewed sources [1, 2, 3].

Network exposure: identify which hosts can reach each SQL Server listener port in your environment. The port configuration is not established by the pack; determine it from each instance's configuration.

Immediate mitigation

The reviewed sources do not describe vendor-supplied interim mitigations for this CVE [1, 3]. The measures below are Analyst recommendations that follow from the documented network and low-privilege prerequisites in the CVSS vector [1].

  1. Restrict network access to SQL Server listeners. Protects against network-reachable attackers outside the approved client set. Limitation: does not stop attackers already inside the allowed segments, and may break applications that rely on broad access. Verify with a host firewall rule review and a test connection from an approved and an unapproved host.
  2. Review and reduce low-privileged logins that can reach the instances. Protects against the stated precondition (PR:L). Limitation: may disrupt applications that use shared or over-privileged accounts. Verify by listing server logins and their role memberships and removing unnecessary grants after owner approval.
  3. Increase monitoring of privilege changes and unusual logins. Protects by making successful escalation more likely to be noticed. Limitation: monitoring does not prevent exploitation. Verify that audit records are being written and forwarded to your log platform.
  4. Prioritize instances exposed to broad or untrusted networks for early patching. Limitation: exposure must be verified from network configuration, not assumed.

Permanent remediation

Vendor-confirmed fix: install the fixed build for your SQL Server branch, as listed in the affected-products table [1]. The reviewed sources do not provide a KB article number or patch identifier beyond the CVE ID [1, 3].

Upgrade prerequisites and dependencies: not established by the reviewed sources. Before applying an update, take a verified full backup of each database and of system databases, confirm your rollback method, and schedule a maintenance window. These are standard operational precautions [Analyst assessment].

Configuration changes after updating: none are documented in the pack [1, 3]. Verify the post-update build and service health (see Validation).

Restart or reload requirement: not established by the reviewed sources. Confirm this in the MSRC entry before scheduling the change.

Vendor-confirmed fix versus hardening: the fixed builds are vendor-published [1]. Measures such as restricting network access, reducing logins and parameterizing application queries are recommended hardening, not vendor-confirmed fixes for this CVE.

Workarounds and compensating controls

The reviewed sources do not provide a vendor workaround [1, 3]. Compensating controls such as network restriction, reduced logins and enhanced monitoring lower exposure but do not remove the vulnerable code. Their residual risk is that a vulnerable build remains exploitable by any attacker who can reach it and hold a low-privilege login. A workaround is not equivalent to applying the fixed build, which the vendor has published for each branch [1].

Validation and verification

  1. Confirm the installed build on every instance with the SERVERPROPERTY query above, and confirm it meets or exceeds the fixed version for its branch [1].
  2. Confirm that each instance is on the correct branch (GDR or CU), since the fixed builds differ by branch [1].
  3. Re-run the authenticated scanner's SQL Server check and confirm the finding clears; record the scanner version and the date.
  4. Review SQL Server error logs and service health after the update for unexpected errors or restarts. Expected: normal startup and no new error patterns.
  5. Confirm that compensating controls, such as network restrictions and reduced logins, are still in place where they are needed.
  6. Record the evidence: the instance name, the pre- and post-update build, the owner, the change date and any exceptions with their approvals.

No single check is sufficient. A matching build number is strong evidence of the fix, but it does not prove that no exploitation occurred before the update, so combine it with the log review in step 4.

Incident response

If you find evidence that a login has gained unexpected privileges, or you observe unusual privilege changes on an affected instance:

  1. Triage and scope: identify the instance, the login, the time window and the privilege changes. Preserve the affected record.
  2. Containment: restrict network access to the instance and disable the implicated login after the incident lead approves, avoiding deletions that could destroy evidence.
  3. Evidence preservation: export SQL Server error logs and audit records before rotation or restarts. Do not clear logs.
  4. Log and endpoint investigation: correlate authentication and permission-change records with the application logs for the same period. Specific log fields for this weakness are not established by the sources.
  5. Credential rotation: rotate passwords and secrets for accounts that the evidence shows were used or reached, following your plan.
  6. Eradication and patching: apply the fixed build for the instance's branch [1].
  7. Recovery and monitoring: restore normal access with reduced privileges and enhanced monitoring for a defined period.
  8. Notification and reporting: follow your legal and contractual obligations, which depend on the data involved and are not established by the pack.
  9. Lessons learned: record how the login gained access and why network restriction or privilege reduction did not prevent it.

Security hardening and prevention

The following measures are defence-in-depth, not vendor-confirmed fixes for this CVE:

  • Application code: use parameterized queries or stored procedures with typed parameters for all user-supplied values, and reject unexpected input at the boundary. Verify with code review and automated static analysis rules for SQL construction.
  • Least privilege: grant each login only the permissions its application needs, and separate application logins from administrative logins.
  • Network: limit each SQL Server listener to approved client subnets and do not expose it to untrusted networks.
  • Patch management: track the fixed builds for each branch and include SQL Server in your vulnerability management cycle.
  • Logging: enable auditing of permission and role changes and forward records to a central log platform.
  • Testing: add regression tests that submit special SQL characters through each application input and confirm they are treated as data.

Risk assessment

  • Technical severity: 8.8 (High) from the Secondary CVSS 3.1 score, with high confidentiality, integrity and availability impact [1].
  • Exposure: depends on how many instances accept network connections from broad segments; not established by the pack.
  • Prerequisites: a network path and a low-privilege login (PR:L) [1]. These are meaningful but not rare in environments with shared accounts.
  • Evidence of exploitation: none in the pack; not in KEV as of 2026-11-12 [2].
  • Potential business impact: depends on data sensitivity and the instance's role; not established.
  • Existing controls and residual risk: not established for your environment.
  • Recommended priority (Analyst assessment): high for instances reachable from wide or untrusted networks or hosting sensitive data; standard priority for isolated instances, pending verification of exposure.

This is not an organization-specific numerical score. Its assumptions are the vendor's CVSS vector and the absence of exploitation evidence in the pack, and it is not the CVSS score.

Conclusion

CVE-2026-118120 is an SQL injection weakness (CWE-89) in Microsoft SQL Server that lets a network-reachable attacker with a low-privilege login raise their privileges, with a CVSS 3.1 score of 8.8 supplied by Microsoft [1]. Database administrators and the teams that operate SQL Server instances should act first: inventory instances, compare each build with the fixed version for its branch, and apply the update, while restricting network access and reducing low-privilege logins in the meantime [1, 3]. The exploitation picture is incomplete, since the CVE is not in KEV as of 2026-11-12 and no public proof of concept is referenced [2]. Closing the issue requires the fixed build confirmed on every instance, the MSRC entry checked for the vendor's full guidance, and evidence recorded for each instance.

Remediation checklist

  1. Inventory every SQL Server instance and record its build with SELECT SERVERPROPERTY('ProductVersion') run by a login that can connect; verify the branch (GDR or CU) for each instance [1].
  2. Compare each build with the affected ranges in the CVE record and identify instances that fall within an affected range [1].
  3. Prioritize instances reachable from broad or untrusted networks, and confirm their network exposure from host firewall and listener configuration [1, 3].
  4. Before patching, take verified full backups of user and system databases and confirm a rollback method; schedule a maintenance window [Analyst assessment].
  5. Install the fixed build for each branch: 14.0.2150.2 (2017 GDR), 14.0.3570.2 (2017 CU31), 15.0.2210.4 (2019 GDR), 15.0.4510.2 (2019 CU32), 16.0.1220.3 (2022 GDR), 16.0.4315.2 (2022 CU27), 17.0.5045.3 (2025 CU10), 17.0.1155.3 (2025 GDR) [1].
  6. Confirm in the MSRC entry the restart requirement, any KB article identifiers and any additional guidance before scheduling the change [3].
  7. Restrict SQL Server listener access to approved client subnets as an interim measure until the fixed build is installed; verify with a connection test from an unapproved host [Analyst assessment].
  8. Review server logins and role memberships, and remove unnecessary grants to reduce the low-privilege precondition, after owner approval [1].
  9. Enable or confirm auditing of permission and role changes and forward records to central logging; verify that records are being written [Analyst assessment].
  10. After patching, re-run the authenticated scanner's SQL Server check and the build query on every instance, and record the evidence, owner, date and exceptions [1].
  11. Track KEV status and the NVD record, which is Awaiting Analysis, and update the assessment when NVD analysis or vendor guidance changes [1, 2].

Evidence gaps

  • Root cause and the affected statement, function or feature are not disclosed; the MSRC advisory's technical description and fix details are needed [1, 3].
  • Whether NVD has completed analysis and whether it will assign its own CVSS score; the only score in the pack is the Secondary Microsoft score [1].
  • Vendor-published KB article numbers, patch identifiers and restart requirements; the MSRC page in the pack gives only a summary [3].
  • Configuration or feature prerequisites beyond the CVSS vector, such as specific roles, editions or enabled features [1, 3].
  • Confirmation of the full list of affected products, editions and builds outside the listed ranges and any out-of-support branches [1].
  • Exploitation status beyond KEV absence, public proof-of-concept references and EPSS score; none is in the pack [2].
  • Indicators of compromise and detection event IDs or log fields specific to this weakness; none are given by the sources [1, 2, 3].
  • Vendor-supplied workarounds or interim mitigations; none is given in the pack [1, 3].

References

  1. CVE-2026-118120 record. NIST National Vulnerability Database (NVD), 2026-11-10. https://nvd.nist.gov/vuln/detail/CVE-2026-118120. Accessed 2026-11-12. CVE identity, record status and dates, CWE-89 classification, CVSS 3.1 score, vector and Secondary scorer, vendor-published affected and fixed version ranges for each SQL Server branch, the vendor as CVE Numbering Authority, and the attack prerequisites implied by the vector and record wording.
  2. 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. Absence of CVE-2026-118120 from the CISA KEV catalog as of 2026-11-12, and the statement that absence is not evidence of no exploitation.
  3. CVE-2026-118120 Microsoft SQL Server Elevation of Privilege Vulnerability. Microsoft MSRC, 2026-11-10. https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-118120. Accessed 2026-11-12. Existence and title of the MSRC update-guide entry for the CVE, the vendor summary of the flaw, and the absence of KB numbers, workarounds and root-cause detail in the pack.

Written with AI assistance from the 3 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 8.8 CVSS 3.1 base score from the CNA (microsoft.com)

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

Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Affected and fixed versions

ProductAffected versionsFixed in
Microsoft SQL Server 2017 (GDR)≥ 14.0.0, < 14.0.2150.214.0.2150.2
Microsoft SQL Server 2017 for x64-based Systems (CU31)≥ 14.0.3006.16, < 14.0.3570.214.0.3570.2
Microsoft SQL Server 2019 (GDR)≥ 15.0.0, < 15.0.2210.415.0.2210.4
Microsoft SQL Server 2019 for x64-based Systems (CU32)≥ 15.0.4003.23, < 15.0.4510.215.0.4510.2
Microsoft SQL Server 2022 (GDR)≥ 16.0.0, < 16.0.1220.316.0.1220.3
Microsoft SQL Server 2022 for x64-based Systems (CU27)≥ 16.0.4003.1, < 16.0.4315.216.0.4315.2
Microsoft SQL Server 2025 CU10≥ 17.0.4006.0, < 17.0.5045.317.0.5045.3
Microsoft SQL Server 2025 for x64-based Systems (GDR)≥ 17.0.1050.2, < 17.0.1155.317.0.1155.3

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Other references

Details from NVD (public domain).

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-118120?

CVE-2026-118120 is a SQL injection weakness (CWE-89) in Microsoft SQL Server that lets an attacker who already holds a low-privileged account raise their privileges over the network. The only score in the pack is a CVSS 3.1 base score of 8.8 (High), vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, supplied by Microsoft as a Secondary scorer while the NVD record is still Awaiting Analysis. Weakness type: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (CWE-89).

How severe is CVE-2026-118120?

CVE-2026-118120 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-118120 being exploited?

Not as far as is known: CVE-2026-118120 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-118120?

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-118120?

Inventory every SQL Server instance and record its build with SELECT SERVERPROPERTY('ProductVersion') run by a login that can connect; verify the branch (GDR or CU) for each instance. Compare each build with the affected ranges in the CVE record and identify instances that fall within an affected range. Prioritize instances reachable from broad or untrusted networks, and confirm their network exposure from host firewall and listener configuration.

Timeline & sources

References

Related vulnerabilities & news