Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege SQL Server credentials
-
DeliveryConnect to SQL Server over network (port 1433)
-
ExploitSubmit crafted SQL injection payload
-
ExecutionBypass engine-level authorization check
-
PersistExecute as elevated database principal
-
ImpactExfiltrate, modify, or destroy database contents
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 minimum low (non-administrative) database privileges - PR:L in the CVSS vector confirms authentication is mandatory. The attacker must have network reachability to the SQL Server instance (port 1433 TCP or configured listener). No specific non-default feature or configuration setting is described as a prerequisite beyond holding a valid credential. What limits exploitation: unauthenticated attackers cannot exploit this; the vulnerability is contained to the SQL Server instance (S:U, no scope change to host OS or adjacent systems); and SQL Server 2016 and earlier are not listed as affected, limiting exposure to organizations running 2017 or newer. |
| Impact | CVSS 8.8 with AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H presents a high-priority remediation target for organizations running multi-tenant SQL Server instances, shared database infrastructure, or environments where external or minimally-trusted accounts hold SQL logins. Attack complexity is low and requires only a valid low-privilege SQL Server credential - a common condition in development environments, SaaS backends, and shared hosting scenarios. EPSS data was not provided, preventing precise exploitation probability estimation. Neither KEV listing nor public POC code was identified, which somewhat reduces immediate urgency compared to actively exploited SQLi flaws. However, SQL Server's enterprise ubiquity and the low exploitation barrier (authenticated, low-priv, no UI) make this a realistic threat model for insider threats and credential-compromised scenarios. The S:U (unchanged scope) designation limits blast radius to the SQL Server instance itself rather than adjacent systems, but C:H/I:H/A:H on a database engine implies potential for full data exfiltration, data tampering, and service disruption within that instance. |
| Exploit ScenarioDerived | An attacker who has obtained a low-privilege SQL Server login - through credential theft, phishing, or insider access - connects to the SQL Server instance over the network and submits a specially crafted SQL statement that exploits the injection flaw within the engine. The injected payload manipulates SQL command evaluation to elevate the attacker's effective database permissions, granting access to data or operations reserved for higher-privilege roles. No public exploit code was identified at time of analysis, but the low attack complexity suggests weaponization would be straightforward once the precise injection point is reverse-engineered from the patch. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 08, 2026
SQL injection in Microsoft SQL Server enables a low-privileged authenticated attacker to escalate database privileges over a network connection. Affected versions span all active servicing branches of SQL Server 2017, 2019, 2022, and 2025 - including both GDR and Cumulative Update channels - making this a broad-surface enterprise concern. Vendor-released patches are available across all affected branches; no public exploit code or CISA KEV listing identified at time of analysis.
RemediationAI
Apply the Microsoft-released patches for the specific SQL Server version and servicing branch in use. For SQL Server 2017 GDR, update to 14.0.2130.4 or later; for 2017 CU 31, update to 14.0.3550.4 or later. For SQL Server 2019 GDR, update to 15.0.2190.7 or later; for 2019 CU 32, update to 15.0.4490.9 or later. For SQL Server 2022 GDR, update to 16.0.1200.5 or later; for 2022 CU 26, update to 16.0.4275.2 or later. For SQL Server 2025 GDR, update to 17.0.1135.8 or later; for 2025 CU 8, update to 17.0.4085.5 or later. Consult the MSRC advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-66819 for patch download links. As a compensating control pending patching, restrict SQL Server logins to the minimum required accounts, audit and remove unnecessary low-privilege logins, and enforce network-level access controls (firewall rules, private VNet placement) to reduce the pool of potential attackers who hold valid credentials.
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) reflects improper neutralization of special elements in SQL command construction within the SQL Server engine itself - not in an application layer above it. The flaw resides inside the RDBMS, meaning crafted SQL submitted by a low-privileged database principal can manipulate command interpretation to bypass authorization boundaries. The breadth of affected versions - SQL Server 2017 (EOL mainstream support), 2019, 2022, and the newly released 2025 - across both General Distribution Release (GDR, security-only) and Cumulative Update (CU, full update) servicing models indicates the vulnerable code path spans multiple engine generations. Reported via secure@microsoft.com confirms MSRC as the coordinating authority.
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 injection requiring only low-privilege SQL credentials; full CIA impact within the instance is consistent with privilege escalation to dbo or sysadmin.
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
SQL Server installations across versions 2017, 2019, 2022, and 2025 are vulnerable to privilege escalation by any authenticated database user, enabling unauthorized access to sensitive business data and administrative functions. This threatens customer records, financial data, and intellectual property across your entire SQL Server infrastructure.
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
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
Privilege escalation in Microsoft SQL Server (versions 2017, 2019, 2022, and 2025) allows a low-privileged authenticated
EUVD-2026-73814
GHSA-9c22-76g9-f83j
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB