Microsoft SQL Server Elevation of Privilege Vulnerability
Improper neutralization of special elements used in an sql command ('sql injection') in SQL Server allows an authorized attacker to elevate privileges over a network.
- Published
- Jul 14, 2026
- Updated
- Sep 25, 2026
- EPSS
- 0.7% · 51th percentile
- CWE
- CWE-89
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
30
Monitor
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.7%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 7.5
- CNA · microsoft
- 7.5
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpAffected systems
| Vendor | Product | CPE |
|---|---|---|
| microsoft | sql server 2016 | cpe:2.3:a:microsoft:sql_server_2016 |
| microsoft | sql server 2017 | cpe:2.3:a:microsoft:sql_server_2017 |
| microsoft | sql server 2019 | cpe:2.3:a:microsoft:sql_server_2019 |
| microsoft | sql server 2022 | cpe:2.3:a:microsoft:sql_server_2022 |
| microsoft | sql server 2025 | cpe:2.3:a:microsoft:sql_server_2025 |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- microsoft sql server 201613.0.6300.2 and later · before 13.0.6500.1
- microsoft sql server 201613.0.7000.253 and later · before 13.0.7095.1
- microsoft sql server 201714.0.1000.169 and later · before 14.0.2120.1
- microsoft sql server 201714.0.3006.16 and later · before 14.0.3540.1
- microsoft sql server 201915.0.2000.5 and later · before 15.0.2180.2
- microsoft sql server 201915.0.4003.23 and later · before 15.0.4480.2
- microsoft sql server 202216.0.1000.6 and later · before 16.0.1190.2
- microsoft sql server 202216.0.4003.1 and later · before 16.0.4262.2
- microsoft sql server 202517.0.1000.7 and later · before 17.0.1125.2
- microsoft sql server 202517.0.4006.2 and later · before 17.0.4060.2
Versions reported by the vendor
Affected version ranges reported by the assigning authority (microsoft). Independent of NVD's CPE analysis and usually ahead of it.
Microsoft Microsoft SQL Server 2016 Service Pack 3 (GDR)
- 13.0.0 and later · before 13.0.6500.1affected
Microsoft Microsoft SQL Server 2016 Service Pack 3 Azure Connect Feature Pack
- 13.0.0 and later · before 13.0.7095.1affected
Microsoft Microsoft SQL Server 2017 (CU 31)
- 14.0.0 and later · before 14.0.3540.1affected
Microsoft Microsoft SQL Server 2017 (GDR)
- 14.0.0 and later · before 14.0.2120.1affected
Microsoft Microsoft SQL Server 2019 (CU 32)
- 15.0.0.0 and later · before 15.0.4480.2affected
Microsoft Microsoft SQL Server 2019 (GDR)
- 15.0.0 and later · before 15.0.2180.2affected
Microsoft Microsoft SQL Server 2022 (GDR)
- 16.0.0 and later · before 16.0.1190.2affected
Microsoft Microsoft SQL Server 2022 for x64-based Systems (CU 25)
- 16.0.4260.1 and later · before 16.0.4262.2affected
Microsoft Microsoft SQL Server 2025 (CU 6)
- 17.0.4060.2 and later · before 17.0.4060.2affected
Microsoft Microsoft SQL Server 2025 for x64-based Systems (GDR)
- 17.0.1050.2 and later · before 17.0.1125.2affected
Same product
microsoft: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-54118Microsoft SQL Server Remote Code Execution Vulnerability39Monitor
- CVE-2026-54117Microsoft SQL Server Remote Code Execution Vulnerability39Monitor
- CVE-2024-37980Microsoft SQL Server Elevation of Privilege Vulnerability39Monitor
- CVE-2026-21262SQL Server Elevation of Privilege Vulnerability36Monitor
- CVE-2025-24999Microsoft SQL Server Elevation of Privilege Vulnerability36Monitor
- CVE-2024-37965Microsoft SQL Server Elevation of Privilege Vulnerability36Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Microsoft SQL Server 2016 for x64-based Systems Service Pack 3 (GDR) | 13.0.6500.1 · KB5102340 | Microsoft (MSRC) |
| Microsoft SQL Server 2016 for x64-based Systems Service Pack 3 Azure Connect Feature Pack | 13.0.7095.1 · KB5102339 | Microsoft (MSRC) |
| Microsoft SQL Server 2017 for x64-based Systems (CU 31) | 14.0.3540.1 · KB5102337 | Microsoft (MSRC) |
| Microsoft SQL Server 2017 for x64-based Systems (GDR) | 14.0.2120.1 · KB5102338 | Microsoft (MSRC) |
| Microsoft SQL Server 2019 for x64-based Systems (CU 32) | 15.0.4480.2 · KB5102335 | Microsoft (MSRC) |
| Microsoft SQL Server 2019 for x64-based Systems (GDR) | 15.0.2180.2 · KB5102336 | Microsoft (MSRC) |
| Microsoft SQL Server 2022 for x64-based Systems (CU 25) | 16.0.4262.2 · KB5101347 | Microsoft (MSRC) |
| Microsoft SQL Server 2022 for x64-based Systems (GDR) | 16.0.1190.2 · KB5102334 | Microsoft (MSRC) |
| Microsoft SQL Server 2025 for x64-based Systems (CU6) | 17.0.4060.2 · KB5101346 | Microsoft (MSRC) |
| Microsoft SQL Server 2025 for x64-based Systems (GDR) | 17.0.1125.2 · KB5102333 | Microsoft (MSRC) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2026-472950 days apartMicrosoft SQL Server Elevation of Privilege Vulnerability35Monitor
- CVE-2026-26116126 days apartSQL Server Elevation of Privilege Vulnerability35Monitor
- CVE-2025-59499245 days apartMicrosoft SQL Server Elevation of Privilege Vulnerability35Monitor
- CVE-2025-49759336 days apartMicrosoft SQL Server Elevation of Privilege Vulnerability35Monitor
- CVE-2025-53727336 days apartMicrosoft SQL Server Elevation of Privilege Vulnerability35Monitor
- CVE-2026-3216791 days apartSQL Server Elevation of Privilege Vulnerability31Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- A low-privileged account is enough.
- No user action is required.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Root cause
The query text is built by concatenating user input. The database cannot tell where the data ends and the command begins.
The bug in code
The whole CWE-89 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const owner = req.query.owner;const rows = await db.query( "SELECT * FROM files WHERE owner = '" + owner + "'");Fixed
const owner = req.query.owner;const rows = await db.query( "SELECT * FROM files WHERE owner = $1", [owner]);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Object Relational Mapping InjectionCAPEC-109likelihood: Low · High
- SQL Injection through SOAP Parameter TamperingCAPEC-110likelihood: High · Very High
- Expanding Control over the Operating System from the DatabaseCAPEC-470Very High
- SQL InjectionCAPEC-66likelihood: High · High
- Blind SQL InjectionCAPEC-7likelihood: High · High
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Vendor advisories and official records. Exploit/PoC links are deliberately left out.