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

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

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.

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

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 the permission model did not separate some privileged operation from ordinary user permissions, letting an authenticated user reach sysadmin-level functionality.

Impact

An authenticated user with explicit permissions could gain SQL sysadmin privileges over the network.

What the attacker needed

Authenticated SQL Server account; explicit permissions on the server; network access to the SQL server

How it was found

  1. Log in to the SQL server as an authenticated user with explicit permissions.
  2. Use the insufficient access control 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, and 'sysadmin' is its most powerful built-in role, able to do almost anything on the server. The flaw meant a user who had been given some limited permissions could log in and end up with those top-level rights instead. The text does not explain the exact mechanism, only that the permission checks were not fine-grained enough.

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.