Skip to main content
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privilege SQL Server credentials
  2. Delivery
    Connect to SQL Server over network (TCP 1433)
  3. Exploit
    Identify injectable stored procedure or SQL path
  4. Execution
    Craft SQL injection payload targeting privilege escalation
  5. Persist
    Execute payload to gain elevated database privileges
  6. Impact
    Access or modify data as privileged 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, authenticated SQL Server login with at minimum low-privilege access to the database instance (PR:L per CVSS vector). The attacker must identify and reach the specific injectable SQL path within the server engine, which contributes to the High attack complexity (AC:H) rating - exploitation is not a simple one-packet trigger against a default configuration. The description's qualifier 'authorized attacker' confirms that unauthenticated exploitation is not possible; an attacker must first possess valid credentials. The 'locally' qualifier in the description may limit the privilege escalation effect to the host system rather than enabling lateral movement to remote systems, though this should be verified via the MSRC advisory. Exploitation is limited by: requirement for prior credential compromise or insider access, high attack complexity implying specific triggerable conditions (likely a particular stored procedure, function, or permission path), and network accessibility to the SQL Server port (default TCP 1433).

Impact

The official CVSS 3.1 score of 7.5 with vector AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H conveys significant technical impact (full triad compromise) but with meaningful barriers: low-privilege authenticated access (PR:L) and high attack complexity (AC:H). One notable tension exists: the description states privilege escalation occurs 'locally,' while AV:N indicates a network attack vector - this discrepancy should be verified against the Microsoft MSRC advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-47296. It is plausible the network vector reflects that SQL connections are made over the network, while 'locally' describes the privilege elevation effect on the server host rather than physical local access. SSVC assessment (Exploitation: none, Automatable: no, Technical Impact: total) reinforces that while the potential damage ceiling is high, exploitation is neither trivial nor currently observed at scale. EPSS at 0.57% (44th percentile) aligns with SSVC - real-world mass exploitation is not imminent, but the existence of a public POC on GitHub meaningfully lowers the bar for motivated insiders or attackers who have already gained SQL Server credentials. This is a genuine risk for environments where low-privilege SQL accounts are issued broadly, or where database credentials have been compromised in a prior attack phase.

Exploit ScenarioDerived

An attacker who has obtained low-privilege SQL Server credentials - through phishing, credential stuffing, or lateral movement - connects to the SQL Server instance over the network and submits a crafted SQL statement targeting the vulnerable injection point. The injected payload manipulates the server-side query to execute in an elevated context, granting the attacker database owner or system administrator-level permissions without legitimate authorization. A public proof-of-concept is available at https://gist.github.com/alon710/b22bbe2f241e5aee1cd66aaa6dd091ce, lowering the technical bar for this scenario.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Aug 04, 2026

SQL injection in Microsoft SQL Server (versions 2016 through 2025) enables an authenticated attacker to escalate privileges on the database server. The flaw, tracked as CWE-89, exists within the SQL Server engine's handling of user-supplied SQL input, allowing insufficient neutralization to be leveraged for privilege elevation. Publicly available exploit code exists (GitHub gist), though CISA has not yet added this to the KEV catalog and SSVC indicates no confirmed active exploitation; EPSS sits at 0.57% (44th percentile), suggesting low but non-trivial opportunistic exploitation risk.

Earlier versions of this analysis (1)
v1 Jul 14, 2026 - 17:35 CVSS 7.8

Local privilege elevation in Microsoft SQL Server (2016 SP3 through 2025) allows an already-authenticated database user to escalate their privileges by injecting crafted special elements into an SQL command. Microsoft has released a fix and reported the flaw; there is no public exploit identified at time of analysis and it is not listed in CISA KEV. Because exploitation requires existing low-level access, the realistic threat is an insider or a compromised low-privilege account pivoting to higher database privileges.

RemediationAI

Apply the Microsoft-released patches via the MSRC advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-47296. Target patch versions per release line are: SQL Server 2016 SP3 GDR → 13.0.6500.1 or later; SQL Server 2016 SP3 Azure Connect Feature Pack → 13.0.7095.1 or later; SQL Server 2017 GDR → 14.0.2120.1 or later; SQL Server 2017 CU 31 → 14.0.3540.1 or later; SQL Server 2019 GDR → 15.0.2180.2 or later; SQL Server 2019 CU 32 → 15.0.4480.2 or later; SQL Server 2022 GDR → 16.0.1190.2 or later; SQL Server 2022 CU 25 → 16.0.4262.2 or later; SQL Server 2025 GDR → 17.0.1125.2 or later; SQL Server 2025 CU 6 → 17.0.4060.2 or later. Where patching cannot occur immediately, compensating controls should include restricting SQL Server logins to only those principals that strictly require access (minimize PR:L attack surface), auditing and revoking unnecessary EXECUTE permissions on stored procedures and extended stored procedures (which are common injection pivot points), enabling SQL Server Audit to log privilege-sensitive operations for anomaly detection, and ensuring SQL Server instances are not internet-exposed - the AC:H constraint means exploitation requires specific knowledge, making network segmentation an effective friction layer. Note that disabling features may impact applications dependent on those stored procedures.

Affected VersionsENISA

Microsoft SQL Server 2025 for x64-based Systems (GDR) 17.0.1050.2 <17.0.1125.2
Microsoft SQL Server 2025 (CU 6) 17.0.4060.2 <17.0.4060.2
Microsoft SQL Server 2022 for x64-based Systems (CU 25) 16.0.4260.1 <16.0.4262.2
Microsoft SQL Server 2016 Service Pack 3 (GDR) 13.0.0 <13.0.6500.1
Microsoft SQL Server 2016 Service Pack 3 Azure Connect Feature Pack 13.0.0 <13.0.7095.1
Microsoft SQL Server 2017 (GDR) 14.0.0 <14.0.2120.1
Microsoft SQL Server 2019 (CU 32) 15.0.0.0 <15.0.4480.2
Microsoft SQL Server 2022 (GDR) 16.0.0 <16.0.1190.2
Microsoft SQL Server 2019 (GDR) 15.0.0 <15.0.2180.2
Microsoft SQL Server 2017 (CU 31) 14.0.0 <14.0.3540.1

Affected Packages

euvd microsoft_sql_server_2016_service_pack_3_azure_connect_feature_pack fix: 13.0.7095.1
euvd microsoft_sql_server_2016_service_pack_3_gdr fix: 13.0.6500.1
euvd microsoft_sql_server_2017_cu_31 fix: 14.0.3540.1
euvd microsoft_sql_server_2017_gdr fix: 14.0.2120.1
euvd microsoft_sql_server_2019_cu_32 fix: 15.0.4480.2
euvd microsoft_sql_server_2019_gdr fix: 15.0.2180.2
euvd microsoft_sql_server_2022_for_x64_based_systems_cu_25 fix: 16.0.4262.2
euvd microsoft_sql_server_2022_gdr fix: 16.0.1190.2
euvd microsoft_sql_server_2025_cu_6 fix: 17.0.4060.2
euvd microsoft_sql_server_2025_for_x64_based_systems_gdr fix: 17.0.1125.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 10 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 (Improper Neutralization of Special Elements in SQL Commands) describes a failure to sanitize user-controlled input before it is incorporated into a SQL query, enabling an attacker to alter the query's logic. In this instance the injection surface resides within Microsoft SQL Server's server-side processing - not a web application layer - meaning an authenticated database-level principal can craft SQL that the engine executes with elevated context. The affected CPE strings span cpe:2.3:a:microsoft:microsoft_sql_server_2016_service_pack_3_(gdr) through cpe:2.3:a:microsoft:microsoft_sql_server_2025_for_x64-based_systems_(gdr), confirming the vulnerability is present across five major SQL Server release lines and their respective cumulative update and GDR servicing branches. The attack complexity is rated High (AC:H), indicating that exploitation requires specific conditions beyond simply having a valid connection, likely related to specific stored procedures, internal functions, or schema configurations that expose the injectable path.

Know when Microsoft Sql Server 2016 Service Pack 3 Gdr 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

Vendor (microsoft) PRIMARY HIGH
NVD 7.5 HIGH
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
ENISA EUVD HIGH
vuln.today AI 7.5 HIGH

PR:L for required authenticated SQL access; AC:H for specific triggerable injection path; AV:N as SQL connections traverse the network even when privilege impact is server-local.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (microsoft).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Analysis Updated
Aug 04, 2026 - 00:31 vuln.today
v2 - CVSS changed
CVSS changed
Aug 04, 2026 - 00:22 NVD
7.8 (HIGH) 7.5 (HIGH)
CVE Published
Jul 14, 2026 - 17:04 nvd
HIGH 7.8

DescriptionNVD

Improper neutralization of special elements used in an sql command ('sql injection') in SQL Server allows an authorized attacker to elevate privileges locally.

Executive ViewAI

Why It Matters

Microsoft SQL Server versions 2016 through 2025 contain a SQL injection vulnerability (CVE-2026-47296) that allows authenticated database users to escalate to administrative privileges. With publicly available exploit code and a 7.5 CVSS score, this creates an immediate privilege escalation risk across organizations where database access is granted to application service accounts, contractors, or less-trusted internal users.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.6%
Top 56% exploitable
Prevalence
High
SQL Server widely deployed across enterprise environments globally
Threat Intel
1
1 sources
Vendor Status
Publicly Disclosed:No
Exploited:No
Latest Software Release:Exploitation Less Likely
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

64
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: +5

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy