Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privileged SQL Server login
-
DeliverySubmit crafted input with special SQL elements
-
ExploitTrigger improper neutralization in SQL command
-
ExecutionElevate to higher database privileges
-
ImpactFull compromise of SQL Server instance
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 the attacker to already possess an authorized, low-privileged SQL Server login or control of an account/process with such access (CVSS PR:L), and access is local to the database engine context (AV:L) with no user interaction (UI:N). The description does not name a specific optional feature, protocol, or non-default configuration mode as a prerequisite, so the flaw appears reachable in standard authenticated use rather than only when an opt-in feature is enabled. Limiting factors that reduce real-world risk: valid authentication is mandatory (this is a privilege-escalation primitive, not a pre-auth remote hole), exploitation is not internet-facing, and CISA assesses it as not automatable - so it favors a targeted attacker who already has a foothold on or credentials to the SQL Server over opportunistic mass exploitation. |
| Impact | This is a genuine but not emergency-grade priority. The CVSS 3.1 base score of 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) describes a local, low-complexity, authenticated SQL injection yielding full confidentiality, integrity and availability impact - consistent with a privilege-elevation primitive rather than a remote network breach. The exploitation signals are notably cool: EPSS is only 0.07% (22nd percentile), CISA SSVC lists Exploitation as 'none' and Automatable as 'no' (though Technical Impact is 'total'), and there is no KEV listing and no public exploit identified at time of analysis. These signals are internally consistent - a local-only, authenticated flaw is harder to automate and mass-exploit, which aligns with the low EPSS and 'not automatable' SSVC rating. The one area of divergence is severity-versus-likelihood: Technical Impact is 'total' and C/I/A are all High, so the consequence of successful exploitation is severe even though the probability is currently low. The CVSS vector (AV:L, PR:L) is coherent with the description's 'authorized attacker ... locally,' so no conflict needs vendor verification here. Net: patch on a normal prioritized cycle, treating it as a post-authentication privilege-escalation risk on database hosts rather than a drop-everything internet-facing emergency. |
| Exploit ScenarioDerived | An attacker who already holds a low-privileged, authenticated SQL Server login (or has compromised an account/application with such access) submits a crafted query or input containing unneutralized special SQL elements. Because the vector is local and the scope is unchanged, this abuses the database engine's own privilege context to elevate from the limited login to higher-privileged execution on the SQL Server instance. No public exploit code has been identified at time of analysis, so exploitation currently requires custom development. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 15, 2026
Privilege escalation in Microsoft SQL Server lets an authenticated, low-privileged database user execute crafted SQL that is improperly neutralized, gaining the rights of a higher-privileged database or server context. Exploitation requires a valid low-privileged SQL Server login and local access to the database engine (CVSS:3.1/AV:L/PR:L/UI:N), so this is an insider- or foothold-driven escalation primitive rather than a pre-auth or internet-facing remote compromise; no public exploit has been identified at time of analysis, EPSS is very low at 0.07% (22nd percentile), and CISA SSVC records exploitation as none and automatable as no. The flaw spans SQL Server 2016 SP3 (GDR and Azure Connect Feature Pack), 2017 CU31/GDR, 2019 CU32/GDR, 2022 CU24/GDR, and 2025 CU3/GDR, and Microsoft has released patched builds for each branch.
Earlier versions of this analysis (1)
SQL injection in Microsoft SQL Server 2016-2025 allows authenticated high-privilege attackers to elevate privileges locally via improper neutralization of SQL command elements. Affected versions include SQL Server 2016 SP3, 2017, 2019, 2022, and 2025 across multiple cumulative updates and GDR releases. The CVSS 6.7 score reflects the requirement for high-privilege authentication and local attack vector, but the high confidentiality, integrity, and availability impact makes this a material risk for organizations running vulnerable SQL Server instances. Vendor-released patches are available.
RemediationAI
Apply the vendor patch for your servicing branch rather than assuming any single build covers all deployments: SQL Server 2016 SP3 GDR to 13.0.6485.1 or later, 2016 SP3 Azure Connect Feature Pack to 13.0.7080.1 or later, 2017 GDR to 14.0.2105.1 or later, 2017 CU 31 to 14.0.3525.1 or later, 2019 GDR to 15.0.2165.1 or later, 2019 CU 32 to 15.0.4465.1 or later, 2022 GDR to 16.0.1175.1 or later, 2022 CU 24 to 16.0.4250.1 or later, and 2025 GDR to 17.0.1110.1 or later; confirm the exact 2025 CU 3 fix level against the MSRC Update Guide before closing out that instance. Remediation details and downloads are at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-32176. Because exploitation requires an existing valid login plus local engine access, the highest-value compensating control is strict least privilege on SQL Server logins and database roles - audit and strip unnecessary sysadmin, db_owner, and CONTROL SERVER permissions, and remove shared or application logins that can reach the vulnerable code path. As a secondary measure, restrict interactive and remote local access to the database host to trusted administrators, since the attack is not internet-facing, and enable SQL Server audit or extended-event logging for privilege-escalation and unusual dynamic SQL activity; the trade-off is that aggressive permission pruning can break legitimate application functionality, so test role changes in a staging instance, and log-based detection provides visibility but cannot prevent exploitation on its own. Microsoft has classified the fix as available, and no vendor-released configuration-only workaround is identified in the available data, so patching remains the primary and preferred remedy.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 20 packages in microsoft, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-89, improper neutralization of special elements used in an SQL command, inside the SQL Server engine itself. Rather than a classic web-tier injection, the vulnerable code path builds or executes a SQL statement from input that an already-authenticated, low-privileged login can influence, allowing the injected elements to be evaluated in a security context with greater rights than the caller - the basis for the CVSS 3.1 score of 7.8 with confidentiality, integrity, and availability all rated High and scope Unchanged. The vector's AV:L places the attack locally in the database engine context, PR:L confirms that a valid low-privileged login (or control of a process holding one) is a hard prerequisite, and UI:N means no additional user action is needed once that access exists. Nothing in the available data names an optional feature, protocol, or non-default configuration as a precondition, so the issue appears reachable in standard authenticated use rather than only under an opt-in mode; the absence of batch-oriented exploitation signals (SSVC automatable: no, EPSS 0.07%) is consistent with a targeted, hands-on escalation rather than a mass-scannable flaw.
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
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Description states an authorized attacker elevates privileges locally, so AV:L and PR:L; SQL injection granting total engine control yields C:H/I:H/A:H with unchanged scope.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
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
A privilege-escalation flaw in Microsoft SQL Server (CVE-2026-32176) allows a low-privileged database login to gain the rights of a higher-privileged database or server context, potentially exposing regulated, financial, or customer data hosted on affected instances. Exploitation is not a remote, unauthenticated attack: it requires an existing valid SQL login plus local access to the database engine, meaning the practical threat is an insider or an attacker who has already established a foothold on a database host. Leadership should treat this as a containment and least-privilege issue across the SQL Server estate; the vulnerability is rated High (CVSS 7.8), but with very low EPSS and no public exploit identified at time of analysis, disciplined patch execution within the normal cycle is proportionate.
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.
Privilege elevation in Microsoft SQL Server (2016 SP3 through 2025) allows an authenticated attacker to inject crafted S
Remote code execution in Microsoft SQL Server (2016 SP3 through 2025) lets an authenticated attacker with low-privilege
SQL injection in Microsoft SQL Server (versions 2016 through 2025) enables an authenticated attacker to escalate privile
Remote code execution in Microsoft SQL Server (2016 SP3 through 2025) arises from unsafe deserialization of untrusted da
Privilege escalation via external file path control in Microsoft SQL Server affects versions 2016 through 2025, exploita
Local privilege escalation in Microsoft SQL Server allows an authenticated low-privileged user with local access to expl
EUVD-2026-22561
GHSA-vfhv-wjq9-p5qh
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB