Microsoft SQL Server Elevation of Privilege Vulnerability (CVE-2026-66818)
SQL Server contains an improper privilege management flaw. An authenticated attacker with explicit permissions could log in and elevate their privileges to sysadmin.
Originally disclosed on Microsoft
Description
Improper privilege management in SQL Server allows an authorized attacker to elevate privileges over a network.
FAQ
What privileges could be gained by an attacker who successfully exploited the vulnerability? An attacker who successfully exploited this vulnerability could gain SQL sysadmin privileges.
FAQ
How could an attacker exploit this vulnerability? An authenticated attacker with explicit permissions could exploit the vulnerability by logging in to the SQL server and could then elevate their privileges to sysadmin.
SQL Server
SQL Server
Microsoft
Microsoft
Customer Action Required
Yes
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely improper privilege management in SQL Server that fails to stop an authenticated user from raising their own permissions.
Impact
An authenticated attacker with explicit permissions could gain SQL sysadmin privileges over the network.
What the attacker needed
Authenticated SQL login; explicit permissions on the server
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
SQL Server is a database program, and a 'sysadmin' is the most powerful account inside it. This flaw lets someone who already has a normal login raise their own permissions to that top level, so they could control the whole database.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.