Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAcquire low-privilege SQL Server credentials
-
DeliveryConnect to SQL Server over network (TCP 1433)
-
ExploitSubmit crafted T-SQL with injected special elements
-
ExecutionBypass SQL command sanitization
-
PersistTrigger privilege escalation within SQL Server
-
ImpactOperate as elevated/admin database principal
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid SQL Server login with at least low-level (non-guest) authentication credentials (PR:L per CVSS). The attacker must have network access to the SQL Server instance on its standard port (TCP 1433 by default) or via a named pipe/alternative transport. No special server configuration or non-default feature enablement is indicated - this affects standard SQL Server deployments across all supported servicing tracks. Exploitation is limited by the authentication prerequisite: unauthenticated attackers without any SQL credentials cannot exploit this vulnerability. Additionally, SQL Server instances not exposed to untrusted networks (e.g., behind strict firewall rules allowing only application-tier access) reduce the practical attack surface. |
| Impact | The CVSS 8.8 rating is well-supported by the vector: network-reachable (AV:N), low complexity (AC:L), low-privilege authentication required (PR:L), no user interaction (UI:N), and full C/I/A impact (S:U, C:H/I:H/A:H). The practical risk is meaningful - SQL Server instances are almost universally reachable by internal application users, contractors, and DBAs, making PR:L a low bar in most enterprise environments. No public exploit code has been identified and the vulnerability is not listed in the CISA KEV catalog, so opportunistic internet-scale exploitation is not confirmed; however, the low attack complexity means that once an organization's internal users have low-level SQL credentials, exploitation requires minimal sophistication. The scope of affected versions - four major releases and both servicing tracks - means the exposure surface is large. Even a mid-sized municipal IT team in koszalin running legacy SQL Server 2017 on a GDR track should treat patching as urgent, given that the jump from low-privilege to high-privilege database access can cascade into full server compromise or lateral movement via linked server configurations. |
| Exploit ScenarioDerived | An attacker who has obtained valid low-privilege SQL Server credentials - through phishing, credential stuffing, or insider access - connects to the target SQL Server over the network and submits crafted T-SQL containing injected special elements. The server processes the malformed input without proper sanitization, triggering a privilege escalation that grants the attacker database administrator or higher-level access, enabling full read/write/execute control over the instance. No public proof-of-concept exists at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 08, 2026
Privilege escalation via SQL injection in Microsoft SQL Server affects versions 2017 through 2025, allowing an authenticated low-privileged network user to gain elevated database privileges. The vulnerability stems from improper neutralization of special elements in SQL commands (CWE-89), and spans both Cumulative Update and General Distribution Release (GDR) servicing branches across all major SQL Server generations. Patch is available from Microsoft; no public exploit code or active exploitation (CISA KEV) confirmed at time of analysis.
RemediationAI
Apply the Microsoft-released patches for the appropriate servicing branch: SQL Server 2017 CU31 → upgrade to 14.0.3550.4 or later; SQL Server 2017 GDR → upgrade to 14.0.2130.4 or later; SQL Server 2019 CU32 → upgrade to 15.0.4490.9 or later; SQL Server 2019 GDR → upgrade to 15.0.2190.7 or later; SQL Server 2022 CU26 → upgrade to 16.0.4275.2 or later; SQL Server 2022 GDR → upgrade to 16.0.1200.5 or later; SQL Server 2025 CU8 → upgrade to 17.0.4085.5 or later; SQL Server 2025 GDR → upgrade to 17.0.1135.8 or later. Full advisory and update packages are available at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-66820. If immediate patching is not possible, enforce the principle of least privilege by auditing and removing unnecessary SQL logins, restricting low-privileged accounts to only the databases and schemas they require, and monitoring for anomalous privilege use in SQL Server audit logs. Note that restricting logins reduces the attacker pool but does not eliminate the vulnerability - patching remains the authoritative fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 8 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-89 (SQL Injection) occurs when user-supplied input containing SQL special elements is not properly sanitized before being incorporated into a SQL command. In this case, the injection vector exists within SQL Server's own T-SQL processing layer, allowing an attacker with an existing low-privilege SQL login to craft malicious SQL input that alters query logic and triggers privilege escalation. The vulnerability is exploitable over the network (AV:N), requires only low-privilege credentials (PR:L), and demands no user interaction. Affected products span Microsoft SQL Server 2017 (build family 14.x), 2019 (15.x), 2022 (16.x), and 2025 (17.x), covering both Cumulative Update (CU) and GDR servicing tracks. The ENISA EUVD ID is EUVD-2026-73378. Reported through Microsoft's own security channel (secure@microsoft.com).
Know when Sql Server 2017 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Network-reachable SQL Server, low-privilege auth required (PR:L), no interaction needed, privilege escalation yields full C/I/A compromise within the database scope.
Primary rating from Vendor (microsoft).
CVSS VectorVendor: microsoft
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
Microsoft SQL Server versions 2017-2025 contain a privilege escalation vulnerability allowing authenticated database users with limited permissions to elevate to administrative access levels. This creates organizational risk of unauthorized data access and potential database manipulation across enterprise deployments relying on SQL Server for critical business data. A vendor patch is available and deployment should be prioritized across all affected instances.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
More in Sql Server 2017
View allSQL Server 2016-2025 contains an improper access control flaw that allows authenticated network attackers to escalate pr
Heap-based buffer overflow in Microsoft SQL Server 2017, 2019, 2022, and 2025 (x64) can be triggered over the network an
Microsoft SQL Server Elevation of Privilege Vulnerability. Rated critical severity (CVSS 9.8), this vulnerability is rem
Microsoft SQL Server Elevation of Privilege Vulnerability. Rated critical severity (CVSS 9.8), this vulnerability is rem
Heap-based buffer overflow in Microsoft SQL Server 2017 and 2019 enables unauthenticated network attackers to execute ar
SQL injection in Microsoft SQL Server enables a low-privileged authenticated attacker to escalate database privileges ov
Privilege escalation in Microsoft SQL Server 2017 through 2025 allows any low-privileged authenticated database user to
Heap-based buffer overflow in Microsoft SQL Server 2017 through 2025 enables an authenticated low-privilege network atta
Remote code execution is possible in Microsoft SQL Server 2017 through 2025 via a heap-based buffer overflow (CWE-122) t
SQL injection in Microsoft SQL Server (versions 2017 through 2025) enables a network-authenticated low-privilege attacke
Heap-based buffer overflow in Microsoft SQL Server (versions 2017 through 2025) enables any authenticated network attack
Remote code execution in Microsoft SQL Server affects versions 2017 through 2025 via an integer overflow that triggers a
EUVD-2026-73378
GHSA-wccj-w6f2-7r8j
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB