Skip to main content
Mallory
← Back to News
privilege-escalation-methodwidely-deployed-product-advisoryinternet-facing-service-vulnerability

SQL Server Privilege Escalation Flaw Lets Authorized Users Gain Sysadmin

Attack Tradecraft · 4 sources · Updated 2mo ago · First seen Sep 11, 2026

SQL Server Privilege Escalation Flaw Lets Authorized Users Gain Sysadmin

Microsoft disclosed CVE-2026-77487, an SQL Server improper-access-control vulnerability with a CVSS 3.1 base score of 8.8. An authenticated attacker who already has explicit SQL Server permissions can connect over the network and elevate privileges to the sysadmin role, potentially affecting confidentiality, integrity, and availability. Microsoft reported no known public disclosure or active exploitation and assessed exploitation as less likely.

Microsoft has issued fixes through SQL Server servicing releases, including the SQL Server 2017 CU31 GDR security update (KB5122774). Organizations should promptly apply the current GDR/CU package for each supported SQL Server deployment, prioritize instances where non-administrative users have network access, and review SQL permissions to limit unnecessary authenticated access. SQL Server 2017 CU31 and SQL Server 2019 CU32 are their final cumulative updates; those versions will continue receiving applicable security and GDR fixes under lifecycle and extended-support terms.

Who uses this technique?Get the actors, campaigns, and ATT&CK mapping behind it.
Get the tradecraft
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

2 events
  1. Reported Sep 8, 20262mo ago

    Microsoft documents SQL Server elevation-of-privilege vulnerability

    Microsoft documented CVE-2026-77487, an improper-access-control flaw that allows an authenticated user with explicit SQL Server permissions to elevate privileges to SQL sysadmin over the network. Microsoft rated it CVSS 8.8, stated that an official fix was available, and reported no known public disclosure or in-the-wild exploitation at original publication.

    CVE-2026-77487 - Security Update Guide - Microsoft - SQL Server Elevation of Privilege Vulnerability
  2. Reported Aug 9, 20263mo ago

    Microsoft releases SQL Server Linux GDR updates

    Microsoft released SQL Server 2025 CU 8 GDR (KB5122769), SQL Server 2022 CU 26 GDR (KB5122768), SQL Server 2019 CU 32 GDR (KB5122772), and SQL Server 2017 CU 31 GDR (KB5122774) for Linux. The 2019 and 2017 releases were designated the final cumulative updates for those respective versions.

    Download Security Update for SQL Server 2017 RTM CU31 (KB5122774) from Official Microsoft Download Center
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

1 linked
Sql Server
Do you run this?Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
See Who Uses This Technique
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.