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 credential
  2. Delivery
    Connect to SQL Server over network (TCP 1433)
  3. Exploit
    Issue crafted T-SQL file-path command
  4. Execution
    CWE-73 path control bypasses directory restrictions
  5. Persist
    Access or overwrite sensitive OS-level file
  6. Impact
    Escalate to elevated OS or sysadmin privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
Exploitation Conditions

Exploitation requires a valid, authenticated SQL Server login with at least low-privilege access (mapped to the PR:L CVSS metric and the description's 'authorized attacker' qualifier). The attacker must be able to invoke file-referencing T-SQL commands such as BULK INSERT, OPENROWSET, or BACKUP/RESTORE - meaning the login must have the relevant permissions (e.g., ADMINISTER BULK OPERATIONS or BULKADMIN role) or the attack surface must be exposed through another SQL Server feature. The description specifies privilege escalation is 'local,' meaning the escalation occurs on the host system running SQL Server rather than against a remote target. The SSVC designation of Automatable: no implies that the attack path requires steps that cannot be trivially automated or scripted into a single unauthenticated payload. Exploitation is limited by the need for a valid SQL Server credential, the specific permissions required to invoke file I/O operations, and the non-automatable nature confirmed by SSVC. There is an unresolved ambiguity between the CVSS AV:N vector and the 'locally' qualifier in the description - defenders should confirm with the Microsoft advisory whether this is exploitable by remote SQL sessions or only from a local host session.

Impact

The official CVSS 3.1 score of 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) reflects a high-severity, low-complexity attack requiring only a low-privilege SQL Server credential. However, real-world risk must be contextualized against the full signal set. EPSS at 0.24% (15th percentile) indicates that current exploitation probability is low despite the high CVSS - consistent with SSVC reporting Exploitation: none and Automatable: no. The 'Automatable: no' designation suggests the exploitation path requires human judgment or interaction beyond simply sending a single request. SSVC does rate Technical Impact as total, confirming that a successful exploit yields complete system compromise, so the risk is high if an attacker is specifically targeting a SQL Server instance. The vulnerability is not in CISA KEV, and no public POC has been identified at time of analysis. One signal inconsistency to flag: the CVSS AV:N vector versus the description's 'locally' qualifier on privilege escalation - defenders should verify with the Microsoft advisory whether this is exploitable by remote authenticated SQL users or requires an existing local session on the database host. The tags include 'Information Disclosure' which is not reflected in the primary description of privilege escalation; this may indicate a secondary impact pathway or a tagging artifact.

Exploit ScenarioDerived

An attacker with a low-privilege SQL Server login - such as a developer, application service account, or compromised credential obtained via phishing - connects to a vulnerable SQL Server instance over the network and issues a T-SQL command (e.g., a BULK INSERT or BACKUP statement) with a crafted file path argument. The CWE-73 flaw allows the path to escape the intended directory scope, directing a read or write operation to a sensitive OS-level file, which SQL Server processes under its service account context. The attacker leverages this file access to escalate from a database-level principal to OS-level or sysadmin-equivalent privileges on the host. No public exploit code has been identified at time of analysis.

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

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

Alert me

AnalysisAIv2 – Aug 04, 2026

Privilege escalation via external file path control in Microsoft SQL Server affects versions 2016 through 2025, exploitable by any low-privilege authenticated SQL Server user. CWE-73 (External Control of File Name or Path) allows an authorized attacker to supply or manipulate file path parameters - likely through SQL operations such as BULK INSERT, BACKUP/RESTORE, or FILESTREAM commands - to escape intended access boundaries and elevate local operating system or SQL Server privileges. No public exploit code has been identified and the vulnerability is not listed in the CISA KEV catalog; however, the SSVC framework rates Technical Impact as total, indicating full system compromise is achievable upon successful exploitation. The EPSS score of 0.24% (15th percentile) reflects low current exploitation probability.

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

