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

Home › CVE › Microsoft

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

High · CVSS 8.0EPSS 0.8% 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-118118 Allows Network-Reachable Privilege Elevation

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

Executive summary

CVE-2026-118118 is a SQL injection weakness (CWE-89) in Microsoft SQL Server that the record says can let a low-privileged, authenticated user raise their privileges over the network [1]. The NVD record carries a Secondary CVSS 3.1 base score of 8.0 (HIGH) with vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H, scored by secure@microsoft.com [1]. The vendor, through the CVE record, lists affected builds across SQL Server 2017, 2019, 2022 and 2025 GDR and CU branches, with a fixed build for each branch [1]. The vector indicates that user interaction is required (UI:R), but the sources do not describe what that interaction is, so this must be verified before risk is scored [1]. CISA's Known Exploited Vulnerabilities catalog did not list the CVE as of 2026-11-12, but the record is still Awaiting Analysis and no public exploitation evidence is in the reviewed pack, so this is not evidence that exploitation has not occurred [1, 2]. The most important immediate action is to inventory SQL Server instances, confirm their build numbers against the fixed-version table, and schedule the vendor update for any instance below its fixed build [1, 3].

Key points

  • CVE-2026-118118 is a SQL injection flaw (CWE-89) in Microsoft SQL Server, with a Secondary CVSS 3.1 base score of 8.0 HIGH [1].
  • The vector requires network access and low privileges, with user interaction (UI:R); the nature of that interaction is not described in the sources [1].
  • Affected ranges span SQL Server 2017, 2019, 2022 and 2025 branches, each with a published fixed build [1].
  • CISA KEV did not list the CVE as of 2026-11-12, but this does not rule out exploitation [2].
  • Record status is Awaiting Analysis, and no public proof of concept or indicators of compromise are in the pack [1, 2, 3].

Vulnerability identification

FieldValueSource
CVE IDCVE-2026-118118[1]
VendorMicrosoft[1, 3]
ProductMicrosoft SQL Server (GDR and CU servicing branches listed in the record)[1]
ComponentSQL Server database engine (the record does not name a sub-component)[1]
Affected platformMicrosoft SQL Server 2017, 2019, 2022 and 2025, including x64-based builds [1]
Published2026-11-10T19:19:30 [1]
Last modified2026-11-10T20:18:11 [1]
Record statusAwaiting Analysis [1]
CWECWE-89, SQL Injection: the weakness where user-supplied input is incorporated into a SQL statement without adequate neutralization, so the input changes the meaning of the query [1]
CVSS 3.1 base score8.0, HIGH [1]
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H [1]
Scoring version and scorerCVSS 3.1, secure@microsoft.com, typed as Secondary in NVD [1]
Vendor advisoryMicrosoft Security Response Center update guide entry for the CVE [3]
Related identifiersNo related CVEs, bug IDs or KB article numbers are given in the reviewed sources [1, 3]

No second CVSS score from another scorer is present in the pack, so no score conflict is documented. The NVD record's reference to the vendor page carries no NVD tags [1].

Technical background

Microsoft SQL Server is a relational database management system. Client applications, web services and administrative tools send Transact-SQL statements to the server, which parses, plans and executes them against databases the connected login is allowed to access [Analyst assessment, general product behaviour; not stated in the pack].

SQL injection is a class of flaw in which data supplied by a user or another system is concatenated into a query string and interpreted as SQL syntax rather than as a literal value. The database then performs actions the application developer did not intend. The correct controls are parameterised queries, stored procedures that do not build dynamic SQL from raw input, and strict validation of identifiers that cannot be parameterised [Analyst assessment, based on the CWE-89 classification in S1].

Trust boundaries relevant here are: the network boundary between clients and the SQL Server listener; the authentication boundary, where a login is established; and the authorization boundary, where the login's permissions determine which objects and actions are allowed [Analyst assessment]. The record indicates the attacker must already hold some authorized access, so the flaw is relevant to the boundary between an authenticated low-privileged principal and higher privileges [1].

Vulnerability description

The CVE record classifies the flaw as SQL injection in Microsoft SQL Server. The record states that an authorized attacker can use it to obtain higher privileges across a network path [1]. The vendor's bulletin summary repeats this classification without adding technical detail [3].

Security properties affected, based on the CVSS vector: the vector marks confidentiality, integrity and availability as High, and scope as Unchanged, which means the impact stays within the vulnerable component's authority [1]. This is a vector-based interpretation; the sources do not describe the actual data or operations affected.

What an attacker can cause or access: the record says privilege elevation is possible. The vector suggests high impact to confidentiality, integrity and availability [1]. The sources do not confirm which objects, databases, logins or server-level permissions can be reached.

Conditions that must exist for the flaw to matter: an authenticated low-privileged SQL login, network reachability to a vulnerable instance, and some form of user interaction as indicated by UI:R in the vector [1]. The sources do not specify the interaction.

What the vulnerability does not establish or permit, based on the evidence: the pack does not establish remote unauthenticated access, arbitrary code execution, or any specific post-exploitation capability. Those claims must not be made without vendor confirmation [1, 3].

Root cause analysis

Confirmed: the CVE record classifies the weakness as CWE-89, SQL Injection [1]. The record and the vendor summary do not identify the specific code path, function, query builder, stored procedure or feature in which unsanitised input is used [1, 3].

Analyst assessment: the classification indicates that a code path in the database engine or a server-side component constructs or executes SQL from input that is not safely parameterised or neutralised. Because the attacker needs existing authorization, the flaw likely sits in a path reachable by an ordinary login, but this is an inference, not a source statement [1].

Why existing controls may fail: authentication alone does not prevent injection, because an authenticated principal's input is still interpreted as SQL. Least-privilege permissions limit the damage but do not remove the injected syntax from the execution path. The root cause in the sources is therefore not fully disclosed, and it must be treated as an evidence gap [1, 3].

Technical mechanics

The mechanism below is an Illustrative conceptual flow derived from the CWE-89 classification. The sources do not describe the actual code path.

  1. An authenticated SQL login connects to a vulnerable SQL Server instance over the network [1].
  2. The login submits a request that reaches a server-side code path handling special characters in SQL text (Illustrative).
  3. The affected path fails to neutralise those characters, so input can alter the structure of the SQL statement it builds (Illustrative; CWE-89 per [1]).
  4. The altered statement executes under the database engine's authority for the session's context (Illustrative).
  5. The vector implies that a user interaction is required before step 2 can occur (UI:R [1]); the sources do not say what interaction is needed.
  6. The expected security control that should prevent this is parameterised query handling and input neutralisation in the affected path, which the vendor has addressed in the fixed builds listed in the record [1].

Authentication and authorization checks: the record indicates that the attacker must already be authorized, so the login check is not the failure point in the classification. Whether the flaw bypasses a server-level or database-level permission check is not established by the reviewed sources [1].

Memory, parsing, serialization and state management: the sources do not describe any memory corruption or serialization behaviour. The classification is SQL parsing related [1].

Attack surface and exploitation prerequisites

PrerequisiteAssessmentBasis
Network accessRequired; attack vector is Network [1]CVSS vector AV:N [1]
Adjacent networkNot indicated by the vector [1]Vector only
Local or physical accessNot indicated by the vector [1]Vector only
AuthenticationA valid SQL login is required; PR:L means low privileges [1]Record and vector [1]
Privilege levelLow, not administrative, according to the vector; the record says the attacker is authorized [1]Vector and record
User interactionRequired according to UI:R; the nature is not described [1]Vector only
Required configurationNot established by the reviewed sourcesEvidence gap
Attacker positionAny network position that can reach the SQL Server listener and authenticate [Analyst assessment]Derived from AV:N and PR:L
Reachable interfacesNot established by the reviewed sourcesEvidence gap
Environmental dependenciesNot established by the reviewed sourcesEvidence gap

The vector alone does not prove exploitability. The record remains Awaiting Analysis, so the NVD-assigned analysis of the exploitation path has not been completed [1].

Exploitation scenarios and attack lifecycle

Scenario A (Illustrative): an employee or contractor with a legitimate low-privileged SQL login uses a business application that passes user input into a SQL statement. The attacker supplies crafted input through the application and, using the user interaction indicated by the vector, reaches the flawed path to gain higher database privileges. Defensive opportunities: application input validation and parameterisation review, monitoring of unusual privilege changes, and login least-privilege review [Analyst assessment].

Scenario B (Illustrative): a compromised low-privileged service account is used directly against the database to reach the vulnerable code path. Defensive opportunities: network restriction of database ports to known application servers, rotation of service account credentials if compromise is suspected, and audit of permission changes [Analyst assessment].

No source documents an actual attack chain for this CVE. Confirmed post-exploitation outcomes are not established by the reviewed sources [1, 2, 3].

Impact analysis

AreaTechnically demonstrated by sourcesPlausible consequence (not demonstrated)
ConfidentialityVector marks High [1]Reading of data the elevated login can access; scope not established
IntegrityVector marks High [1]Modification of data or schema within elevated permissions; scope not established
AvailabilityVector marks High [1]Disruption of database service; mechanism not established
AuthenticationAttacker must already hold a valid login [1]Credential reuse after elevation is not established
AuthorizationPrivilege elevation is stated [1]Specific permissions gained are not established
Privilege boundariesCrossing from low-privileged to higher privileges is stated [1]Whether server-level or only database-level privileges are affected is not established
Data and privacyNot established by the reviewed sourcesDepends on data in affected databases
Business operationsNot established by the reviewed sourcesDepends on the criticality of affected instances
Regulatory or contractualNot established by the reviewed sourcesDepends on the data held and applicable obligations

Affected products and versions

The following table reproduces the vendor-published affected ranges in the CVE record. The vendor's record is the authoritative source for these ranges in the pack [1]. Ranges are shown as published; no range has been extended by inference.

Product and servicing branchAffected range (as published)Fixed versionSource and qualification
SQL Server 2017 (GDR)14.0.0 to below 14.0.2150.214.0.2150.2[1], vendor-published in CVE record
SQL Server 2017 for x64-based Systems (CU31)14.0.3006.16 to below 14.0.3570.214.0.3570.2[1], vendor-published
SQL Server 2019 (GDR)15.0.0 to below 15.0.2210.415.0.2210.4[1], vendor-published
SQL Server 2019 for x64-based Systems (CU32)15.0.4003.23 to below 15.0.4510.215.0.4510.2[1], vendor-published
SQL Server 2022 (GDR)16.0.0 to below 16.0.1220.316.0.1220.3[1], vendor-published
SQL Server 2022 for x64-based Systems (CU27)16.0.4003.1 to below 16.0.4315.216.0.4315.2[1], vendor-published
SQL Server 2025 CU1017.0.4006.0 to below 17.0.5045.317.0.5045.3[1], vendor-published
SQL Server 2025 for x64-based Systems (GDR)17.0.1050.2 to below 17.0.1155.317.0.1155.3[1], vendor-published

Known exclusions and configuration-specific exposure: the sources do not list exclusions. Builds below the lowest affected version for each branch, or at or above the fixed version, are outside the published ranges, but the pack does not confirm whether builds on other servicing paths are covered [1]. Whether the vendor's bulletin lists additional products is not established by the reviewed sources, because the bulletin text in the pack contains only a summary [3].

Exploitation and threat intelligence status

Confirmed exploitation in the wild: not established by the reviewed sources [1, 2, 3].

CISA KEV: the CVE is not listed as of 2026-11-12. The source notes this is not evidence that the CVE has not been exploited [2].

Public proof of concept: none is referenced in the pack [1]. The NVD record's only reference is the vendor page, with no tags [1].

Threat actors, campaigns and sectors: not attributed by any reviewed source [1, 2, 3].

Date and reliability: the NVD record and vendor summary were both dated 2026-11-10 [1, 3]. The KEV check was dated 2026-11-12 [2]. The absence of public evidence is not proof that exploitation has not occurred.

Evidence classification: theoretical exploitability is supported by the CVSS vector and the CWE classification [1]. Credible reporting and public proof of concept are not established.

Indicators of compromise

No indicators of compromise are provided by the reviewed sources: no file hashes, domains, IP addresses, URLs, process names, log event IDs or query patterns are given [1, 2, 3]. No indicator has been invented. Any indicator later published must be validated against the organization's own telemetry before blocking, because indicators go stale quickly.

Detection and exposure assessment

Asset inventory: list every SQL Server instance, including x64-based and non-x64 builds, and record the product line and servicing branch for each, using the Affected products table above [1].

