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

Home › CVE › Microsoft

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

High · CVSS 7.5EPSS 0.7% 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 SQL Injection Flaw (CVE-2026-118115) Allows Network Privilege Elevation by Authorized Users

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

Executive summary

CVE-2026-118115 is a SQL injection weakness in Microsoft SQL Server, classified as CWE-89 [1]. The NVD record lists a CVSS 3.1 base score of 7.5 (High) with vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, assigned by Microsoft as the Secondary scorer [1]. The vendor-published ranges cover SQL Server 2017, 2022 and 2025 in both GDR and CU servicing forms, with a fixed build for each range [1]. Per the record, exploitation requires an authorized, low-privilege attacker with network access to the service, and the vector rates attack complexity as high and needs no user interaction [1]. The record describes the outcome as privilege elevation, and the vector rates confidentiality, integrity and availability impact as high [1]. The NVD record is still Awaiting Analysis and the CVE is not listed in the CISA KEV catalog as of 2026-11-12 [1, 2]. No public exploit or in-the-wild exploitation evidence is present in the reviewed pack, so exploitation status is not established [1, 2, 3]. The most important immediate action is to inventory SQL Server instances against the listed affected ranges and apply the fixed build for each branch [1, 3].

Key points

  • CVE-2026-118115 is an SQL injection weakness (CWE-89) in Microsoft SQL Server that the vendor's record associates with privilege elevation over a network [1].
  • NVD lists a CVSS 3.1 base score of 7.5 (High), vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, scored by Microsoft as Secondary [1].
  • The record requires a valid, low-privilege attacker with network reach, rates attack complexity high, and needs no user interaction [1].
  • Vendor-published fixed builds are 14.0.2150.2, 14.0.3570.2, 16.0.1220.3, 16.0.4315.2, 17.0.5045.3 and 17.0.1155.3, depending on branch and servicing form [1].
  • NVD is still Awaiting Analysis and the CVE was not in CISA KEV as of 2026-11-12; exploitation status is not established [1, 2].

Vulnerability identification

FieldValueSource
CVE IDCVE-2026-118115[1]
VendorMicrosoft[1, 3]
ProductMicrosoft SQL Server (2017, 2022 and 2025 branches)[1]
ComponentNot established by the reviewed sources (the record does not name the affected engine component or function)[1, 3]
Affected platformWindows x64 builds are named for some branches; other platforms are not stated[1]
Published2026-11-10T19:19:30[1]
Last modified2026-11-10T20:18:11[1]
Record statusAwaiting Analysis[1]
CWECWE-89, SQL injection (improper neutralization of special elements in SQL commands)[1]
CVSS 3.1 base score7.5, High[1]
CVSS 3.1 vectorCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H[1]
Scoring version and scorerCVSS 3.1, scored by secure@microsoft.com as Secondary[1]
CVSS 4.0 scoreNot present in the reviewed sources[1]
Vendor referenceMSRC update guide entry for CVE-2026-118115, with no NVD tags[1, 3]
Related advisories, KB or bug IDsNot present in the reviewed sources[1, 3]
CISA KEV statusNot listed as of 2026-11-12[2]

The NVD record is not yet analyzed. Microsoft's CVSS score is the only scoring present, and the CWE mapping is as recorded in NVD and may change after NVD analysis [1].

Technical background

Microsoft SQL Server is a relational database management system. Client applications, services and users send Transact-SQL statements to the server, which parses, authorizes and executes them against stored databases. The reviewed sources identify SQL Server as the affected product and do not name the specific engine component involved [1, 3].

SQL injection occurs when text supplied by a user or another untrusted source is merged into a SQL statement in a way that lets the supplied text change the statement's structure rather than just supply a data value. Standard defences keep data and code separate, for example by using parameterized queries or by encoding input correctly for the context [Analyst assessment]. The CWE-89 classification in the record places this flaw in that family of input-handling weaknesses [1].

Two vendor servicing terms appear in the affected list. GDR (General Distribution Release) builds are security-focused servicing releases, and CU (Cumulative Update) builds bundle fixes for a branch. These definitions are general product-servicing knowledge and are not drawn from the reviewed sources [Analyst assessment]. The record lists separate affected ranges and fixed builds for each branch and form, so the servicing form in use matters when choosing the fix [1].

Vulnerability description

The record describes an input-handling flaw in SQL Server that lets an authorized attacker raise their privileges and that is reachable over a network [1]. In security terms, the flaw violates the integrity boundary between the authority an account holds and the authority it can obtain through database operations. The record does not say which function or code path is flawed, which query types are affected, or which privilege level is gained [1].

The attacker needs a valid, low-privilege account, as indicated by the PR:L component of the vector and the phrase 'authorized attacker' in the record [1]. The vector also indicates that the attack complexity is high, which means the record considers success to depend on conditions the attacker cannot fully control, though the record does not state those conditions [1].

What the vulnerability does not establish, based on the reviewed evidence: it does not show that unauthenticated attackers can exploit it (the vector requires privileges); it does not show that remote code execution occurs (the record describes privilege elevation only); and it does not show that any particular data set is exposed [1].

Root cause analysis

The reviewed sources do not disclose the root cause. The record classifies the weakness as CWE-89 [1], which tells us the class of error but not the specific code defect, the function, or the design decision behind it. The official vendor advisory text is not available in the pack beyond its summary, which repeats the record description [3].

Analyst assessment: a SQL injection weakness that yields privilege elevation most plausibly results from a server-side statement that combines untrusted input into executable SQL text, executes it under a security context with more rights than the caller, or both. This is an inference from the CWE class and the description, not a confirmed root cause [Analyst assessment, based on S1].

Why existing controls may fail: the vector indicates that a valid account can reach the flaw over the network, so authentication alone does not prevent it. Least-privilege design limits the damage but does not remove the input-handling defect [Analyst assessment, based on S1].

Technical mechanics

The following numbered flow is Illustrative. It shows the general class of SQL injection leading to privilege elevation, not a confirmed mechanism for this CVE.

  1. An authenticated, low-privilege account connects to a SQL Server instance over the network [1].
  2. The attacker submits input through an interface whose text is incorporated into a SQL statement, for example through an application or a stored procedure that builds dynamic SQL [Illustrative].
  3. The server parses the combined text, and the supplied input changes the statement's structure instead of remaining a data value. The record does not show which parsing or execution path fails [1].
  4. The statement runs under a security context that allows operations beyond the attacker's own grants. The record reports privilege elevation, but the mechanism that grants the higher privilege is not established [1].
  5. The control that should have prevented the issue is correct handling of untrusted input in statements, combined with least privilege on the execution context. Neither is confirmed as the failing control [Analyst assessment].

No confirmed data flow, memory behaviour, or parsing details are in the reviewed sources [1, 3].

Attack surface and exploitation prerequisites

DimensionStatusSource and qualification
Network accessRequired (AV:N)Vector only [1]
Adjacent networkNot establishedNot in vector [1]
Local accessNot establishedNot in vector [1]
Physical accessNot establishedNot in vector [1]
AuthenticationRequired, low privilege (PR:L)Vector and 'authorized attacker' phrase [1]
User interactionNone required (UI:N)Vector only [1]
Attack complexityHigh (AC:H)Vector only; the conditions are not stated [1]
ScopeUnchanged (S:U)Vector only; the record indicates privilege elevation, so the scope definition is for CVSS purposes [1]
Required configuration or featureNot establishedNo configuration detail in the record [1, 3]
Required query type or application patternNot establishedNot in the record [1]
Attacker position and reachable interfacesNetwork path to SQL Server, plus a valid accountVector and description [1]

The PR:L prerequisite is known from the vector and the description, which both state a valid account is needed. The high complexity rating is known only from the vector, and the conditions behind it are not disclosed [1].

Exploitation scenarios and attack lifecycle

Scenario A (Illustrative): A contractor holds a low-privilege login on an internal SQL Server instance. Because the flaw is reachable over the network, the contractor reaches the instance from the corporate network and uses an application interface that builds SQL from input. The contractor gains privileges beyond the account's grants and reads or changes data outside their role. Confirmed by sources: the network reachability, the low-privilege requirement and the privilege-elevation outcome [1]. Not established: the specific interface and the data affected.

Scenario B (Illustrative): A compromised application service account, which already has network access and some database rights, is used to reach the same flaw and gain higher rights. The defensive opportunities are restricting network paths to database services, auditing privileged role changes, and removing unnecessary rights from service accounts [Analyst assessment].

For the attack lifecycle, the reviewed sources document only the initial precondition (a valid account and network access) and the outcome described in the record. Reconnaissance, persistence and lateral movement are not documented for this CVE and are not described here [1, 3]. The absence of such detail is not evidence that they do not occur.

Impact analysis

AreaTechnically demonstrated (per record)Plausible downstream consequences (analyst assessment)
ConfidentialityRated High in vector [1]Unauthorized reads of database content, which depends on the rights gained
IntegrityRated High in vector [1]Unauthorized modification of data or configuration
AvailabilityRated High in vector [1]Disruption of database service, for example through destructive statements, if the gained rights allow it
AuthenticationNot establishedNot established by the reviewed sources
Authorization and privilege boundariesPrivilege elevation stated [1]Access to objects outside the attacker's role
Data and privacyNot establishedDepends on which databases the instance holds; not established by the reviewed sources
Business operationsNot establishedDepends on the criticality of databases on affected instances
Regulatory or contractual obligationsNot establishedDepends on the data categories held and applicable obligations, which the organization must assess

Affected products and versions

The following table reproduces the vendor-published ranges in the CVE record. Source for all rows: [1]. S3 provides only the title and summary, so it does not independently confirm these ranges [3].

Product and servicing formAffected range (at or above, and below)Fixed versionSource and qualification
SQL Server 2017 (GDR)14.0.0 to below 14.0.2150.214.0.2150.2Vendor-published in CVE record [1]
SQL Server 2017 for x64-based Systems (CU31)14.0.3006.16 to below 14.0.3570.214.0.3570.2Vendor-published in CVE record [1]
SQL Server 2022 (GDR)16.0.0 to below 16.0.1220.316.0.1220.3Vendor-published in CVE record [1]
SQL Server 2022 for x64-based Systems (CU27)16.0.4003.1 to below 16.0.4315.216.0.4315.2Vendor-published in CVE record [1]
SQL Server 2025 CU1017.0.4006.0 to below 17.0.5045.317.0.5045.3Vendor-published in CVE record [1]
SQL Server 2025 for x64-based Systems (GDR)17.0.1050.2 to below 17.0.1155.317.0.1155.3Vendor-published in CVE record [1]

Known gaps: the reviewed sources do not state whether other SQL Server branches, editions, Linux or container builds, or out-of-support releases are affected. The pack does not establish a complete affected range, so no further ranges are inferred here [1, 3]. Whether a version outside these ranges is safe is not established by the reviewed sources.

Exploitation and threat intelligence status

  • Confirmed exploitation in the wild: Not established by the reviewed sources [1, 2, 3].
  • CISA KEV: not listed as of 2026-11-12 [2]. The catalog check reflects only that date and is not evidence that the CVE has not been exploited [2].
  • Public proof of concept: Not established by the reviewed sources [1, 3].
  • Threat actors, campaigns and sector targeting: Not established by the reviewed sources [1, 2, 3].
  • NVD analysis status: Awaiting Analysis, so NVD has not yet confirmed the scoring or CWE mapping in its own analysis [1].
  • Theoretical exploitability: the vector describes network-reachable exploitation with a valid low-privilege account and high complexity [1]. This is a severity statement, not evidence that exploitation has occurred.

The absence of public evidence is not proof that exploitation has not occurred. The record was published on 2026-11-10, so the window for reporting is short [1, 2].

Indicators of compromise

Not established by the reviewed sources. No file hashes, domains, IP addresses, URLs, process names, command lines, log events or event IDs are provided for this CVE [1, 2, 3]. No indicators have been invented here. Indicators go stale quickly and must be validated against the organization's own logs before any blocking decision.

Detection and exposure assessment

  1. Asset inventory: list every Microsoft SQL Server instance, including those on virtual machines, containers and cloud-hosted instances, and record its version and servicing form. Source for the affected ranges: [1].
  2. Version check (standard product tooling, read-only): connect with an account that has permission to read server properties and run SELECT SERVERPROPERTY('ProductVersion'). Expected output is a version string such as 16.0.x.y. Compare it with the table above. Prerequisites: a login with metadata-read rights. Limitations: this confirms the build, not whether a specific attack path is open, and it does not show whether a compensating control blocks exploitation [Analyst assessment].
  3. Authenticated vulnerability scanning: run the organization's scanner with credentials that can query the SQL Server version, and confirm the scanner maps the result to CVE-2026-118115. Confirm the scanner's plugin date is after 2026-11-10. Limitations: scanner coverage for this CVE is not established by the reviewed sources [Analyst assessment].
  4. Exposure review: list which SQL Server instances accept connections from networks beyond their intended application tier, and which logins can connect over the network. Limitations: the record does not define a required configuration, so exposure must be assessed from network and login inventory [Analyst assessment, based on S1].
  5. Log review: review SQL Server error logs and audit logs for unusual privilege grants, role membership changes and failed or unusual statements from low-privilege accounts. The reviewed sources give no specific event IDs or fields, so the review must rely on the organization's own audit configuration [1, 2, 3].