Local privilege elevation in Microsoft SQL Server (2016 SP3 through 2025) allows an already-authenticated database user to gain higher privileges on the host by controlling a file name or path used by the server engine. The CVSS 3.1 base score is 7.8 with high impact to confidentiality, integrity, and availability, and Microsoft has released a patch. There is no public exploit identified at time of analysis, and the CVE is not in CISA KEV.

RemediationAI

The primary fix is to apply Microsoft's released cumulative updates or GDR patches for each affected branch, as documented in the Microsoft Security Response Center advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-55002. Specific fixed versions are: SQL Server 2016 SP3 GDR update to 13.0.6500.1 or later; SQL Server 2016 SP3 Azure Connect Feature Pack to 13.0.7095.1 or later; SQL Server 2017 CU 31 to 14.0.3540.1 or later; SQL Server 2017 GDR to 14.0.2120.1 or later; SQL Server 2019 CU 32 to 15.0.4480.2 or later; SQL Server 2019 GDR to 15.0.2180.2 or later; SQL Server 2022 CU 25 to 16.0.4262.2 or later; SQL Server 2022 GDR to 16.0.1190.2 or later; SQL Server 2025 CU 6 to 17.0.4060.2 or later; and SQL Server 2025 GDR to 17.0.1125.2 or later. Until patching is complete, reduce risk by auditing and restricting SQL logins that have access to file I/O operations - specifically, revoke or restrict BULKADMIN role membership and ADMINISTER BULK OPERATIONS permission for accounts that do not require it, as these are common enablers of file path manipulation in SQL Server. Additionally, restrict SQL Server service account privileges to the minimum required OS permissions (avoid LocalSystem or high-privilege accounts), which limits the escalation ceiling even if the vulnerability is triggered. Ensure network access to SQL Server ports (1433/TCP by default) is restricted to authorized hosts via firewall rules to reduce the network attack surface.

Affected VersionsENISA

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

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-73 (External Control of File Name or Path) describes a class of vulnerability where an application constructs file paths using externally-controlled input without sufficient validation, enabling attackers to traverse directory boundaries or redirect file operations to unintended locations. In the Microsoft SQL Server context, this is likely triggered through privileged file I/O operations accessible to low-privilege SQL principals - candidates include T-SQL constructs like BULK INSERT, OPENROWSET with file source, BACKUP TO, RESTORE FROM, or xp_cmdshell-adjacent functionality. The attacker-controlled path may redirect read or write operations to sensitive OS-level files, enabling privilege escalation from a SQL Server login to a higher OS or sysadmin role. Affected products span five major release branches per CPE: SQL Server 2016 SP3 (GDR and Azure Connect Feature Pack), 2017 (CU 31 and GDR), 2019 (CU 32 and GDR), 2022 (GDR and CU 25), and 2025 (CU 6 and GDR). There is a notable tension between the CVSS vector (AV:N, implying network-reachable attack surface) and the description's use of 'locally' to describe privilege escalation - this likely means the escalation effect is on the local host system, not that the attacker must be physically present, since SQL Server is inherently a network-accessible service.

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 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
ENISA EUVD HIGH
vuln.today AI 8.8 HIGH

PR:L confirmed by 'authorized attacker' language; AV:N retained as SQL Server is network-accessible, with local escalation being the impact, not the vector.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/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
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

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

DescriptionNVD

External control of file name or path in SQL Server allows an authorized attacker to elevate privileges locally.

Executive ViewAI

Why It Matters

Microsoft SQL Server instances (2016-2025) in your environment face a privilege escalation risk allowing internal database users to gain unauthorized system-level access through file path manipulation in database operations. This represents a critical insider threat vector; successful exploitation could compromise data integrity, enable system access, or disrupt services. Immediate patching is necessary to maintain database access controls and prevent privilege abuse.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
High
Microsoft SQL Server is a dominant enterprise RDBMS across industries worldwide.
Threat Intel
1
1 sources
Vendor Status
Publicly Disclosed:No
Exploited:No
Latest Software Release:Exploitation Less Likely
Data Quality
7 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 No
EPSS 0.2%
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

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: +5

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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