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

SQL Server Elevation of Privilege Vulnerability (CVE-2026-77487)

An improper access control flaw in SQL Server lets an authenticated user with explicit permissions elevate their privileges to sysadmin. The attacker logs in to the SQL server and gains SQL sysadmin rights.

Fabiano Amorim Follow

Originally disclosed on Microsoft

High 8.8 View original

Description

Improper access control 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

The original report as published on the Microsoft Security Response Center, by Fabiano Amorim with Pythian. 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 an improper access control check in SQL Server that fails to stop an authenticated user with explicit permissions from gaining sysadmin privileges.

Impact

An authenticated attacker with explicit permissions could gain SQL sysadmin privileges, giving full control over the database server.

What the attacker needed

Authenticated SQL Server account; explicit permissions on the server

The fix

Microsoft requires a customer action, but the text does not describe the specific fix.

How it was found

  1. Log in to the SQL server as an authenticated attacker with explicit permissions.
  2. Exploit the vulnerability to elevate privileges to sysadmin.

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. It has different permission levels, and 'sysadmin' is the highest one, giving full control over the database. This flaw means someone who already has a normal account with some permissions can log in and give themselves the top-level rights they should not have.

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 by Fabiano Amorim

View all

12 more disclosed reports, best first.

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.