A version match is not proof of exploitability, and a version mismatch does not prove safety without confirming the build and servicing form.

Immediate mitigation

No vendor-documented mitigation or workaround for this CVE is present in the reviewed sources. The following measures follow from the record's vector and description and are labelled accordingly.

  1. Restrict network reachability to SQL Server instances to the application tiers and administrative hosts that require it. Protects against: network-based attack from unnecessary hosts. Limitation: does not stop attackers already on permitted paths. Side effect: may break connections from unlisted clients. Verify: test connectivity from an unlisted host and confirm it is refused [Analyst assessment, based on S1].
  2. Review and remove unnecessary low-privilege logins and role memberships, since the vector requires a valid account. Protects against: attacks by accounts that do not need database access. Limitation: does not address accounts that need access. Side effect: application outages if a needed right is removed. Verify: query role memberships and confirm each login has a documented owner [Analyst assessment, based on S1].
  3. Increase monitoring of privilege changes and anomalous statements from low-privilege accounts, using the organization's audit configuration. Limitation: detection only, and the reviewed sources provide no signatures. Verify: confirm alerts fire on a test change to a non-production role [Analyst assessment].
  4. Check the MSRC update guide entry for any documented mitigation before patching. The pack contains only the URL and summary for this entry, so the content of any mitigation is not established [3]. Verify: record the mitigation text and its date in the change record.

Permanent remediation

The vendor-published fix is the update to the fixed build for each affected range listed in the table above [1]. Apply the fixed build that matches the installed branch and servicing form. Confirmed vendor fixes: the fixed versions listed in the CVE record [1]. Recommended hardening, not vendor-confirmed: the controls in the hardening section.

Prerequisites and considerations (analyst assessment, since the reviewed sources do not specify them): back up databases and the instance configuration before patching; schedule a maintenance window; prepare a rollback path, such as a tested restore of the pre-patch state; check the update's restart requirement in the vendor's installation guidance, which is not in the pack and is therefore not established [1, 3].

KB identifiers, download locations and installation instructions are not present in the reviewed sources. Obtain them from the MSRC update guide entry before change planning [3].

Workarounds and compensating controls

No vendor workaround is present in the reviewed sources. The mitigations in the immediate mitigation section reduce exposure but are not equivalent to the fixed build. They do not remove the defect, they depend on the accuracy of the login and network inventory, and they do not protect against an attacker who already holds a permitted account on a permitted path [Analyst assessment].

Where patching is delayed, document the residual risk, the owner, the compensating controls, and the date by which the fixed build must be applied, and record the exception formally.

Validation and verification

  1. Confirm the installed build for each instance with SELECT SERVERPROPERTY('ProductVersion') and compare it with the fixed version for its branch and servicing form [1].
  2. Confirm the servicing form is the one the instance is supposed to be on, since the record lists separate fixed builds per form [1].
  3. Re-run the authenticated scanner and confirm the finding for CVE-2026-118115 is cleared on each patched instance [Analyst assessment].
  4. Confirm that the compensating controls that were applied during the interim remain in place, and that network restrictions still block unlisted sources.
  5. Review SQL Server error and audit logs and service health for a defined period after the change, and record any anomalies.
  6. Record the evidence for each instance: name, build before and after, date, owner, and any exceptions. A single successful check does not establish that a system is secure.

Incident response

If exploitation is suspected: triage the alert, and identify the instance, login, source host and time window. Preserve SQL Server error logs, audit logs, and host event logs before any remediation. Do not restart, reimage, or clear logs, as this could destroy evidence [Analyst assessment]. Rotate credentials for accounts with suspicious activity where the evidence warrants it, and restrict those accounts while the investigation runs. Contain by restricting network access to the affected instance. Eradicate by applying the fixed build, then removing unauthorized logins or role changes found in the investigation. Recover by restoring service only after the build is confirmed and the monitoring is in place. Notify internal stakeholders and any regulators or contract counterparties as required by the organization's plan and obligations, which the reviewed sources do not establish. Document lessons learned, including why the affected logins held the rights they had.

No indicators of compromise are available in the pack, so the investigation must start from the organization's own telemetry [1, 2, 3].

Security hardening and prevention

The following measures are relevant to this weakness class and are defence-in-depth recommendations, not vendor-confirmed requirements.

  • Secure development (defence in depth): where applications build SQL dynamically, convert them to parameterized queries or stored procedures that do not concatenate user input. Verify with code review and a regression test that known-malicious input in a test environment is treated as data.
  • Least privilege: grant application logins only the permissions needed for their stored procedures or tables, and avoid server-level or elevated database roles for application accounts. Verify by listing effective permissions for each application login.
  • Network segmentation: place SQL Server behind network controls that allow only documented clients.
  • Logging and alerting: enable and review audit of role membership and permission changes, and forward these logs to a central system.
  • Patch management: track the MSRC update guide and apply CU or GDR updates within the organization's service-level targets for the affected branches.
  • Testing: include SQL injection test cases in application security testing for applications that use the database.

Risk assessment

Technical severity: the record gives a CVSS 3.1 base score of 7.5 (High), with high impact to confidentiality, integrity and availability, and network reachability [1]. This is the vendor-assigned score, not an organization-specific rating.

Exposure and asset criticality: depend on the organization's SQL Server inventory, network exposure and the sensitivity of the databases hosted, which are not established by the reviewed sources.

Exploit prerequisites and opportunity: a valid low-privilege account and network access are required, and the complexity is rated high [1]. Insider and compromised-account scenarios are the most directly supported by the record [Analyst assessment].

Evidence of exploitation: none established in the pack, and the CVE is not in KEV as of 2026-11-12 [1, 2].

Business impact: not established by the reviewed sources; it depends on the databases affected.

Existing controls: the reviewed sources describe no organization-specific controls. Residual risk remains until the fixed build is applied to every affected instance.

Recommended priority (analyst assessment, with assumptions): treat instances that are network-reachable from broad networks, host sensitive data, or have many low-privilege logins as the highest priority. Patch these first, then address the remaining affected instances in the organization's standard window. This assessment assumes the organization runs the affected versions; it is not the CVSS score and it changes if the inventory shows no affected builds.

Conclusion

CVE-2026-118115 is an SQL injection weakness in Microsoft SQL Server, classified as CWE-89, which the vendor's CVE record links to privilege elevation over a network by an authorized, low-privilege attacker [1, 3]. The CVSS 3.1 score from Microsoft is 7.5 (High) [1]. The root cause, affected component, exploitation conditions beyond the vector, and any vendor mitigation are not established by the reviewed sources [1, 3]. Operators should act first by inventorying SQL Server builds and applying the fixed build for each affected branch and servicing form [1]. Those responsible for database operations and security monitoring should own the work. Closure requires confirmed fixed builds on every affected instance, a clean post-change scan, the reviewed mitigation text from the MSRC entry, and a re-check of the NVD record and CISA KEV status [1, 2, 3].

Remediation checklist

  1. Inventory every Microsoft SQL Server instance, including virtual machines and containers, and record each build number and servicing form (GDR or CU) using SELECT SERVERPROPERTY('ProductVersion') with an account that can read server properties [1].
  2. Compare each instance against the affected ranges in the CVE record; prioritize instances that are network-reachable from broad networks or host sensitive data [S1, Analyst assessment].
  3. Apply the fixed build matching each instance's branch and servicing form: 14.0.2150.2 (2017 GDR), 14.0.3570.2 (2017 CU31), 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].
  4. Before patching, back up databases and instance configuration, schedule a maintenance window, and prepare a tested rollback path; obtain the KB and installation guidance from the MSRC entry, which the pack does not contain [S3, Analyst assessment].
  5. Until patched, restrict network access to each affected SQL Server instance to documented application tiers and administrative hosts, and verify refused connections from an unlisted host [S1, Analyst assessment].
  6. Review logins and role memberships on affected instances, removing rights that are not needed; verify by listing role memberships and confirming an owner for each login [S1, Analyst assessment].
  7. Read the MSRC update guide entry for CVE-2026-118115 for any documented mitigation or workaround, and record its text and date in the change record [3].
  8. After patching, confirm the new build on each instance, re-run an authenticated scanner, and confirm the finding clears; keep evidence of owner, date and exceptions [S1, Analyst assessment].
  9. Review SQL Server error and audit logs for unusual privilege or role changes from low-privilege accounts, preserving logs if anything is found; the pack contains no indicators of compromise [1, 2].
  10. Re-check the NVD record for analysis updates and the CISA KEV catalog for listing changes, and update the risk record when either changes [1, 2].