Version check: run the following read-only query on each instance using a login with permission to connect. This is the standard product query for the build number:

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

Expected output: a build number such as a four-part version string and a level value. Compare the first value against the fixed version for the matching branch in the table above [1]. Limitations: a build number at or above the fixed version indicates the vendor-fixed build is installed, but a version check is not proof of exploitability or of absence of compromise.

Configuration checks: the sources do not identify a configuration setting that controls exposure. Whether a feature flag or setting influences the vulnerable path is not established by the reviewed sources [1].

Authenticated vulnerability scanning: use a scanner that supports SQL Server build checks, with credentials authorized for the target. Scanner plugin availability for this CVE is not established by the reviewed sources.

Log and telemetry review: review SQL Server audit or error logs for unusual privilege or role changes over the period since 2026-11-10, when the record was published [1]. Specific event IDs and fields are not given by the sources, so the review should be scoped to privilege-change and login events the organization already audits (Analyst assessment).

Network monitoring: identify which hosts can reach SQL Server listeners and which applications authenticate to them. Restrict and log that traffic (Analyst assessment; see Immediate mitigation).

Immediate mitigation

These measures are Analyst assessment derived from the classification and vector, not vendor-documented mitigations, because the pack contains no vendor mitigation guidance [1, 3].

MeasureProtects againstLimitationSide effectVerification
Restrict database network access to known application servers and administrators via host or network firewall rulesReaching the listener from untrusted networksDoes not stop an authorized application or insider pathApplication connectivity breaks if rules are incompleteConfirm from an unauthorized host that connection attempts are refused and from an approved host that the application still connects
Review and reduce low-privileged SQL logins, removing unused accounts and unneeded rolesImpact of an authenticated low-privileged loginDoes not remove the flawApplication or job failures if permissions are removed too farCompare the role membership list before and after changes
Review application code that builds SQL from input, prioritising parameterisationInjection through application inputRequires code work; does not cover direct database loginsDevelopment effortCode review evidence and tests showing input is parameterised
Increase audit of privilege changes and failed loginsDetection of exploitation attemptsDetects rather than preventsLog volumeConfirm audit configuration is active and events reach the log store

Permanent remediation

Vendor-confirmed fix: install the vendor fixed build for each instance's branch, as listed in the affected products table [1]. The reviewed sources give fixed build numbers but not the update packages, KB article numbers or installation instructions. Obtain the packages from the vendor update guide entry [3].

Upgrade prerequisites, maintenance window and rollback: not established by the reviewed sources. Before updating, take a full backup of each database and record the current build, so rollback is possible under the organization's change process (Analyst assessment).

Restart requirement: not established by the reviewed sources.

Configuration changes after updating: none are documented in the pack [1, 3].

Distinguish vendor-confirmed fixes from recommended hardening: the fixed builds are vendor-confirmed in the CVE record [1]. The least-privilege review and parameterisation review above are recommended hardening (Analyst assessment).

Workarounds and compensating controls

The reviewed sources provide no vendor workaround [1, 3]. If patching is delayed, the compensating controls in Immediate mitigation reduce exposure. Their residual risk remains high while the vulnerable build is installed, because the vector scores the impact as High across all three properties [1]. A workaround is not equivalent to a permanent fix because it does not change the vulnerable build, and the classification indicates the flaw is in the engine or a component the sources do not describe [1].

Validation and verification

  1. Confirm the installed build on each instance with the version query in Detection and exposure assessment, and compare it with the fixed version for its branch [1].
  2. Confirm the instance is on a supported servicing path for which a fixed build is listed; instances on branches not in the record need vendor confirmation (evidence gap).
  3. Re-run an authorized, authenticated scanner check and record its result. Do not treat a single scanner result as proof the system is secure.
  4. Confirm that the network restriction rules from Immediate mitigation are still active and that approved applications still connect.
  5. Review privilege-change and login logs since the update for unexpected activity, and confirm audit settings remain active.
  6. Confirm that low-privileged logins still hold only the permissions required.
  7. Record the evidence: instance name, pre- and post-update build, date, owner, scanner output reference, and any exceptions with an approved risk acceptance.

This checklist is recommended practice (Analyst assessment). No validation has been performed by this research.

Incident response

If exploitation is suspected: triage by identifying instances with an unfixed build, unusual privilege changes or unexpected administrative activity. Scope which databases and logins were reachable. Contain by restricting network access to the affected instance and by suspending suspect logins under the organization's incident response plan. Preserve evidence: take copies of SQL Server error and audit logs and of relevant host logs before any restart, cleanup or rebuild, and do not delete logs. Rotate credentials only for accounts with evidence of compromise. Eradicate by applying the fixed build once the instance has been preserved. Recover by restoring any integrity-affected data from known-good backups after verification. Notification and reporting obligations depend on the data affected and applicable law, which the reviewed sources do not address. Lessons learned should cover the application input handling path that led to the exposure.

Security hardening and prevention

Secure development: require parameterised queries or safe stored procedure patterns in code review, and reject string concatenation of user input into SQL in review checklists (Analyst assessment, based on CWE-89 [1]).

Input validation and output encoding: validate identifiers that cannot be parameterised against allowlists. Encoding alone does not fix SQL injection.

Authentication and authorization design: give application connections dedicated low-privilege logins that cannot perform privilege changes, and review role membership periodically (Analyst assessment; defence-in-depth).

Least privilege and isolation: place database servers on segmented networks reachable only from approved application tiers (defence-in-depth, Analyst assessment).

Secure configuration: keep unused SQL Server features and logins disabled (defence-in-depth, Analyst assessment).

Patch and vulnerability management: track the fixed builds in the affected products table and set a deadline for each branch (Analyst assessment).

Logging and monitoring: alert on role membership changes and privilege grants in SQL Server audit logs (Analyst assessment).

Security testing: add regression tests for SQL injection in application data access code, and run authorized database-level security tests after patching.

Risk assessment

Technical severity: the NVD record gives a Secondary CVSS 3.1 base score of 8.0 HIGH [1]. This is the CVSS score, not an organization-specific risk rating.

Exposure and asset criticality: depends on whether SQL Server instances are reachable from untrusted networks and on the data they hold. Not established by the reviewed sources.

Exploit prerequisites and attacker opportunity: network reachable, low-privilege authentication, and an unspecified user interaction [1]. Public proof of concept is not established [1].

Evidence of exploitation: not in KEV as of 2026-11-12 [2]; no confirmed exploitation in the reviewed sources.

Potential business impact: depends on data and operational dependence on affected instances. Not established by the reviewed sources.

Existing controls and residual risk: unknown for each organization; depends on network segmentation, least privilege and audit coverage (Analyst assessment).

Recommended priority (Analyst assessment, not a numerical score): treat instances reachable from broad networks or holding sensitive data as high priority; schedule other instances for the next maintenance window. Assumptions: the vendor's record and vector are accurate [1]; the sources are complete as of the cut-off date; the organization's exposure is unknown until inventory is complete.

Conclusion

CVE-2026-118118 is a SQL injection flaw in Microsoft SQL Server, classified as CWE-89 and scored by a Secondary CVSS 3.1 base of 8.0 [1]. It requires network access, a low-privilege authenticated login, and some user interaction according to the vector, and it is described as enabling privilege elevation [1]. The root cause, the exact code path, the interaction required, and any exploitation evidence are not established by the reviewed sources [1, 2, 3].

The organization that should act is any team running SQL Server instances on the affected branches. The most urgent mitigation is to restrict network access to database listeners and review low-privilege logins. The permanent fix is to install the fixed build for each branch listed in the record [1]. The issue can be closed with an inventory showing each instance at or above its fixed build, scanner evidence, logs reviewed for privilege changes, and an approved record of any exceptions.

Remediation checklist

  1. Inventory every SQL Server instance and record its product line and servicing branch, using the affected products table in the article [1].
  2. Run SELECT SERVERPROPERTY('ProductVersion') on each instance and compare the result with the fixed build for its branch: 14.0.2150.2, 14.0.3570.2, 15.0.2210.4, 15.0.4510.2, 16.0.1220.3, 16.0.4315.2, 17.0.5045.3 or 17.0.1155.3 [1].
  3. Install the vendor fixed build for each affected instance, starting with instances reachable from broad networks, using packages from the vendor update guide entry [1, 3].
  4. Take a full backup and record the pre-update build before each update so rollback is possible under the change process (Analyst assessment).
  5. Restrict network access to SQL Server listeners to approved application servers and administrators, and verify refused connections from unapproved hosts (Analyst assessment).
  6. Review low-privileged SQL logins and roles, removing unused accounts and unneeded role memberships, and verify the result against a recorded baseline (Analyst assessment, related to PR:L in [1]).
  7. Review application code that builds SQL from user input and convert it to parameterised queries, with regression tests (Analyst assessment, based on CWE-89 [1]).
  8. Confirm audit settings capture privilege changes and failed logins, and review those logs since 2026-11-10 for unexpected activity [1].

Evidence gaps

  • Root cause and the specific code path, function or feature are not disclosed in the reviewed sources; the vendor's full advisory text would need to be obtained to confirm them [1, 3].
  • The user interaction required by UI:R is not described; the vendor advisory or a completed NVD analysis would need to state it [1, 3].
  • The vendor bulletin in the pack contains only a summary; the full MSRC update guide content, KB article numbers, update packages and restart requirements are not in the pack [3].
  • NVD analysis is pending (Awaiting Analysis), so NVD's own CVSS and CWE assessment may change [1].
  • Exploitation evidence beyond the KEV check is not in the pack; EPSS and any threat intelligence reports should be checked to assess exploitation likelihood [2].
  • No indicators of compromise, detection event IDs or query patterns are provided; the vendor or a threat intelligence source would need to publish them and they must be validated before use [1, 2, 3].
  • Whether builds on servicing paths not listed in the record are affected is not established; the vendor must confirm the complete affected range [1].
  • Required configuration, feature exposure and environmental dependencies are not established by the reviewed sources [1, 3].

References

  1. CVE-2026-118118 record. NIST National Vulnerability Database (NVD), 2026-11-10. https://nvd.nist.gov/vuln/detail/CVE-2026-118118. Accessed 2026-11-12. CVE identity, record status and dates, CWE-89 classification, CVSS 3.1 score 8.0 and vector with Secondary scorer, the vendor-published affected and fixed build ranges for each SQL Server branch, and the absence of NVD tags on the vendor reference.
  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. CISA KEV status: the CVE is not listed as of 2026-11-12, with the caveat that this is not evidence of no exploitation.
  3. CVE-2026-118118 Microsoft SQL Server Elevation of Privilege Vulnerability. Microsoft MSRC, 2026-11-10. https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-118118. Accessed 2026-11-12. Vendor bulletin title and summary from Microsoft MSRC, used to corroborate the classification and to identify the update guide entry as the vendor reference; the bulletin text in the pack is limited to a summary.

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.0 CVSS 3.1 base score from the CNA (microsoft.com)

An attacker with a normal user account can exploit this over the network if a user is tricked into an action.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Login needed
yes, a normal user account
User action needed
yes, someone must click, open or visit something
Scope
stays within the vulnerable component
Impact
high on confidentiality, integrity and availability

Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/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-118118?

CVE-2026-118118 is a SQL injection weakness (CWE-89) in Microsoft SQL Server that the record says can let a low-privileged, authenticated user raise their privileges over the network. The NVD record carries a Secondary CVSS 3.1 base score of 8.0 (HIGH) with vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H, scored by secure@microsoft.com. Weakness type: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (CWE-89).

How severe is CVE-2026-118118?

CVE-2026-118118 has a CVSS 3.1 base score of 8.0 (high), from the CNA (microsoft.com). An attacker with a normal user account can exploit this over the network if a user is tricked into an action.

Is CVE-2026-118118 being exploited?

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

Which versions are affected by CVE-2026-118118?

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

Inventory every SQL Server instance and record its product line and servicing branch, using the affected products table in the article. Run SELECT SERVERPROPERTY('ProductVersion') on each instance and compare the result with the fixed build for its branch: 14.0.2150.2, 14.0.3570.2, 15.0.2210.4, 15.0.4510.2, 16.0.1220.3, 16.0.4315.2, 17.0.5045.3 or 17.0.1155.3. Install the vendor fixed build for each affected instance, starting with instances reachable from broad networks, using packages from the vendor update guide entry.

Timeline & sources

References

Related vulnerabilities & news