CVE-2026-66820: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in Microsoft Microsoft SQL Server 2017 (CU 31)
Description
CVE-2026-66820 is a high severity SQL injection vulnerability in Microsoft SQL Server 2017 (CU 31) that allows an authorized attacker to elevate privileges over a network by improper neutralization of special elements in SQL commands. The vulnerability affects multiple versions prior to specific fixed builds. An official fix is available from Microsoft.
CVSS v3.1
Score 8.8high
Affected software
Microsoft
Microsoft SQL Server 2017 (CU 31)
Microsoft
Microsoft SQL Server 2017 (GDR)
Microsoft
Microsoft SQL Server 2019 (CU 32)
Microsoft
Microsoft SQL Server 2019 (GDR)
Microsoft
Microsoft SQL Server 2022 (CU 26)
Microsoft
Microsoft SQL Server 2022 (GDR)
Microsoft
Microsoft SQL Server 2025 (CU8)
Microsoft
Microsoft SQL Server 2025 for x64-based Systems (GDR)
pkg:maven/microsoft/sqlserverRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CVE-2026-66820) involves improper neutralization of special elements used in SQL commands (SQL injection) in Microsoft SQL Server 2017 (CU 31). It allows an authorized attacker to elevate privileges remotely over a network. The CVSS 3.1 score is 8.8 (high severity), reflecting network attack vector, low attack complexity, required privileges, no user interaction, and high impact on confidentiality, integrity, and availability. Multiple affected version ranges are identified, with official patches released by Microsoft. No known exploits in the wild have been reported.
Potential Impact
An authorized attacker can exploit this SQL injection vulnerability to elevate privileges on the affected Microsoft SQL Server instances remotely. This can lead to full compromise of the database server, including unauthorized data access, modification, or denial of service.
Mitigation Recommendations
An official fix is available from Microsoft. Users should apply the security updates provided in the Microsoft advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-66820 to remediate this vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- microsoft
- Date Reserved
- 2026-07-27T19:02:26.601Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- official-fix
- Vendor Advisory Urls
- [{"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-66820","vendor":"Microsoft"}]
Threat ID: 6aa044c9acd9273b49fa7b30
Added to database: 09/08/2026, 17:24:25 UTC
Last enriched: 10/16/2026, 20:50:14 UTC
Last updated: 10/21/2026, 13:40:30 UTC
Views: 26
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.