Evidence gaps

  • Root cause: the reviewed sources do not identify the flawed function, component or code path; the vendor advisory text beyond its summary is not in the pack. Settling it requires the MSRC advisory body and any root-cause analysis.
  • Affected component and configuration: the record does not name the engine component, required query type, application pattern or feature. Settling it requires the vendor advisory and the NVD analysis once complete.
  • Complete affected range: only the six vendor-published ranges are present; other branches, editions, Linux or container builds and out-of-support releases are not addressed. Settling it requires the vendor's full product matrix.
  • Vendor mitigations and workarounds: no mitigation is in the pack; the MSRC entry content beyond its summary was not extracted. Settling it requires that page's full text.
  • KB identifiers, download details and restart requirements: not present in the reviewed sources. Settling it requires the MSRC update guide entry.
  • Exploitation evidence: no confirmed in-the-wild exploitation, public proof of concept, or threat actor attribution is in the pack, and absence in this pack is not proof of absence. Settling it requires threat intelligence reports and the KEV catalog after future updates.
  • Indicators of compromise and detection signatures: none provided; settling it requires vendor or threat intelligence telemetry guidance.
  • NVD analysis: the record is Awaiting Analysis, so the CWE mapping and scoring may change. Settling it requires NVD's completed analysis.
  • Impact on data and business operations: not established because the reviewed sources do not describe the data or workloads affected. Settling it requires the organization's own asset and data classification.

References

  1. CVE-2026-118115 record. NIST National Vulnerability Database (NVD), 2026-11-10. https://nvd.nist.gov/vuln/detail/CVE-2026-118115. Accessed 2026-11-12. CVE identity, record status and dates, official description summary, CVSS 3.1 score, vector and Secondary scorer, CWE-89 classification, vendor-published affected and fixed version ranges, the single MSRC reference without NVD tags, and the attack prerequisites indicated by the vector.
  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. The CVE is not listed in the CISA KEV catalog as of 2026-11-12, and the catalog check is not evidence that the CVE has not been exploited.
  3. CVE-2026-118115 Microsoft SQL Server Elevation of Privilege Vulnerability. Microsoft MSRC, 2026-11-10. https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-118115. Accessed 2026-11-12. The MSRC vendor bulletin title and summary, confirming the vendor identifies the issue as an SQL Server elevation of privilege vulnerability and providing the vendor reference; it does not provide the advisory body, KB identifiers or mitigations.

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 · 7.5 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, but only under specific conditions.

Attack from
the network (remotely)
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

Vector CVSS:3.1/AV:N/AC:H/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 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 2022 (GDR)
  • Microsoft SQL Server 2022 for x64-based Systems (CU27)
  • Microsoft SQL Server 2025 CU10

Frequently asked questions

What is CVE-2026-118115?

CVE-2026-118115 is a SQL injection weakness in Microsoft SQL Server, classified as CWE-89. The NVD record lists a CVSS 3.1 base score of 7.5 (High) with vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, assigned by Microsoft as the Secondary scorer. The vendor-published ranges cover SQL Server 2017, 2022 and 2025 in both GDR and CU servicing forms, with a fixed build for each range. Weakness type: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (CWE-89).

How severe is CVE-2026-118115?

CVE-2026-118115 has a CVSS 3.1 base score of 7.5 (high), from the CNA (microsoft.com). An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.

Is CVE-2026-118115 being exploited?

Not as far as is known: CVE-2026-118115 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.7% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-118115?

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 2022 (GDR) ≥ 16.0.0, < 16.0.1220.3 (fixed in 16.0.1220.3); Microsoft SQL Server 2022 for x64-based Systems (CU27) ≥ 16.0.4003.1, < 16.0.4315.2 (fixed in 16.0.4315.2); and more, listed on this page.

How do I fix CVE-2026-118115?

Inventory every Microsoft SQL Server instance, including virtual machines and containers, and record each build number and servicing form (GDR or CU) using SELECT SERVERPROPERTY('ProductVersion') with an account that can read server properties. Compare each instance against the affected ranges in the CVE record; prioritize instances that are network-reachable from broad networks or host sensitive data [S1, Analyst assessment]. Apply the fixed build matching each instance's branch and servicing form: 14.0.2150.2 (2017 GDR), 14.0.3570.2 (2017 CU31), 16.0.1220.3 (2022 GDR), 16.0.4315.2 (2022 CU27), 17.0.5045.3 (2025 CU10), 17.0.1155.3 (2025 GDR).

Timeline & sources

References

Related vulnerabilities & news