Skip to content
Access control Advisory Intermediate CVE-2026-66814

Microsoft SQL Server Elevation of Privilege Vulnerability (CVE-2026-66814)

SQL Server's access control was not granular enough, so an authenticated user with explicit permissions could raise their own rights to sysadmin. The attacker only needed to log in to the server to do this over the network.

Ola Hallengren Follow

Originally disclosed on Microsoft

High 8.8 View original

Description

Insufficient granularity of access control in SQL Server allows an authorized attacker to elevate privileges over a network.

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.

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.

SQL Server

SQL Server

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Ola Hallengren with Saxo Bank. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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 the permission checks were too coarse, so a user holding certain explicit permissions could reach administrative actions that should have required sysadmin rights.

Impact

An authenticated user with explicit permissions could gain full sysadmin control of the SQL Server instance.

What the attacker needed

A valid SQL Server login; explicit permissions on the server; network access to 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 it has different levels of permission, like a building with different keys for different rooms. This flaw meant someone who already had a key to one room could get the master key instead. They did not need to break in from outside; they just needed a normal login.

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.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.