Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privileged authenticated SQL Server access
-
DeliverySubmit crafted input to vulnerable SQL command
-
ExploitBreak out via improper neutralization (CWE-89)
-
ExecutionExecute SQL with elevated privileges
-
ImpactGain full control 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 an existing authorized (low-privilege, PR:L) account or session on the affected SQL Server instance and local access to it (AV:L); it is not remotely reachable by an unauthenticated attacker. The available sources do not name the specific SQL command, stored procedure, feature, or configuration mode where input is improperly neutralized, so the exact triggering surface is not described in the available sources. Limiting factors: the attacker must already be authenticated to the database, exploitation is local only, SSVC marks it not automatable (cannot be mass-exploited), and the affected product must be an unpatched build below the fixed versions - SQL Server 2016 SP3 GDR <13.0.6485.1, 2016 SP3 Azure Connect Feature Pack <13.0.7080.1, 2017 GDR <14.0.2105.1, 2017 CU31 <14.0.3525.1, 2019 GDR <15.0.2165.1, 2019 CU32 <15.0.4465.1, 2022 GDR <16.0.1175.1, 2022 CU24 <16.0.4250.1, 2025 GDR <17.0.1110.1, and 2025 CU3 at 17.0.4030.1. |
| Impact | Signals are consistent and point to a genuine but non-urgent, authenticated local privilege-escalation issue rather than a mass-exploitation threat. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, 7.8 High) describes a locally-exploitable flaw requiring low privileges, with no user interaction and total compromise of confidentiality, integrity and availability within the SQL Server process scope. SSVC agrees and tempers urgency: Exploitation=none (no observed or public exploitation), Automatable=no (consistent with a local, authenticated vector that cannot be sprayed at scale), Technical Impact=total (matching C:H/I:H/A:H). EPSS is very low at 0.05% (17th percentile), and the CVE is not on CISA KEV, so there is no evidence of active exploitation. The vuln.today 'this_week' priority is driven by the high technical impact and vendor patch availability, not by exploitation pressure. Net: patch on a normal prioritized cycle - this is a real total-impact flaw in widely deployed software, but the local-only, authenticated, non-automatable profile makes it a routine privilege-escalation fix rather than an emergency. Note the local vector means an attacker must already have authenticated access to the SQL Server host or instance, which materially limits real-world risk. |
| Exploit ScenarioDerived | An attacker who already holds a low-privileged authenticated account on the SQL Server instance submits crafted input that is improperly neutralized and injected into a SQL command (CWE-89), causing it to execute with higher privileges and yielding full control over the database server process. Because the CVSS vector is AV:L/PR:L, this requires prior local/authenticated access and cannot be performed by an anonymous remote attacker. No public exploit identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 26, 2026
Local privilege escalation in Microsoft SQL Server allows an authenticated low-privileged user with local access to exploit SQL injection and gain higher privileges on affected builds. The flaw is CWE-89 improper neutralization of special elements in SQL commands; it requires an existing authorized account or session and is not remotely reachable by an unauthenticated attacker. No public exploit is identified at time of analysis, EPSS is 0.05%, and vendor patches are available for the listed SQL Server branches.
Earlier versions of this analysis (1)
SQL injection in Microsoft SQL Server 2016-2025 allows authenticated high-privilege attackers to elevate privileges locally through improper neutralization of special elements in SQL commands. Affected versions span SQL Server 2016 SP3 through 2025, with patch available from Microsoft. Attack requires local access and high-privilege credentials (PR:H in CVSS vector), limiting real-world impact to insider threats or compromised administrative accounts; CVSS 6.7 reflects high confidentiality, integrity, and availability impact but constrained by authentication and local-only attack vector.
RemediationAI
Vendor-released patch: apply the Microsoft SQL Server security update for the applicable branch, with fixed versions listed as 2016 SP3 GDR 13.0.6485.1 or later, 2016 SP3 Azure Connect Feature Pack 13.0.7080.1 or later, 2017 GDR 14.0.2105.1 or later, 2017 CU31 14.0.3525.1 or later, 2019 GDR 15.0.2165.1 or later, 2019 CU32 15.0.4465.1 or later, 2022 GDR 16.0.1175.1 or later, 2022 CU24 16.0.4250.1 or later, and 2025 GDR 17.0.1110.1 or later. SQL Server 2025 CU3 is listed at 17.0.4030.1; use the MSRC update guide to obtain the fixed CU3 build because the provided data does not state a higher CU3 version. No specific workaround is described in the available sources; the vendor update is the remediation. Advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-32167
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
SQL Server is Microsoft's relational database management system. CVE-2026-32167 is a CWE-89 SQL injection issue in which special elements used in an SQL command are not properly neutralized, allowing an authorized attacker to elevate privileges locally. The CVSS vector is AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, so exploitation requires local access and an authenticated low-privileged account rather than an unauthenticated remote path. The available sources do not name the specific SQL command, stored procedure, feature, or configuration mode where input is improperly neutralized, so the exact triggering surface is not described in the available sources. CPE data covers SQL Server 2016 SP3 GDR, 2016 SP3 Azure Connect Feature Pack, 2017 CU31 and GDR, 2019 CU32 and GDR, 2022 GDR and x64 CU24, and 2025 CU3 and x64 GDR; SSVC lists exploitation as none, automatable as no, and technical impact as total.
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
Local, authenticated SQL injection: AV:L and PR:L because an authorized low-privilege database account is required; AC:L and no UI, with total C/I/A impact confined to the instance 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
Microsoft SQL Server contains a high-severity local privilege escalation flaw (CVE-2026-32167) that enables an authenticated low-privileged user with local access to elevate privileges through SQL injection. This vulnerability affects organizations running unpatched SQL Server instances, potentially allowing an internal attacker to compromise database integrity and access sensitive information. Leadership should prioritize patching to mitigate insider threat risks and safeguard critical data assets.
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
Privilege escalation in Microsoft SQL Server lets an authenticated, low-privileged database user execute crafted SQL tha
EUVD-2026-22558
GHSA-g255-j628-fcw3
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB